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

github.com/mattstratton/castanet.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/section/episode.rss.xml')
-rw-r--r--layouts/section/episode.rss.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/section/episode.rss.xml b/layouts/section/episode.rss.xml
index e9aa9c7..d70ead3 100644
--- a/layouts/section/episode.rss.xml
+++ b/layouts/section/episode.rss.xml
@@ -39,7 +39,7 @@
<itunes:author> {{ .Site.Params.itunes_author }}</itunes:author>
<itunes:summary>{{ .Description }}</itunes:summary>
<description>{{ .Description }}</description>
- <enclosure url="{{ .Site.Params.media_prefix }}{{ .Params.podcast_file }}" length="{{ .Params.podcast_bytes}}" type="audio/mpeg" />
+ <enclosure url="{{ .Site.Params.media_prefix }}{{ .Params.podcast_file }}" {{if isset .Params "podcast_bytes"}}{{if ne .Params.podcast_bytes ""}}length="{{ .Params.podcast_bytes}}"{{ end }}{{ end }} type="audio/mpeg" />
<guid>{{ .Params.podcast }}</guid>
<link>{{ .Permalink }}</link>
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }} </pubDate>