forked from data.coop/website
Mergee
This commit is contained in:
commit
ff950c95ee
|
@ -1,16 +1,16 @@
|
|||
<nav>
|
||||
<ol>
|
||||
{{ $currentPage := . }}
|
||||
{{ range .Site.Menus.nav }}
|
||||
<li><a href="{{ .URL }}" class="{{ if $currentPage.IsMenuCurrent "nav" . }}active{{ end }}">{{ .Name }}</a></li>
|
||||
{{ end }}
|
||||
{{ $currentPage := . }}
|
||||
{{ range .Site.Menus.nav }}
|
||||
<li><a href="{{ .URL }}"{{ if (eq $currentPage.URL .URL) }} class="active"{{ end }}>{{ .Name }}</a></li>
|
||||
{{ end }}
|
||||
</ol>
|
||||
|
||||
<footer>
|
||||
<ol>
|
||||
{{ range $.Site.Home.AllTranslations }}
|
||||
<li><a href="{{ .Permalink }}">{{ .Language.LanguageName }}</a></li>
|
||||
{{ end }}
|
||||
{{ range $.Site.Home.AllTranslations }}
|
||||
<li><a href="{{ .Permalink }}">{{ .Language.LanguageName }}</a></li>
|
||||
{{ end }}
|
||||
</ol>
|
||||
</footer>
|
||||
</nav>
|
||||
|
|
Loading…
Reference in a new issue