1
0
mirror of https://github.com/alanorth/hugo-theme-bootstrap4-blog.git synced 2025-07-03 21:03:27 +02:00

use cookie consent version 3

This commit is contained in:
Frank Tegtmeyer
2016-11-09 13:28:49 +01:00
parent ae441647a8
commit 0a11ce6c40
3 changed files with 21 additions and 8 deletions

View File

@ -28,7 +28,7 @@
<div class="container">
<nav class="nav blog-nav">
<a class="nav-link {{ if .IsHome }}active{{ end }}" href="{{ .Site.BaseURL | absLangURL }}">{{ i18n "home" }}</a>
{{ range where .Site.Pages "Type" "==" "page" }}
{{ range where .Site.Pages "Type" "!=" "post" }}
<a class="nav-link" href="{{ .Permalink }}">{{ .Title }}</a>
{{ end }}
</nav>