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="row nav">
<div class="fg12"> <div class="fg12">
<ul> <ul>
{{ $baseUrl := .Site.BaseURL }} {{ $baseUrl := .Site.BaseURL }}
{{ $url := .Permalink }} {{ $url := .Permalink }}
{{ with .Site.Params.mainMenu }} {{ with .Site.Params.mainMenu }}
{{ range $menu := . }} {{ range $menu := . }}
{{ $itemUrl := printf "%s/%s" $baseUrl $menu.link }} {{ $itemUrl := printf "%s/%s" $baseUrl $menu.link }}
<li {{ if eq $url $itemUrl }}class="active"{{ end }}><a href="{{ $baseUrl }}/{{ $menu.link }}">{{ $menu.name }}</a></li> <li {{ if eq $url $itemUrl }}class="active"{{ end }}><a href="{{ $baseUrl }}/{{ $menu.link }}">{{ $menu.name }}</a></li>
{{ end }} {{ end }}
{{ end }} {{ end }}
</ul> </ul>
</div> </div>
</div> </div>
@ -47,7 +46,7 @@
<h3>Kontakt</h3> <h3>Kontakt</h3>
<p> <p>
mail [at] reudnetz [dot] org<br /> 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> </p>
<div class="margin" > <div class="margin" >
Fingerprint: <br /> Fingerprint: <br />
@ -60,7 +59,7 @@
</div> </div>
<div class="row fg-no-desktop"> <div class="row fg-no-desktop">
<div class="fg12 legal"> <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> </div>
</div> </div>