From fc929b774c66df830d70a63596f4603a0c3b9401 Mon Sep 17 00:00:00 2001 From: "roneo.org" Date: Wed, 5 Jan 2022 08:37:02 +0100 Subject: [PATCH] offTheRecord: exclude posts from RSS feeds --- layouts/_default/rss.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml index 134d50d4..9b1585e5 100644 --- a/layouts/_default/rss.xml +++ b/layouts/_default/rss.xml @@ -32,7 +32,7 @@ {{ printf "" .Permalink .MediaType | safeHTML }} {{- end -}} {{ range $pages }} - {{- if and (ne .Layout `search`) (ne .Layout `archives`) }} + {{- if and (ne .Layout `search`) (ne .Params.offTheRecord true) (ne .Layout `archives`) }} {{ .Title }} {{ .Permalink }}