fixed hero images in xml feed
This commit is contained in:
parent
9a6005a84a
commit
9aff17e6a8
@ -32,12 +32,11 @@
|
||||
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
|
||||
{{ with .Site.Author.email }}<author>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</author>{{end}}
|
||||
<guid>{{ .Permalink }}</guid>
|
||||
<description> <![CDATA[
|
||||
<p>
|
||||
{{ if isset .Params "image" }}<img src="https://gmgauthier.com{{ with .Params.image }}{{.}}{{ end }}"/>{{end}}
|
||||
{{.Summary | html }}
|
||||
</p>
|
||||
]]>
|
||||
<description>
|
||||
{{`<![CDATA[ ` | safeHTML }}
|
||||
{{ if isset .Params "image" }}<p><img src="https://gmgauthier.com{{ with .Params.image }}{{.}}{{ end }}"/></p>{{end}}
|
||||
{{ .Summary | safeHTML }}
|
||||
]]>
|
||||
</description>
|
||||
</item>
|
||||
{{ end }}
|
||||
|
Loading…
Reference in New Issue
Block a user