smol/layouts/partials/header.html

17 lines
452 B
HTML
Raw Normal View History

<header>
2020-05-26 23:39:35 +00:00
{{ strings.Repeat ( .Site.Title | len | add 6 ) "=" }}<br>
2020-05-26 01:04:43 +00:00
== <a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a> ==<br>
2020-05-26 23:39:35 +00:00
{{ strings.Repeat ( .Site.Title | len | add 6 ) "=" }}<br>
2020-05-26 01:04:43 +00:00
<p>
2020-05-26 15:20:18 +00:00
<div style="float: right;">{{ .Site.Params.subtitle }}</div>
<nav>
2020-05-26 15:20:18 +00:00
<a href="/"><b>Start</b></a>.
{{ with .Site.Menus.main }}
{{ range . }}
2020-05-26 01:04:43 +00:00
<a href="{{ .URL | relURL }}"><b>{{ .Name }}</b></a>.
{{ end }}
</nav>
2020-05-26 01:04:43 +00:00
</p>
{{ end }}
</header>