update feed

This commit is contained in:
Gabriel 2024-02-18 13:18:36 -05:00
parent 0824dfbe49
commit 6862d3c68f

View file

@ -16,14 +16,13 @@
<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>{{ if .Params.gif}}
<enclosure url="{{.Site.BaseURL}}{{.Params.gif}}" />
<enclosure url="{{.Params.gif}}" />
{{end}}{{ if .Params.video}}
<enclosure url="{{.Params.video}}" />
{{end}}{{ if .Params.audio}}
<enclosure url="{{.Site.BaseURL}}{{.Params.audio}}" />
<enclosure url="{{.Params.audio}}" />
{{end}}{{ if .Params.image}}
<image>{{.Site.BaseURL}}{{.Params.image}}</image>{{end}}
<description>{{- .Content | html -}}</description>
<image>{{.Params.image}}</image>{{end}}
</item>{{ end }}
</channel>
</rss>