attempt to fix rss code

This commit is contained in:
Gabriel 2024-03-06 20:38:29 -05:00
parent c2ce99a9ca
commit 2cc917386c

View file

@ -20,7 +20,7 @@
{{end}}{{ if .Params.video}} {{end}}{{ if .Params.video}}
<enclosure url="{{.Params.video}}" /> <enclosure url="{{.Params.video}}" />
{{end}}{{ if .Params.audio}} {{end}}{{ if .Params.audio}}
{{if in .Params.adio "https://"}} {{if in .Params.adio "https:"}}
<enclosure url="{{.Params.audio}}" /> <enclosure url="{{.Params.audio}}" />
{{else}} {{else}}
<enclosure url="{{.Site.BaseURL}}{{.Params.audio}}" /> <enclosure url="{{.Site.BaseURL}}{{.Params.audio}}" />