From 50021679f412487bc4eeb0b046f6a07df0a43ee5 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Mon, 11 May 2020 12:29:12 +0100 Subject: [PATCH] Add RSS subscribe link --- layouts/posts/list.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/layouts/posts/list.html b/layouts/posts/list.html index 44cd95d..5a2b620 100644 --- a/layouts/posts/list.html +++ b/layouts/posts/list.html @@ -2,9 +2,11 @@
{{ partial "content.html" . }} - {{ if .Content }} -
+ + {{ with .OutputFormats.Get "rss" }} +

Subscribe

{{ end }} + {{ range .Pages.GroupByDate "2006-01" }} {{ $month := print .Key "-01" }} {{ if (index .Pages 0).Date.IsZero }}