diff options
author | Daniel Saunders <daniel.saunders@gmail.com> | 2021-04-15 06:18:02 +0300 |
---|---|---|
committer | Daniel Saunders <daniel.saunders@gmail.com> | 2021-04-15 06:18:02 +0300 |
commit | 2435f3d47c6e28a74cd3232d78fedf6d332dd5fd (patch) | |
tree | 7b4b530a504896474a0a417f9e928a1146a76662 | |
parent | 07101a1b966897ff10cb9143bc02026feb7136a8 (diff) |
removed extraneous rss tags20210415
-rw-r--r-- | exampleSite/config.toml | 3 | ||||
-rw-r--r-- | layouts/sermons/sermons.rss.xml | 17 |
2 files changed, 4 insertions, 16 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 0830ad3..d5d69c8 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -103,10 +103,9 @@ unsafe = true [params.podcast] title = "Listen to Alpha Church" - subtitle = "" summary = "Alpha-Church sermons, talks, messages—podcasted." email = "test@example.com" - copyright = "Podcast: [CC0 (public domain)](//creativecommons.org/publicdomain/zero/1.0/)" + copyright = "The files in the podcast are in the public domain." image = "img/podcast-cover.jpg" category = "Religion & Spirituality" sub_category = "Christianity" diff --git a/layouts/sermons/sermons.rss.xml b/layouts/sermons/sermons.rss.xml index 75b3e9f..e779333 100644 --- a/layouts/sermons/sermons.rss.xml +++ b/layouts/sermons/sermons.rss.xml @@ -1,14 +1,6 @@ {{ print "<?xml version=\"1.0\" encoding=\"utf-8\"?>" | safeHTML }} -<rss version="2.0" - xmlns:content="https://purl.org/rss/1.0/modules/content/" - xmlns:wfw="https://wellformedweb.org/CommentAPI/" - xmlns:dc="https://purl.org/dc/elements/1.1/" - xmlns:atom="https://www.w3.org/2005/Atom" - xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" - xmlns:slash="https://purl.org/rss/1.0/modules/slash/" - xmlns:itunes="https://www.itunes.com/dtds/podcast-1.0.dtd" - xmlns:media="https://search.yahoo.com/mrss/" - xmlns:googleplay="https://www.google.com/schemas/play-podcasts/1.0"> +<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:rawvoice="http://www.rawvoice.com/rawvoiceRssModule/" xmlns:googleplay="http://www.google.com/schemas/play-podcasts 1.0"> + <channel> <title>{{ .Site.Params.Podcast.title }}</title> <link>{{ .Site.BaseURL }}</link> @@ -16,7 +8,6 @@ <language>{{ .Site.LanguageCode }}</language> <lastBuildDate>{{ dateFormat "Mon, 2 Jan 2006 15:04:05 -0700" .Date }}</lastBuildDate> <copyright>{{ .Site.Params.Podcast.copyright | plainify }}</copyright> - <itunes:subtitle>{{ .Site.Params.Podcast.subtitle }}</itunes:subtitle> <itunes:author>{{ .Site.Params.author }}</itunes:author> <itunes:summary>{{ .Site.Params.Podcast.summary | plainify }}</itunes:summary> <description>{{ .Site.Params.Podcast.summary |plainify }}</description> @@ -28,9 +19,7 @@ <itunes:category text="{{ .Site.Params.Podcast.category }}"> <itunes:category text="{{ .Site.Params.Podcast.sub_category }}" /> </itunes:category> - <itunes:block>no</itunes:block> - <itunes:explicit>no</itunes:explicit> - <generator>Hugo -- gohugo.io</generator> + <itunes:explicit>clean</itunes:explicit> {{- $pages := .Data.Pages -}} {{- $limit := .Site.Config.Services.RSS.Limit -}} {{- if ge $limit 1 -}} |