remove video from small feed

This commit is contained in:
Gabriel 2024-04-17 15:34:28 -04:00
parent 4a7a3809db
commit 812af8f7e0

View file

@ -14,11 +14,7 @@
<link>{{ .Permalink }}</link> <link>{{ .Permalink }}</link>
<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>{{ if .Params.gif}} <guid>{{ .Permalink }}</guid>{{ if .Params.audio}}
<enclosure url="{{.Site.BaseURL}}{{.Params.gif}}" />
{{end}}{{ if .Params.video}}
<enclosure url="{{.Params.video}}" />
{{end}}{{ if .Params.audio}}
<enclosure url="{{.Site.BaseURL}}{{.Params.audio}}" /> <enclosure url="{{.Site.BaseURL}}{{.Params.audio}}" />
{{end}}{{ if .Params.image}} {{end}}{{ if .Params.image}}
<image>{{.Site.BaseURL}}{{.Params.image}}</image>{{end}} <image>{{.Site.BaseURL}}{{.Params.image}}</image>{{end}}