2022-04-09 21:45:40 +00:00
|
|
|
<footer class="colorswitch">
|
2022-04-10 14:55:46 +00:00
|
|
|
<span id="footer-left"></span>
|
|
|
|
<span id="footer-center">
|
|
|
|
<nav id="footer-nav" aria-label="navigation">
|
2022-04-09 16:00:33 +00:00
|
|
|
{{ $currentPage := . }}
|
|
|
|
{{ range .Site.Menus.nav }}
|
2022-04-09 22:15:21 +00:00
|
|
|
<a class="footer-nav-item{{if or ($currentPage.IsMenuCurrent "nav" .) ($currentPage.HasMenuCurrent "nav" .) }} active{{end}} colorswitch" href="{{ .URL }}" title="{{ .Title }}">{{ .Name }}</a>
|
2022-04-09 16:00:33 +00:00
|
|
|
{{ end }}
|
|
|
|
</nav>
|
2022-04-10 14:55:46 +00:00
|
|
|
</span>
|
|
|
|
<span id="footer-right">
|
2022-04-10 19:57:17 +00:00
|
|
|
<input type="checkbox" id="darkmode-toggle" aria-label="darkmode toggle" class="toggleinput" aria-hidden="true">
|
|
|
|
<label class="togglelabel colorswitch" for="darkmode-toggle" aria-label="darkmode toggle" tabindex=0 role="checkbox"></label>
|
2022-04-10 14:55:46 +00:00
|
|
|
</span>
|
2022-04-09 16:00:33 +00:00
|
|
|
</footer>
|
2022-04-09 19:42:12 +00:00
|
|
|
<script src="/js/darkmode.js"></script>
|