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 }}