From 6823c79cf49304f0a43aff9e08668883c0ada62d Mon Sep 17 00:00:00 2001 From: jk Date: Wed, 10 Mar 2021 10:46:38 +0000 Subject: [PATCH] trying to fix rss feed --- layouts/_default/rss.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml index 910207cd..1c9c27ef 100644 --- a/layouts/_default/rss.xml +++ b/layouts/_default/rss.xml @@ -9,6 +9,7 @@ {{- $limit := .Site.Config.Services.RSS.Limit -}} {{- if ge $limit 1 -}} {{- $pages = $pages | first $limit -}} +{{- end -}} {{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }}