Remove excluderss from list pages
This commit is contained in:
@@ -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 }}
|
|
||||||
|
Reference in New Issue
Block a user