mirror of
https://github.com/trwnh/hugo-theme-paradox.git
synced 2024-11-14 15:31:21 +00:00
15 lines
396 B
HTML
15 lines
396 B
HTML
<nav class="footer-nav">
|
|
<ul class="menu">
|
|
{{ $currentPage := . }}
|
|
{{ range .Site.Menus.footer }}
|
|
<li
|
|
class='{{ .Identifier }}{{ 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> |