hugo-theme-more-contentful/layouts/partials/header.html

16 lines
440 B
HTML
Raw Permalink Normal View History

2023-02-24 13:03:23 +00:00
<header aria-label="Site header">
<nav class="site__nav-header">
<a class="site__title" href="{{ "" | relLangURL }}">{{ $.Site.Title }}</a>
<ul class="site__list">
2023-02-24 12:22:52 +00:00
{{ with $.Site.Menus.main }}
{{ range . -}}
<li>
<a href="{{ .URL | relLangURL }}">{{- .Name -}}</a>
</li>
2023-02-24 12:22:52 +00:00
{{ end }}
2020-11-05 05:54:38 +00:00
{{ end }}
</ul>
2023-02-24 12:22:52 +00:00
</nav>
{{- partial "components/theme-button.html" . }}
2023-02-24 13:03:23 +00:00
</header>