Auf der Hauptseite kein RSS-Feed mehr anzeigen, sowie den Footer erweitern bei schmälleren Bildschirm

This commit is contained in:
mdn 2023-01-16 23:57:37 +01:00
parent 9219975673
commit 5c1a805896
2 changed files with 4 additions and 3 deletions

View file

@ -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;

View file

@ -2,8 +2,10 @@
<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>
{{ with .OutputFormats.Get "rss" -}} {{ if (not .IsHome) }}
<a class="nav-link" href="{{- .Permalink | relURL -}}">RSS-Feed</a> {{ with .OutputFormats.Get "rss" -}}
<a class="nav-link" href="{{- .Permalink | relURL -}}">RSS-Feed</a>
{{ end }}
{{ end }} {{ end }}
</nav> </nav>