From 02d6a207f0ace566edc7686e73d38ba44a3e5023 Mon Sep 17 00:00:00 2001 From: jk Date: Wed, 10 Mar 2021 10:38:40 +0000 Subject: [PATCH] trying to fix rss feed --- layouts/_default/rss.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml index 70f290fd..929146f7 100644 --- a/layouts/_default/rss.xml +++ b/layouts/_default/rss.xml @@ -12,7 +12,7 @@ {{ with .OutputFormats.Get "RSS" }} {{ printf "" .Permalink .MediaType | safeHTML }} {{ end }} - + {{ if eq (trim .Permalink "index.xml") (string .Site.BaseURL)}} {{ range .Pages}} {{ .Title }} @@ -35,6 +35,6 @@ {{ end }} - {{ end }}{{ end }} + {{ end }}