From b4504b35b2800ba9f1ce0517e6c462df5883f257 Mon Sep 17 00:00:00 2001 From: Adam Ormsby Date: Wed, 20 May 2020 12:43:00 -0500 Subject: [PATCH] fix img tags --- layouts/_default/rss.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml index c15d399..4176413 100644 --- a/layouts/_default/rss.xml +++ b/layouts/_default/rss.xml @@ -34,13 +34,13 @@ {{ .Permalink }} {{ if .Params.Cover }} - {{ if .Params.UseRelativeCover }}{{ printf "%s%s%s%s" ""}} - {{ else }}{{ printf "%s%s%s" ""}} + {{ if .Params.UseRelativeCover }}{{ printf "%s%s%s%s" ""}} + {{ else }}{{ printf "%s%s%s" ""}} {{ end }} {{ else }} {{ $images := .Resources.ByType "image" }} {{ $featured := $images.GetMatch "{*featured*,*cover*,*thumbnail*}" }} - {{ with $featured }}{{ printf "%s%s%s" ""}}{{ end }} + {{ with $featured }}{{ printf "%s%s%s" ""}}{{ end }} {{ end }} {{ if .Site.Params.RssFullText }}{{ .Content | html }}