19 lines
499 B
HTML
19 lines
499 B
HTML
<nav>
|
|
<ol>
|
|
{{ $currentPage := . }}
|
|
{{ range .Site.Menus.nav }}
|
|
{{ $atURL := absURL $currentPage.URL }}
|
|
{{ $compURL := absURL .URL }}
|
|
<li><a href="{{ .URL }}"{{ if (eq $atURL $compURL) }} class="active"{{ end }}>{{ .Name }}</a></li>
|
|
{{ end }}
|
|
</ol>
|
|
|
|
<footer>
|
|
<ol>
|
|
{{ range $.Site.Home.AllTranslations }}
|
|
<li><a href="{{ .Permalink }}">{{ .Language.LanguageName }}</a></li>
|
|
{{ end }}
|
|
</ol>
|
|
</footer>
|
|
</nav>
|