smol/layouts/partials/header.html

17 lines
517 B
HTML
Raw Normal View History

<header>
{{ strings.Repeat ( .Site.Title | len | add 4 ) "=" }}<br>
= <a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a> =<br>
{{ strings.Repeat ( .Site.Title | len | add 4 ) "=" }}
2020-05-28 09:43:37 +00:00
<div style="float: right;">{{ .Site.Params.subtitle }}</div><br>
2020-05-26 01:04:43 +00:00
<p>
<nav>
2020-11-25 00:08:29 +00:00
<a href="/"><b>Home</b></a> .
2020-05-26 15:20:18 +00:00
{{ with .Site.Menus.main }}
2020-11-25 00:08:29 +00:00
{{ range $i, $e := . }}
<a href="{{ $e.URL | relURL }}"><b>{{ $e.Name }}</b></a>{{ if ne (len .Site.Menus.main) $i }} . {{ end }}
{{ end }}
{{ end }}
</nav>
2020-05-26 01:04:43 +00:00
</p>
</header>