Squashed: fix atom feed url
All checks were successful
the build was successful

This commit is contained in:
Robert Kaussow 2018-12-20 00:26:00 +01:00
parent 9f966abc32
commit 5fdac9195c
2 changed files with 5 additions and 7 deletions

View File

@ -1,2 +1,3 @@
public/
node_modules
package-lock.json

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>