smol/layouts/partials/header.html

12 lines
230 B
HTML

<header>
<a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a>
{{ with .Site.Menus.main }}
<nav>
<ul>
{{ range . }}
<li><a href="{{ .URL | relURL }}">{{ .Name }}</a></li>
{{ end }}
</ul>
</nav>
{{ end }}
</header>