mirror of
https://github.com/McShelby/hugo-theme-relearn
synced 2025-05-04 23:46:57 +08:00
rss: fix display of hidden subpages #382
This commit is contained in:
parent
54a44dc69e
commit
b3b0b26d4f
@ -25,7 +25,7 @@
|
||||
{{ printf "<atom:link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML }}
|
||||
{{- end -}}
|
||||
{{- range $pages }}
|
||||
{{- if and .Permalink .Title (or (ne (.Scratch.Get "relearnIsHiddenStem") true) (ne .Site.Params.disableSeoHiddenPages true) ) }}
|
||||
{{- if and .Permalink .Title (or (ne (.Scratch.Get "relearnIsHiddenNode") true) (ne .Site.Params.disableSeoHiddenPages true) ) }}
|
||||
<item>
|
||||
<title>{{ .Title }}</title>
|
||||
<link>{{ .Permalink }}</link>
|
||||
|
Loading…
x
Reference in New Issue
Block a user