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:
Diffstat (limited to 'layouts/partials/podcast.html')
-rw-r--r--layouts/partials/podcast.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/podcast.html b/layouts/partials/podcast.html
index 034ed89..3fcd133 100644
--- a/layouts/partials/podcast.html
+++ b/layouts/partials/podcast.html
@@ -1,6 +1,6 @@
{{ $src := (.Params.podcast.mp3 | absURL) -}}
{{ if site.Params.Podcast.cdn -}}
-{{ $src = add site.Params.Podcast.cdn (.Params.podcast.mp3 | relURL) -}}
+{{ $src = path.Join site.Params.Podcast.cdn (.Params.podcast.mp3 | relURL) -}}
{{ end -}}
<figure class="podcast">
<audio controls preload="{{ site.Params.Podcast.preload | default "metadata" }}"><source src="{{ $src }}" type="audio/mpeg"></audio>