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