Auf der Hauptseite kein RSS-Feed mehr anzeigen, sowie den Footer erweitern bei schmälleren Bildschirm
This commit is contained in:
parent
9219975673
commit
5c1a805896
2 changed files with 4 additions and 3 deletions
|
@ -35,7 +35,6 @@ a {
|
||||||
footer {
|
footer {
|
||||||
display: flex;
|
display: flex;
|
||||||
padding: 0.5rem 3rem;
|
padding: 0.5rem 3rem;
|
||||||
min-height: 4rem;
|
|
||||||
flex-flow: row-reverse;
|
flex-flow: row-reverse;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
|
@ -2,9 +2,11 @@
|
||||||
<nav class="nav justify-content-center navbar-expand-md navbar-dark ">
|
<nav class="nav justify-content-center navbar-expand-md navbar-dark ">
|
||||||
<a class="nav-link" href="{{- index .Site.Params "Imprint" | default "#" -}}">Impressum</a>
|
<a class="nav-link" href="{{- index .Site.Params "Imprint" | default "#" -}}">Impressum</a>
|
||||||
<a class="nav-link" href="{{- index .Site.Params "Privacy" | default "#" -}}">Datenschutz</a>
|
<a class="nav-link" href="{{- index .Site.Params "Privacy" | default "#" -}}">Datenschutz</a>
|
||||||
|
{{ if (not .IsHome) }}
|
||||||
{{ with .OutputFormats.Get "rss" -}}
|
{{ with .OutputFormats.Get "rss" -}}
|
||||||
<a class="nav-link" href="{{- .Permalink | relURL -}}">RSS-Feed</a>
|
<a class="nav-link" href="{{- .Permalink | relURL -}}">RSS-Feed</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
|
|
Loading…
Reference in a new issue