further fixing images

This commit is contained in:
Gabriel 2024-08-21 12:01:33 -04:00
parent 885cacf26b
commit 550ebe31fb
2 changed files with 5 additions and 3 deletions

View file

@ -27,8 +27,9 @@
<enclosure url="{{.Site.BaseURL}}{{.Params.audio}}" />
{{end}}
{{end}}{{ if .Params.image}}
<image>{{.Params.image}}</image>
<media:thumbnail href="{{.Site.BaseURL}}{{.Params.image}}" />{{end}}
<image>{{.Site.BaseURL}}{{.Params.image}}</image>
<media:thumbnail href="{{.Site.BaseURL}}{{.Params.image}}" />
<itunes:image href="{{.Site.BaseURL}}{{.Params.image}}" />{{end}}
<description>{{.Site.BaseURL}}{{.Params.description}}</description>
<content:encoded>{{- .Content | html -}}</content:encoded>
</item>{{ end }}

View file

@ -28,7 +28,8 @@
{{end}}
{{end}}{{ if .Params.image}}
<image>{{.Params.image}}</image>
<media:thumbnail href="{{.Site.BaseURL}}{{.Params.image}}" />{{end}}
<media:thumbnail href="{{.Site.BaseURL}}{{.Params.image}}" />
<itunes:image href="{{.Site.BaseURL}}{{.Params.image}}" />{{end}}
<description>{{.Site.BaseURL}}{{.Params.description}}</description>
<content:encoded>{{- .Content | html -}}</content:encoded>
</item>{{ end }}