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 node_modules
package-lock.json package-lock.json

View File

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