hugo-bearblog/layouts/partials/nav.html

10 lines
286 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" onclick="darkmode()" >
<span>Toggle-Dark-Mode</span>
</a>