hugo-battheme/layouts/partials/footer.html
2022-04-09 18:00:33 +02:00

13 lines
419 B
HTML

<footer>
<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>