From c2018bddd9c6266a2df0052bb46cb6ffab332c72 Mon Sep 17 00:00:00 2001 From: Greg Gauthier Date: Fri, 7 Jan 2022 22:15:55 +0000 Subject: [PATCH] fix site.author and site.email --- layouts/podcast/rss.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/layouts/podcast/rss.xml b/layouts/podcast/rss.xml index 8903212..91e2ebb 100644 --- a/layouts/podcast/rss.xml +++ b/layouts/podcast/rss.xml @@ -40,7 +40,8 @@ {{ 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}} + {{ .Site.Author.name }} + {{ .Site.Author.email }} {{ with .Site.Copyright }}{{.}}{{end}} {{ if not .Date.IsZero }}{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}{{ end }} {{- with .OutputFormats.Get "RSS" -}}