add links to subitems on start in subpage's navbar too

lektura
max.mehl 2017-09-06 17:01:47 +02:00
parent 115eabba5d
commit 8aafe07e07
2 changed files with 12 additions and 1 deletions

View File

@ -19,7 +19,6 @@ DefaultContentLanguage = "en"
# Navigation
[params.navigation]
brand = "Public Money, Public Code"
[params.navigation.links]
start = "Start"

View File

@ -23,6 +23,18 @@
<li>
<a href="{{ "/" | relLangURL }}">{{ .Site.Params.navigation.links.start }}</a>
</li>
<li>
<a class="page-scroll" href="{{ "/#about" | relLangURL }}">{{ .Site.Params.navigation.links.about }}</a>
</li>
<li>
<a class="page-scroll" href="{{ "/#arguments" | relLangURL }}">{{ .Site.Params.navigation.links.arguments }}</a>
</li>
<li>
<a class="page-scroll" href="{{ "/#action" | relLangURL }}">{{ .Site.Params.navigation.links.action }}</a>
</li>
<li>
<a class="page-scroll" href="{{ "/#spread" | relLangURL }}">{{ .Site.Params.navigation.links.spread }}</a>
</li>
<li>
<a class="page-scroll" href="#language" title="Change Language"><i class="fa fa-globe" aria-hidden="true" style="font-size:1.5em;vertical-align:top;"></i> {{ .Site.Params.navigation.links.language }}</a>
</li>