support podcasting 2.0 funding
This commit is contained in:
parent
d3649ef300
commit
b151428f0f
1 changed files with 3 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:podcast="https://github.com/Podcastindex-org/podcast-namespace/blob/main/docs/1.0.md">
|
||||||
<channel>
|
<channel>
|
||||||
<title>{{.Title}}</title>
|
<title>{{.Title}}</title>
|
||||||
<link>{{ .Permalink }}</link>
|
<link>{{ .Permalink }}</link>
|
||||||
|
@ -8,7 +8,8 @@
|
||||||
<image>
|
<image>
|
||||||
<url>{{.Site.BaseURL}}{{.Site.Params.default_img}}</url>
|
<url>{{.Site.BaseURL}}{{.Site.Params.default_img}}</url>
|
||||||
</image>
|
</image>
|
||||||
<atom:link href="{{.Site.BaseURL}}/index.xml" rel="self" type="application/rss+xml" />{{ range .Site.RegularPages }}
|
<atom:link href="{{.Site.BaseURL}}/index.xml" rel="self" type="application/rss+xml" />{{ range .Site.RegularPages }}{{if .Site.Params.funding}}
|
||||||
|
<podcast:funding url="{{.Site.Params.funding}}">Support this work!</podcast:funding>{{end}}
|
||||||
<item>
|
<item>
|
||||||
<title>{{ .Title }}</title>
|
<title>{{ .Title }}</title>
|
||||||
<link>{{ .Permalink }}</link>
|
<link>{{ .Permalink }}</link>
|
||||||
|
|
Loading…
Reference in a new issue