summaryrefslogtreecommitdiff
path: root/layouts/shortcodes/aplayer.html
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2025-06-06 09:00:36 +0800
committerEltrac <hi@guhub.cn>2025-06-06 09:00:36 +0800
commit8397b55040d23c19c7e6aae30badc55e54319bf2 (patch)
treea57dffcfc208ff85e2af1422f61f67f3d045dfb2 /layouts/shortcodes/aplayer.html
parent87761df9fde0885d64a4eb853c18245ca0779ce3 (diff)
parent227fb4cb419a44132340963f78147e8df604a0ee (diff)
Merge branch 'master' of https://github.com/BigCoke233/geek-death-project
Former-commit-id: 430926459e4846549b1571c460e2596874663c1b
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>