From b2a13ecb02053cc644e41a73ada66794acd9b157 Mon Sep 17 00:00:00 2001 From: Greg Gauthier Date: Wed, 5 Jan 2022 10:16:02 +0000 Subject: [PATCH] fix copyright --- layouts/podcast/rss.xml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/layouts/podcast/rss.xml b/layouts/podcast/rss.xml index 689500d..152f4ea 100644 --- a/layouts/podcast/rss.xml +++ b/layouts/podcast/rss.xml @@ -13,11 +13,9 @@ {{- printf "" | safeHTML }} - {{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} by {{ end }}{{ .Site.Title }}{{ end }} - + {{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} by {{ end }}{{ .Site.Title }}{{ end }} {{ .Permalink }} - 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 }} {{ .Site.BaseURL }}img/avatar.png {{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} by {{ end }}{{ .Site.Title }}{{ end }} @@ -27,7 +25,7 @@ {{.}}{{end}}{{ with .Site.Author.email }} {{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}}{{ with .Site.Author.email }} {{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}}{{ with .Site.Copyright }} - {{ .Site.copyright }}{{end}}{{ if not .Date.IsZero }} + {{.}}{{end}}{{ if not .Date.IsZero }} {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}{{ end }} {{- with .OutputFormats.Get "RSS" -}} {{ printf "" .Permalink .MediaType | safeHTML }}