hugo-bearblog/layouts/partials/nav.html

10 lines
264 B
HTML

<a href="{{ "" | relURL }}">Home</a>
{{ range .Site.Menus.main }}
<a href="{{ .URL }}">{{ .Name }}</a>
{{ end }}
{{ with .Site.GetPage "/blog" }}
<a href="{{ "blog" | relURL }}">Blog</a>
{{ end }}
<a id="dark-mode-button">
<span>Toggle-Dark-Mode</span>
</a>