smol/layouts/partials/header.html

17 lines
526 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 (sub (len $.Site.Menus.main) 1) $i }} . {{ end }}
2020-11-25 00:08:29 +00:00
{{ end }}
{{ end }}
</nav>
2020-05-26 01:04:43 +00:00
</p>
</header>