From f0b0c8076bcf6fb17d0f6a8b39033c215c6bb4da Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Sat, 30 Dec 2023 16:52:23 -0600 Subject: [PATCH] add image to rss --- layouts/_default/rss.xml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml index 5adbde4..f8260b1 100644 --- a/layouts/_default/rss.xml +++ b/layouts/_default/rss.xml @@ -25,6 +25,11 @@ {{- with .OutputFormats.Get "RSS" -}} {{ printf "" .Permalink .MediaType | safeHTML }} {{- end -}} + + {{ .Site.Params.fallBackOgImage | absURL }} + {{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }} + {{ .Permalink }} + {{ range $pages }} {{ .Title }}