mirror of
https://git.kittycat.homes/zoe/hugo-battheme.git
synced 2024-08-15 03:25:18 +00:00
14 lines
479 B
HTML
14 lines
479 B
HTML
<footer class="colorswitch">
|
|
<div id="footer-center">
|
|
<nav id="footer-nav">
|
|
{{ $currentPage := . }}
|
|
{{ range .Site.Menus.nav }}
|
|
<a class="footer-nav-item{{if or ($currentPage.IsMenuCurrent "nav" .) ($currentPage.HasMenuCurrent "nav" .) }} active{{end}}" href="{{ .URL }}" title="{{ .Title }}">{{ .Name }}</a>
|
|
{{ end }}
|
|
</nav>
|
|
</div>
|
|
<div id="footer-right">
|
|
<input type="checkbox" id="darkmode-toggle">
|
|
</div>
|
|
</footer>
|
|
<script src="/js/darkmode.js"></script>
|