website_rasmus/themes/datacoop2020/layouts/partials/nav.html

17 lines
425 B
HTML
Raw Normal View History

<nav>
<ol>
2022-11-11 23:17:57 +00:00
{{ $currentPage := . }}
{{ range .Site.Menus.nav }}
2022-11-11 23:17:57 +00:00
<li><a href="{{ .URL }}"{{ if (eq $currentPage.URL .URL) }} class="active"{{ end }}>{{ .Name }}</a></li>
{{ end }}
</ol>
<footer>
<ol>
2022-11-11 23:17:57 +00:00
{{ range $.Site.Home.AllTranslations }}
<li><a href="{{ .Permalink }}">{{ .Language.LanguageName }}</a></li>
2022-11-11 23:17:57 +00:00
{{ end }}
</ol>
</footer>
</nav>