hugo-battheme/layouts/partials/footer.html

15 lines
491 B
HTML
Raw Normal View History

<footer class="colorswitch">
2022-04-09 16:00:33 +00:00
<div id="footer-center">
<nav id="footer-nav">
{{ $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>
</div>
<div id="footer-right">
<input type="checkbox" id="darkmode-toggle">
</div>
</footer>
2022-04-09 19:42:12 +00:00
<script src="/js/darkmode.js"></script>