link of logo on subpages leads to index, not to top

lektura
max.mehl 2017-08-29 22:03:52 +02:00
parent 373de27969
commit e632b263b1
2 changed files with 1 additions and 7 deletions

View File

@ -9,7 +9,6 @@
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
{{ with .Site.Params.navigation.brand }}
<a class="page-scroll hiddenlink" href="#page-top">
<div class="logo">
<img src="/img/logo.svg" alt="Logo of the campaign" />
@ -17,8 +16,6 @@
<span class="logo-green">Public Code</span>
</div>
</a>
<!--<a class="navbar-brand page-scroll" href="#page-top">{{ . | markdownify }}</a>-->
{{ end }}
</div>
{{ "<!-- Collect the nav links, forms, and other content for toggling -->" | safeHTML }}
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">

View File

@ -9,16 +9,13 @@
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
{{ with .Site.Params.navigation.brand }}
<a class="page-scroll hiddenlink" href="#page-top">
<a class="hiddenlink" href="/{{ .Lang }}">
<div class="logo">
<img src="/img/logo.svg" alt="Logo of the campaign" />
<span class="logo-blue">Public Money</span>
<span class="logo-green">Public Code</span>
</div>
</a>
<!--<a class="navbar-brand page-scroll" href="#page-top">{{ . | markdownify }}</a>-->
{{ end }}
</div>
{{ "<!-- Collect the nav links, forms, and other content for toggling -->" | safeHTML }}
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">