add encoded content to the podcast feed
This commit is contained in:
parent
5656cf1743
commit
ae938394ae
@ -39,13 +39,22 @@
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
|
||||||
<description>
|
<description>
|
||||||
{{`<![CDATA[ ` | safeHTML }}
|
{{`<![CDATA[ ` | safeHTML }}
|
||||||
{{ if isset .Params "image" }}<p><img src="{{ .Site.Params.podcastCdnURL }}{{ with .Params.image }}{{.}}{{ end }}" width="600" height="338" /></p>{{end}}
|
{{ if isset .Params "image" }}<p><img src="{{ .Site.Params.podcastCdnURL }}{{ with .Params.image }}{{.}}{{ end }}" width="600" height="338" /></p>{{end}}
|
||||||
{{ .Summary | safeHTML }}
|
{{ .Summary | safeHTML }}
|
||||||
]]>
|
]]>
|
||||||
</description>
|
</description>
|
||||||
|
|
||||||
|
<content:encoded>
|
||||||
|
{{`<![CDATA[ ` | safeHTML }}
|
||||||
|
{{ if isset .Params "image" }}
|
||||||
|
{{ $cdnUrl := .Site.Params.podcastCdnUrl }}
|
||||||
|
<p><img src="{{ $cdnUrl }}{{ with .Params.image }}{{.}}{{ end }}"/></p>
|
||||||
|
{{end}}
|
||||||
|
{{ .Content | safeHTML }}
|
||||||
|
]]>
|
||||||
|
</content:encoded>
|
||||||
</item>
|
</item>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</channel>
|
</channel>
|
||||||
|
Loading…
Reference in New Issue
Block a user