add back in the conditional to prevent image inclusion in rss where there is no image

This commit is contained in:
Greg Gauthier 2021-11-25 23:54:35 +00:00
parent 40e7135a5b
commit 9a6005a84a

View File

@ -34,7 +34,7 @@
<guid>{{ .Permalink }}</guid> <guid>{{ .Permalink }}</guid>
<description> &lt;![CDATA[ <description> &lt;![CDATA[
<p> <p>
<img src="https://gmgauthier.com{{ with .Params.image }}{{.}}{{ end }}"/> {{ if isset .Params "image" }}<img src="https://gmgauthier.com{{ with .Params.image }}{{.}}{{ end }}"/>{{end}}
{{.Summary | html }} {{.Summary | html }}
</p> </p>
]]&gt; ]]&gt;