only show posts in rss

This commit is contained in:
Salar Rahmanian 2023-02-04 09:33:03 -08:00
parent d267c54035
commit a7857b4a31

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.Pages ".Section" "post") }}
<item>
<title>{{ .Title }}</title>
<link>{{ .Permalink }}</link>