summaryrefslogtreecommitdiffstats
path: root/layouts/shortcodes/aplayer.html
diff options
context:
space:
mode:
authordsrkafuu2022-02-25 00:14:55 +0800
committerdsrkafuu2022-02-25 00:14:55 +0800
commit4af9fdd9415a8842f210f1089ffadabb1945ca3c (patch)
tree1658e9c7595574af65193a381f2f95d7137a3a51 /layouts/shortcodes/aplayer.html
parent253850bb1f3b0faae8472f31a28725fec8684ffa (diff)
downloadhugo-theme-fuji-4af9fdd9415a8842f210f1089ffadabb1945ca3c.tar.gz
hugo-theme-fuji-4af9fdd9415a8842f210f1089ffadabb1945ca3c.tar.bz2
hugo-theme-fuji-4af9fdd9415a8842f210f1089ffadabb1945ca3c.zip
fix: aplayer base url
Diffstat (limited to 'layouts/shortcodes/aplayer.html')
-rw-r--r--layouts/shortcodes/aplayer.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/layouts/shortcodes/aplayer.html b/layouts/shortcodes/aplayer.html
index 37ed544..e02adce 100644
--- a/layouts/shortcodes/aplayer.html
+++ b/layouts/shortcodes/aplayer.html
@@ -1,6 +1,7 @@
<div class="post-player-wrapper">
<div
class="post-aplayer"
+ data-base="{{- .Site.BaseURL -}}"
data-urls="{{- .Get "urls" -}}"
data-names="{{- .Get "names" -}}"
{{ with .Get "artists" -}}data-artists="{{- . -}}"{{- end }}