diff options
Diffstat (limited to 'layouts/section/episode.rss.xml')
-rw-r--r-- | layouts/section/episode.rss.xml | 2 |
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> |