Browse Source

trying to fix rss feed

master
jk 4 years ago
parent
commit
02d6a207f0
  1. 4
      layouts/_default/rss.xml

4
layouts/_default/rss.xml

@ -12,7 +12,7 @@
{{ with .OutputFormats.Get "RSS" }}
{{ printf "<atom:link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML }}
{{ end }}
{{ if eq (trim .Permalink "index.xml") (string .Site.BaseURL)}}
{{ range .Pages}}
<item>
<title>{{ .Title }}</title>
@ -35,6 +35,6 @@
{{ end }}
</description>
</item>
{{ end }}{{ end }}
{{ end }}
</channel>
</rss>