hugo-battheme/layouts/partials/footer.html

14 lines
419 B
HTML
Raw Normal View History

2022-04-09 16:00:33 +00:00
<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>