From ee64080cb2922d1c069a4b947fcde3ed94b03859 Mon Sep 17 00:00:00 2001 From: Maik de Kruif Date: Tue, 30 Nov 2021 23:36:53 +0100 Subject: [PATCH] Fix rss feed not including writeups --- themes/maik-blog/layouts/rss.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/maik-blog/layouts/rss.xml b/themes/maik-blog/layouts/rss.xml index 84e2427..53ce01a 100644 --- a/themes/maik-blog/layouts/rss.xml +++ b/themes/maik-blog/layouts/rss.xml @@ -24,7 +24,7 @@ {{- end }} {{- $allContent := slice }} {{- range .Site.Sections }} - {{- $allContent = union $allContent .Pages }} + {{- $allContent = union $allContent .RegularPagesRecursive }} {{- end }} {{- $allContent = sort $allContent "Date" "desc" }} {{- $allContent = $allContent | first 15 }}