Skip pages with rss: false in the frontmatter
This commit is contained in:
parent
c3286b77b8
commit
2ec59f5ed7
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@
|
|||
{{- with .OutputFormats.Get "RSS" }}
|
||||
{{ printf "<atom:link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML }}
|
||||
{{- end }}
|
||||
{{- range $pages }}
|
||||
{{- range $pages }}{{ if ne .Params.rss false }}
|
||||
<item>
|
||||
<title>{{ .Title }}</title>
|
||||
<link>{{ .Permalink }}</link>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue