Browse Source

trying to fix rss feed

master
jk 4 years ago
parent
commit
6823c79cf4
  1. 1
      layouts/_default/rss.xml

1
layouts/_default/rss.xml

@ -9,6 +9,7 @@
{{- $limit := .Site.Config.Services.RSS.Limit -}}
{{- if ge $limit 1 -}}
{{- $pages = $pages | first $limit -}}
{{- end -}}
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }}</title>