summaryrefslogtreecommitdiffstats
path: root/layouts/shortcodes/aplayer.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/shortcodes/aplayer.html')
-rw-r--r--layouts/shortcodes/aplayer.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/layouts/shortcodes/aplayer.html b/layouts/shortcodes/aplayer.html
new file mode 100644
index 0000000..12ab16c
--- /dev/null
+++ b/layouts/shortcodes/aplayer.html
@@ -0,0 +1,9 @@
+<div class="post-player-wrapper">
+ <div
+ class="post-aplayer"
+ data-urls="{{- .Get "urls" | relURL -}}"
+ data-names="{{- .Get "names" -}}"
+ {{ with .Get "artists" -}}data-artists="{{- . -}}"{{- end }}
+ {{ with .Get "covers" -}}data-covers="{{- . | relURL -}}"{{- end }}
+ ></div>
+</div> \ No newline at end of file