Set up rss to only display pages from "blog"
This commit is contained in:
parent
e7eadc9d75
commit
17e232bc01
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue