From 902b9d144f7d74b35d065a709d29ca89375e67e7 Mon Sep 17 00:00:00 2001 From: Greg Gauthier Date: Mon, 3 Jan 2022 21:57:51 +0000 Subject: [PATCH] add full encoded content to the rss feeds for the blog --- layouts/_default/rss.xml | 13 ++++++++++++- layouts/podcast/rss.xml | 2 +- layouts/post/rss.xml | 11 ++++++++++- 3 files changed, 23 insertions(+), 3 deletions(-) diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml index 9201078..959164d 100644 --- a/layouts/_default/rss.xml +++ b/layouts/_default/rss.xml @@ -11,7 +11,7 @@ {{- $pages = $pages | first $limit -}} {{- end -}} {{- printf "" | safeHTML }} - + {{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }} {{ .Permalink }} @@ -56,6 +56,17 @@ {{ .Summary | safeHTML }} ]]> + + {{`

+ {{end}} + {{ .Content | safeHTML }} + ]]> +
+ + {{ end }}
diff --git a/layouts/podcast/rss.xml b/layouts/podcast/rss.xml index b44bf95..3a2b97e 100644 --- a/layouts/podcast/rss.xml +++ b/layouts/podcast/rss.xml @@ -11,7 +11,7 @@ {{- $pages = $pages | first $limit -}} {{- end -}} {{- printf "" | safeHTML }} - + {{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }} {{ .Permalink }} diff --git a/layouts/post/rss.xml b/layouts/post/rss.xml index d7c1502..52d782d 100644 --- a/layouts/post/rss.xml +++ b/layouts/post/rss.xml @@ -11,7 +11,7 @@ {{- $pages = $pages | first $limit -}} {{- end -}} {{- printf "" | safeHTML }} - + {{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }} {{ .Permalink }} @@ -53,6 +53,15 @@ {{ .Summary | safeHTML }} ]]> + + {{`

+ {{end}} + {{ .Content | safeHTML }} + ]]> +
{{ end }}