1
0
Fork 0
forked from reudnetz/website
This commit is contained in:
Paul Spooren 2017-03-03 22:31:43 +01:00
parent 165063f360
commit 92ba3da5ef

View file

@ -27,15 +27,14 @@
<div class="row nav">
<div class="fg12">
<ul>
{{ $baseUrl := .Site.BaseURL }}
{{ $baseUrl := .Site.BaseURL }}
{{ $url := .Permalink }}
{{ with .Site.Params.mainMenu }}
{{ range $menu := . }}
{{ $itemUrl := printf "%s/%s" $baseUrl $menu.link }}
<li {{ if eq $url $itemUrl }}class="active"{{ end }}><a href="{{ $baseUrl }}/{{ $menu.link }}">{{ $menu.name }}</a></li>
{{ end }}
{{ end }}
{{ with .Site.Params.mainMenu }}
{{ range $menu := . }}
{{ $itemUrl := printf "%s/%s" $baseUrl $menu.link }}
<li {{ if eq $url $itemUrl }}class="active"{{ end }}><a href="{{ $baseUrl }}/{{ $menu.link }}">{{ $menu.name }}</a></li>
{{ end }}
{{ end }}
</ul>
</div>
</div>
@ -47,7 +46,7 @@
<h3>Kontakt</h3>
<p>
mail [at] reudnetz [dot] org<br />
GPG-Key: <a href="files/0x1D7AE62C.asc">0x1D7AE62C</a>
GPG-Key: <a href="{{.Site.BaseURL}}/files/0x1D7AE62C.asc">0x1D7AE62C</a>
</p>
<div class="margin" >
Fingerprint: <br />
@ -60,7 +59,7 @@
</div>
<div class="row fg-no-desktop">
<div class="fg12 legal">
<a href="impressum">Impressum</a> | <a href="datenschutz.html">Datenschutzhinweis</a>
<a href="{{.Site.BaseURL}}/impressum">Impressum</a> | <a href="{{.Site.BaseURL}}/datenschutz">Datenschutzhinweis</a>
</div>
</div>
</div>