Set up rss to only display pages from "blog"

This commit is contained in:
Dorian Wood 2021-09-06 08:30:59 -04:00
parent e7eadc9d75
commit 17e232bc01
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@
{{- with .OutputFormats.Get "RSS" -}}
{{ printf "<atom:link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML }}
{{- end -}}
{{ range $pages }}
{{ range where .Site.RegularPages "Section" "blog" }}
<item>
<title>{{ .Title }}</title>
<link>{{ .Permalink }}</link>