diff --git a/layouts/podcast/rss.xml b/layouts/podcast/rss.xml index 1de4b5f..b81c6bf 100644 --- a/layouts/podcast/rss.xml +++ b/layouts/podcast/rss.xml @@ -49,7 +49,7 @@ {{ end -}} {{ .Content | html }} {{ if site.Params.Podcast.local | default true -}} - {{ with .Params.podcast.mp3 }}{{ $file_stat := os.Stat (path.Join "/static" (. | relURL)) }}{{ end }} + {{ with .Params.podcast.mp3 }}{{ $file_stat := os.Stat (path.Join "/static" .) }}{{ end }} {{ else -}} {{ with .Params.podcast.mp3 }}{{ end }} {{ end -}}