Remove excluderss from list pages

This commit is contained in:
Will Faught
2022-12-14 17:56:51 -08:00
parent 588b551e32
commit ca6ab7634b

View File

@@ -2,7 +2,6 @@
{{ if .IsHome }} {{ if .IsHome }}
{{ $item = .Site }} {{ $item = .Site }}
{{ end }} {{ end }}
{{ if not .Params.excluderss }}
{{ $pages := slice }} {{ $pages := slice }}
{{ if or $.IsHome $.IsSection }} {{ if or $.IsHome $.IsSection }}
{{ $pages = $item.RegularPages }} {{ $pages = $item.RegularPages }}
@@ -67,4 +66,3 @@
{{ end }} {{ end }}
</channel> </channel>
</rss> </rss>
{{ end }}