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

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