smol/layouts/partials/header.html
2020-05-27 01:39:35 +02:00

16 lines
452 B
HTML

<header>
{{ strings.Repeat ( .Site.Title | len | add 6 ) "=" }}<br>
== <a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a> ==<br>
{{ strings.Repeat ( .Site.Title | len | add 6 ) "=" }}<br>
<p>
<div style="float: right;">{{ .Site.Params.subtitle }}</div>
<nav>
<a href="/"><b>Start</b></a>.
{{ with .Site.Menus.main }}
{{ range . }}
<a href="{{ .URL | relURL }}"><b>{{ .Name }}</b></a>.
{{ end }}
</nav>
</p>
{{ end }}
</header>