archie-shades-of-purple/layouts/partials/head.html

15 lines
385 B
HTML
Raw Normal View History

2020-04-08 20:44:29 +02:00
<header>
2020-04-22 12:14:28 +02:00
<div class="main">
<a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a>
</div>
<nav>
{{ range .Site.Menus.main }}
<a href="{{ .URL }}">{{ .Name }}</a>
{{ end }}
2021-09-24 19:38:28 +02:00
{{ if eq .Site.Params.mode "toggle" -}}
| <span id="dark-mode-toggle" onclick="toggleTheme()"></span>
2021-09-24 19:38:28 +02:00
<script src="{{ .Site.BaseURL }}js/themetoggle.js"></script>
{{ end }}
2020-04-22 12:14:28 +02:00
</nav>
</header>