2022-04-02 05:21:00 +00:00
|
|
|
<header id="banner" itemscope itemtype="https://schema.org/WPHeader">
|
2022-04-18 15:56:22 +00:00
|
|
|
<a href="#content" class="skip">Skip to content</a>
|
2022-04-02 05:21:00 +00:00
|
|
|
<nav aria-label="Main navigation">
|
|
|
|
<ul class="unstyled-list">
|
|
|
|
{{- $currentPage := . -}}
|
|
|
|
<li itemscope itemtype="https://schema.org/SiteNavigationElement">
|
|
|
|
<a rel="home" itemprop="url" href="{{ .Site.BaseURL }}"{{- if eq $currentPage.Permalink .Site.BaseURL -}} aria-current="page"{{- end -}}><span itemprop="name">{{ .Site.Title }}</span></a>
|
|
|
|
</li>
|
|
|
|
{{ range .Site.Menus.main -}}
|
|
|
|
<li itemscope itemtype="https://schema.org/SiteNavigationElement">
|
|
|
|
<a href="{{ .URL }}" itemprop="url" {{- if or (eq $currentPage.RelPermalink .URL) ($currentPage.HasMenuCurrent "main" .) -}} aria-current="page"{{- end -}}>
|
|
|
|
<span itemprop="name">{{- .Name -}}</span></a>
|
|
|
|
</li>
|
|
|
|
{{- end }}
|
|
|
|
</ul>
|
|
|
|
</nav>
|
|
|
|
</header>
|