Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/frjo/hugo-theme-zen.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFredrik Jonsson <frjo@xdeb.org>2022-02-07 16:05:37 +0300
committerFredrik Jonsson <frjo@xdeb.org>2022-02-07 16:05:37 +0300
commit4eb23fe366f57d63b39d0bbd8f3cb2f8e293a503 (patch)
tree9b3771924aac16a33a069f776551adf73b80968f
parent70cc214f44092abd0a8ba6322714d9dc2e989f75 (diff)
Correcting Podcast RSS tags.
-rw-r--r--layouts/podcast/rss.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/layouts/podcast/rss.xml b/layouts/podcast/rss.xml
index fddd6c3..6fd44aa 100644
--- a/layouts/podcast/rss.xml
+++ b/layouts/podcast/rss.xml
@@ -1,4 +1,5 @@
-<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd">
+{{- printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\" ?>" | safeHTML }}
+<rss version="2.0" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
<title>{{ site.Params.Podcast.Title | default site.Title }}</title>
<link>{{ .Permalink }}</link>