1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-12-30 20:02:09 +00:00
seirdy.one/layouts/partials/header.html

15 lines
600 B
HTML
Raw Normal View History

<header id="banner" itemscope itemtype="https://schema.org/WPHeader">
<nav>
<ul class="unstyled-list">
<li itemscope itemtype="https://schema.org/SiteNavigationElement">
<a rel="home" itemprop="url" href="{{ .Site.BaseURL }}"><span itemprop="name">{{ .Site.Title }}</span></a>
</li>
{{ range .Site.Menus.main.ByWeight -}}
<li itemscope itemtype="https://schema.org/SiteNavigationElement">
{{ .Pre }}<a href="{{ .URL }}" itemprop="url" title="{{ .Title }}"><span itemprop="name">{{- .Name -}}</span></a>{{ .Post }}
</li>
{{- end }}
</ul>
</nav>
</header>