From cc8b55caa1d809c04727394df175a7d016d9f87e Mon Sep 17 00:00:00 2001 From: Julien WITTOUCK Date: Thu, 9 Apr 2026 15:54:39 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20:=20exclude=20archive=20pages=20fro?= =?UTF-8?q?m=20rss=20feed?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- layouts/rss.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/layouts/rss.xml b/layouts/rss.xml index e3c549c..fdb5c16 100644 --- a/layouts/rss.xml +++ b/layouts/rss.xml @@ -26,6 +26,8 @@ {{- else }} {{- $pages = $pctx.Pages }} {{- end }} +{{- /* Exclure les pages dans now/archive du flux RSS */ -}} +{{- $pages = where $pages "RelPermalink" "not" "match" "^/now/archive/" -}} {{- $limit := .Site.Config.Services.RSS.Limit }} {{- if ge $limit 1 }} {{- $pages = $pages | first $limit }} -- 2.51.2