Fix rss feed not including writeups

alternate-navbar
Maik de Kruif 3 years ago
parent 1729718b13
commit ee64080cb2
Signed by: maik
GPG Key ID: 44A55AD1F0673FA6
  1. 2
      themes/maik-blog/layouts/rss.xml

@ -24,7 +24,7 @@
{{- end }} {{- end }}
{{- $allContent := slice }} {{- $allContent := slice }}
{{- range .Site.Sections }} {{- range .Site.Sections }}
{{- $allContent = union $allContent .Pages }} {{- $allContent = union $allContent .RegularPagesRecursive }}
{{- end }} {{- end }}
{{- $allContent = sort $allContent "Date" "desc" }} {{- $allContent = sort $allContent "Date" "desc" }}
{{- $allContent = $allContent | first 15 }} {{- $allContent = $allContent | first 15 }}

Loading…
Cancel
Save