Source code of my website
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

✨ : refactor rss feed exclusion logic to use type instead of permalink

+4 -1
+1
content/now/_index.md
··· 2 2 date: "2026-02-19" 3 3 language: fr 4 4 title: "now (Février 2026)" 5 + type: now 5 6 --- 6 7 7 8 > Ce que je fais en ce moment, inspiré par [nownownow.com](https://nownownow.com/about)
+1
content/now/archive/_index.md
··· 1 1 --- 2 2 title: "archive" 3 + type: now 3 4 ---
+1
content/now/archive/december-2025/index.md
··· 2 2 date: "2025-12-09" 3 3 language: fr 4 4 title: "now (Decembre 2025)" 5 + type: now 5 6 --- 6 7 7 8 > Ce que je fais en ce moment, inspiré par [nownownow.com](https://nownownow.com/about)
+1 -1
layouts/rss.xml
··· 27 27 {{- $pages = $pctx.Pages }} 28 28 {{- end }} 29 29 {{- /* Exclure les pages dans now/archive du flux RSS */ -}} 30 - {{- $pages = where $pages "RelPermalink" "not" "match" "^/now/archive/" -}} 30 + {{- $pages = where $pages "Type" "ne" "now" -}} 31 31 {{- $limit := .Site.Config.Services.RSS.Limit }} 32 32 {{- if ge $limit 1 }} 33 33 {{- $pages = $pages | first $limit }}