From 46b1bd84caca14fe0577341a703629c94def8ea4 Mon Sep 17 00:00:00 2001 From: Greg Gauthier Date: Wed, 5 Jan 2022 01:17:30 +0000 Subject: [PATCH] add podcast images -- hopefully --- layouts/podcast/rss.xml | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/layouts/podcast/rss.xml b/layouts/podcast/rss.xml index 40a4c91..67dc551 100644 --- a/layouts/podcast/rss.xml +++ b/layouts/podcast/rss.xml @@ -11,15 +11,27 @@ {{- $pages = $pages | first $limit -}} {{- end -}} {{- printf "" | safeHTML }} - + - {{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }} + {{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ + .Site.Title }}{{ end }} + {{ .Permalink }} {{ .Site.BaseURL }}img/blog_avatar.jpg - Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }} + Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ + .Site.Title }} + + + {{ .Permalink }}img/avatar.png + Greg Gauthier + {{ .Permalink }} + 32 + 32 + Hugo -- gohugo.io{{ with .Site.LanguageCode }} {{.}}{{end}}{{ with .Site.Author.email }} - {{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}}{{ with .Site.Author.email }} + {{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}}{{ with + .Site.Author.email }} {{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}}{{ with .Site.Copyright }} {{.}}{{end}}{{ if not .Date.IsZero }} {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}{{ end }} @@ -33,6 +45,8 @@ {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }} {{ .Permalink }} + + {{ if isset .Params "enclosure" }} {{ with .Params.enclosure }}