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>
|
<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}}
|
{{ with .Site.Author.email }}<author>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</author>{{end}}
|
||||||
<guid>{{ .Permalink }}</guid>
|
<guid>{{ .Permalink }}</guid>
|
||||||
<description> <![CDATA[
|
<description>
|
||||||
<p>
|
{{`<![CDATA[ ` | safeHTML }}
|
||||||
{{ if isset .Params "image" }}<img src="https://gmgauthier.com{{ with .Params.image }}{{.}}{{ end }}"/>{{end}}
|
{{ if isset .Params "image" }}<p><img src="https://gmgauthier.com{{ with .Params.image }}{{.}}{{ end }}"/></p>{{end}}
|
||||||
{{.Summary | html }}
|
{{ .Summary | safeHTML }}
|
||||||
</p>
|
]]>
|
||||||
]]>
|
|
||||||
</description>
|
</description>
|
||||||
</item>
|
</item>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
Loading…
Reference in New Issue
Block a user