use static atom feed url

This commit is contained in:
Robert Kaussow 2018-12-20 00:08:25 +01:00
parent fee9623e24
commit 5fd8815d35

View File

@ -1,12 +1,9 @@
<footer class="site-footer">
{{ .Site.RSSLink }}
<div class="site-footer__block">
{{ with .OutputFormats.Get "atom" -}}
<span class="site-footer__button">
<i class="fas fa-rss"></i>
<a class="site-footer__link" href="{{ .Permalink }}">Feed</a>
</span>
{{ end }}
<span class="site-footer__button">
<i class="fas fa-rss"></i>
<a class="site-footer__link" href='{{ "feed.atom.xml" | relURL }}'>Feed</a>
</span>
<span class="site-footer__button">
<i class="fas fa-envelope"></i>
<a class="site-footer__link" href='{{ "contact" | relURL }}'>Kontakt</a>