hugo-theme-paradox/layouts/partials/nav-footer.html
2022-10-16 17:15:34 -05:00

15 lines
378 B
HTML

<nav class="footer-nav">
<ul class="menu">
{{ $currentPage := . }}
{{ range .Site.Menus.footer }}
<li
class='{{ if or ($currentPage.IsMenuCurrent "footer" .) (eq $currentPage.Section .Identifier) }}active{{ end }}'>
<a href="{{ .URL | relLangURL }}">
{{ .Pre }}
<span>{{ .Name }}</span>
{{ .Post }}
</a>
</li>
{{ end }}
</ul>
</nav>