only show posts in rss
This commit is contained in:
parent
d267c54035
commit
a7857b4a31
1 changed files with 1 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue