From 560aa04aebe9f5d4e06cf3e7b1983e00a82515f2 Mon Sep 17 00:00:00 2001 From: Greg Gauthier Date: Wed, 5 Jan 2022 09:55:46 +0000 Subject: [PATCH] remove duplicate image tag in podcast rss --- layouts/podcast/rss.xml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/layouts/podcast/rss.xml b/layouts/podcast/rss.xml index fb148e7..52121b5 100644 --- a/layouts/podcast/rss.xml +++ b/layouts/podcast/rss.xml @@ -13,13 +13,10 @@ {{- printf "" | safeHTML }} - {{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ - .Site.Title }}{{ end }} + <title>{{ 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 }} {{ .Site.BaseURL }}img/avatar.png @@ -28,8 +25,7 @@ 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 }}