From 363850bae880ba675f70e07747d75e443ed9073a Mon Sep 17 00:00:00 2001 From: Fredrik Jonsson Date: Wed, 25 Jan 2023 10:20:49 +0100 Subject: [PATCH] Bug fix, path.Join do not work with full scheme URLs. Made podcast feed with cdn not work. Revert back to use add. --- layouts/podcast/rss.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/podcast/rss.xml b/layouts/podcast/rss.xml index 29c79e0..1de4b5f 100644 --- a/layouts/podcast/rss.xml +++ b/layouts/podcast/rss.xml @@ -51,7 +51,7 @@ {{ if site.Params.Podcast.local | default true -}} {{ with .Params.podcast.mp3 }}{{ $file_stat := os.Stat (path.Join "/static" (. | relURL)) }}{{ end }} {{ else -}} - {{ with .Params.podcast.mp3 }}{{ end }} + {{ with .Params.podcast.mp3 }}{{ end }} {{ end -}} {{ with .Params.podcast.duration }}{{ . }}{{ end }} {{ with .Params.podcast.image.src }}{{ $image := resources.Get . }}{{ end }}