hugo-theme-more-contentful/layouts/partials/header.html
Gabriel Arazas 092df10444
Switch absolute links to relative links
This is to make testing and deploying between different versions easier
such as Netlify deployments.
2023-04-28 00:55:59 +08:00

16 lines
440 B
HTML

<header aria-label="Site header">
<nav class="site__nav-header">
<a class="site__title" href="{{ "" | relLangURL }}">{{ $.Site.Title }}</a>
<ul class="site__list">
{{ with $.Site.Menus.main }}
{{ range . -}}
<li>
<a href="{{ .URL | relLangURL }}">{{- .Name -}}</a>
</li>
{{ end }}
{{ end }}
</ul>
</nav>
{{- partial "components/theme-button.html" . }}
</header>