freedom/layouts/about/rss.xml

38 lines
1.8 KiB
XML
Raw Permalink Normal View History

2024-05-01 02:06:03 -04:00
{{- printf "<?xml-stylesheet href=\"/feed.xsl\" type=\"text/xsl\"?>" | safeHTML }}
2024-08-31 03:07:22 -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: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>
2024-08-26 17:32:38 -04:00
<title>{{.Site.Title}}</title>
2024-08-21 11:57:24 -04:00
<link>{{ .Permalink }}</link>
2024-08-26 17:32:38 -04:00
<description>{{.Site.Params.description}}</description>
2023-11-26 01:53:04 -05:00
<generator>Hugo -- gohugo.io</generator>{{ with .Site.LanguageCode }}
<language>{{.}}</language>{{end}}
<image>
<url>{{.Site.BaseURL}}{{.Site.Params.default_img}}</url>
</image>
2024-09-04 23:33:17 -04:00
{{if .Site.Params.funding}}
2024-08-21 12:04:26 -04:00
<podcast:funding url="{{.Site.Params.funding}}">Support this work!</podcast:funding>{{end}} {{ range .Site.RegularPages | first 5}}
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}}
2024-08-21 11:57:24 -04:00
<guid>{{ .Permalink }}</guid>{{ if .Params.gif}}
<enclosure url="{{.Params.gif}}" />
{{end}}{{ if .Params.video}}
<enclosure url="{{.Params.video}}" />
{{end}}{{ if .Params.audio}}
{{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:04:26 -04:00
<image>{{.Site.BaseURL}}{{.Params.image}}</image>
2024-08-21 12:01:33 -04:00
<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>