smol/layouts/partials/header.html

16 lines
441 B
HTML

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