summaryrefslogtreecommitdiff
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 00000000..84c83002
--- /dev/null
+++ b/layouts/shortcodes/aplayer.html
@@ -0,0 +1,9 @@
+<div
+ class="lazy-aplayer"
+ data-name="{{ .Get "name" }}"
+ data-artist="{{ .Get "artist" }}"
+ data-url="{{ .Get "url" }}"
+ data-cover="{{ .Get "cover" }}"
+ {{ with .Get "id" }}data-id="{{ . }}"{{ end }}
+ style="margin: 1rem 0;"
+></div>