1
Fork 0

Add RSS subscribe link

This commit is contained in:
Jake Howard 2020-05-11 12:29:12 +01:00
parent ff8c6574ed
commit 50021679f4
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -2,9 +2,11 @@
<div id="main">
<div class="container">
{{ partial "content.html" . }}
{{ if .Content }}
<hr />
{{ with .OutputFormats.Get "rss" }}
<p class="float-right"><a href="{{ .Permalink }}"><i class="fas fa-rss"></i> Subscribe</a></p>
{{ end }}
{{ range .Pages.GroupByDate "2006-01" }}
{{ $month := print .Key "-01" }}
{{ if (index .Pages 0).Date.IsZero }}