14 lines
440 B
HTML
14 lines
440 B
HTML
<footer>
|
|
<ul>
|
|
{{ $current := . }}
|
|
{{ range .Site.Menus.footer.ByWeight }}
|
|
{{ $active := or ($current.IsMenuCurrent "footer" .) ($current.HasMenuCurrent "footer" .) }}
|
|
{{ $active = or $active (eq .Name $current.Title) }}
|
|
|
|
<li>
|
|
<a class="{{if $active}}active{{end}}" href="{{ .URL | relLangURL }}">{{ .Name }}</a>
|
|
</li>
|
|
{{ end }}
|
|
</ul>
|
|
</footer>
|