From 5656cf1743259669b6f9a411e19b989d36bd5e78 Mon Sep 17 00:00:00 2001 From: Greg Gauthier Date: Tue, 4 Jan 2022 19:38:03 +0000 Subject: [PATCH] do not include contact and about page in general feed --- layouts/_default/rss.xml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml index 31ce2b3..f0d456b 100644 --- a/layouts/_default/rss.xml +++ b/layouts/_default/rss.xml @@ -34,6 +34,8 @@ {{ printf "" .Permalink .MediaType | safeHTML }} {{- end -}} {{ range $pages }} + {{ if or (eq .Title "About") (eq .Title "Contact") }} + {{else}} {{ .Title }} {{ .Permalink }} @@ -43,7 +45,7 @@ {{ if isset .Params "enclosure" }} {{ $cdnUrl := .Site.Params.podcastCdnUrl }} - {{ .Params.series }} + Podcast: {{.Params.series }} {{` {{ else }} - {{ if isset .Params "topic" }}Reading: {{ .Params.topic }}{{ end }} + {{ if isset .Params "topic" }}Reading: {{ .Params.topic }} + {{else}} + Blog: {{.Params.topics }} + {{ end }} {{ if isset .Params "image" }} {{ $cdnUrl := .Site.Params.blogCdnUrl }} {{ with .Params.image }}{{ end }} @@ -75,6 +80,7 @@ {{ end }} + {{ end }} {{ end }} \ No newline at end of file