We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b2f680 commit 87a8fc7Copy full SHA for 87a8fc7
modules/blox/layouts/rss.xml
@@ -2,6 +2,7 @@
2
{{- /* Upstream Hugo bug - RSS dates can be in future: https://github.com/gohugoio/hugo/issues/3918 */ -}}
3
{{- $page_context := cond .IsHome site . -}}
4
{{- $pages := $page_context.RegularPages -}}
5
+{{- $pages = where $pages "Params.private" "!=" true -}}
6
{{- $limit := site.Config.Services.RSS.Limit -}}
7
{{- if ge $limit 1 -}}
8
{{- $pages = $pages | first $limit -}}
0 commit comments