small fixes

This commit is contained in:
Robert Kaussow 2018-10-11 17:14:19 +02:00
parent 60beb1dbdf
commit a6ee815b48
3 changed files with 5 additions and 4 deletions

View File

@ -19,7 +19,7 @@
<li><a class="site-nav__button {{- if eq $currentPage (printf "%s" .Site.BaseURL) }} is-active {{- end }}" href="{{ .Site.BaseURL }}">Blog</a></li>
{{ range $name, $taxonomy := .Site.Taxonomies.categories }}
{{ with $.Site.GetPage (printf "/categories/%s" $name) }}
<li><a class="site-nav__button {{ if eq $currentPage .Permalink }} is-active {{ end }}" href="{{ .Permalink }}">{{ $name }}</a></li>
<li><a class="site-nav__button {{ if eq $currentPage .Permalink }} is-active {{ end }}" href="{{ .Permalink }}">{{ .Title }}</a></li>
{{ end }}
{{ end }}
</ul>

View File

@ -9,11 +9,11 @@
{{ end }}
<span class="site-footer__button">
<i class="fas fa-envelope"></i>
<a class="site-footer__link" href="#">Kontakt</a>
<a class="site-footer__link" href='{{ "contact" | relURL }}'>Kontakt</a>
</span>
<span class="site-footer__button">
<i class="fas fa-user-lock"></i>
<a class="site-footer__link" href="#">Impressum/Datenschutz</a>
<a class="site-footer__link" href='{{ "legal-notice" | relURL }}'>Impressum/Datenschutz</a>
</span>
<span>
Artikel unter

View File

@ -128,7 +128,8 @@ html{
.post {
word-wrap: break-word;
border-top:1px dashed #959595;
margin: 1.5em 2em;
margin: 0 2em;
padding: 1.5em 0;
}
.post:first-child{
border:0;