2020-04-08 20:44:29 +02:00
|
|
|
<header>
|
2020-04-22 12:14:28 +02:00
|
|
|
<div class="main">
|
2024-07-27 08:15:56 +02:00
|
|
|
<a href="{{ absURL "/" }}">{{ .Site.Title }}</a>
|
2020-04-22 12:14:28 +02:00
|
|
|
</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" -}}
|
2022-11-09 21:30:40 +01:00
|
|
|
| <span id="dark-mode-toggle" onclick="toggleTheme()"></span>
|
2024-07-27 08:15:56 +02:00
|
|
|
<script src="{{ absURL "js/themetoggle.js" }}"></script>
|
2021-09-24 19:38:28 +02:00
|
|
|
{{ end }}
|
2020-04-22 12:14:28 +02:00
|
|
|
</nav>
|
|
|
|
</header>
|