mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-23 21:02:09 +00:00
08de786bbc
Outside the blogposting, add addl. structured data for the surrounding site: the license, copyright holder, navigation items, source code link, etc.
14 lines
600 B
HTML
14 lines
600 B
HTML
<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>
|