hugo-theme-paradox/layouts/partials/nav-footer.html

15 lines
396 B
HTML
Raw Permalink Normal View History

2022-10-14 08:36:35 +00:00
<nav class="footer-nav">
<ul class="menu">
{{ $currentPage := . }}
{{ range .Site.Menus.footer }}
<li
2022-10-17 14:46:58 +00:00
class='{{ .Identifier }}{{ if or ($currentPage.IsMenuCurrent "footer" .) (eq $currentPage.Section .Identifier) }} active{{ end }}'>
2022-10-16 22:15:34 +00:00
<a href="{{ .URL | relLangURL }}">
2022-10-14 08:36:35 +00:00
{{ .Pre }}
<span>{{ .Name }}</span>
{{ .Post }}
</a>
</li>
{{ end }}
</ul>
</nav>