From e3359f86901e46ef6f4416077c32d33e93d4bc09 Mon Sep 17 00:00:00 2001 From: Jake Jarvis Date: Wed, 20 Nov 2019 11:38:41 -0500 Subject: [PATCH] fix RSS template regression ...and switch from full content to summaries while figuring out why the AMP shortcodes are being prioritized instead of vanilla HTML --- layouts/rss.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/rss.xml b/layouts/rss.xml index 2eb43c71..29e88081 100644 --- a/layouts/rss.xml +++ b/layouts/rss.xml @@ -12,7 +12,7 @@ {{ with .OutputFormats.Get "RSS" }} {{- printf "" .Permalink .MediaType | safeHTML -}} {{ end }} - {{ range first 15 (where .Data.Pages "Section" "notes") }} + {{ range (where .Site.RegularPages "Section" "notes") }} {{ .Title }} {{ .Permalink }} @@ -20,7 +20,7 @@ {{ with .Site.Author.email }}{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}} {{ .Permalink }} - {{ .Content | html }} + {{ .Summary | html }} {{ end }}