19 lines
514 B
HTML
19 lines
514 B
HTML
<nav>
|
|
<ol>
|
|
{{ $currentPage := . }}
|
|
{{ range .Site.Menus.nav }}
|
|
{{ $atURL := absURL $currentPage.RelPermalink }}
|
|
{{ $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>
|