mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-23 21:02:09 +00:00
070ad7c14d
- No content outside landmarks - Remove bad use of <aside>
17 lines
853 B
HTML
17 lines
853 B
HTML
<header id="banner" itemscope itemtype="https://schema.org/WPHeader">
|
|
<a href="#content" class="skip">Skip to content</a>
|
|
<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>
|