hugo-theme-more-contentful/layouts/partials/header.html
2020-11-05 13:54:38 +08:00

11 lines
308 B
HTML

<nav aria-label="Primary navigation">
<a class="site__title" href="{{ "" | absLangURL }}">{{ $.Site.Title }}</a>
<div class="list site__links">
{{ with $.Site.Menus.main }}
{{ range . -}}
<a href="{{ .URL | absLangURL }}">{{- .Name -}}</a>
{{ end }}
{{ end }}
</div>
</nav>