freedom/layouts/_default/rss.xml

38 lines
1.9 KiB
XML
Raw Normal View History

2024-05-01 02:06:03 -04:00
{{- printf "<?xml-stylesheet href=\"/feed.xsl\" type=\"text/xsl\"?>" | safeHTML }}
2024-08-21 12:04:26 -04:00
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:podcast="https://github.com/Podcastindex-org/podcast-namespace/blob/main/docs/1.0.md" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd">
2023-11-26 01:53:04 -05:00
<channel>
<title>{{.Title}}</title>
<link>{{ .Permalink }}</link>
<description>{{.Params.description}}</description>
<generator>Hugo -- gohugo.io</generator>{{ with .Site.LanguageCode }}
<language>{{.}}</language>{{end}}
<image>
<url>{{.Site.BaseURL}}{{.Site.Params.default_img}}</url>
</image>
2024-08-21 11:57:24 -04:00
<atom:link href="{{.Site.BaseURL}}index.xml" rel="self" type="application/rss+xml" />{{if .Site.Params.funding}}
2024-01-26 03:31:57 -05:00
<podcast:funding url="{{.Site.Params.funding}}">Support this work!</podcast:funding>{{end}} {{ range .Site.RegularPages }}
2023-11-26 01:53:04 -05:00
<item>
<title>{{ .Title }}</title>
<link>{{ .Permalink }}</link>
<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}}
2024-02-18 13:18:36 -05:00
<enclosure url="{{.Params.gif}}" />
2023-11-26 01:53:04 -05:00
{{end}}{{ if .Params.video}}
<enclosure url="{{.Params.video}}" />
{{end}}{{ if .Params.audio}}
2024-03-06 20:39:49 -05:00
{{if in .Params.audio "https://"}}
<enclosure url="{{.Params.audio}}" />
{{else}}
<enclosure url="{{.Site.BaseURL}}{{.Params.audio}}" />
{{end}}
2023-11-26 01:53:04 -05:00
{{end}}{{ if .Params.image}}
2024-08-21 12:01:33 -04:00
<image>{{.Site.BaseURL}}{{.Params.image}}</image>
<media:thumbnail href="{{.Site.BaseURL}}{{.Params.image}}" />
<itunes:image href="{{.Site.BaseURL}}{{.Params.image}}" />{{end}}
2024-08-21 13:21:07 -04:00
<description>{{.Params.description}}</description>
2024-08-21 11:57:24 -04:00
<content:encoded>{{- .Content | html -}}</content:encoded>
2023-11-26 01:53:04 -05:00
</item>{{ end }}
</channel>
</rss>