summaryrefslogtreecommitdiff
path: root/templates/shortcodes
diff options
context:
space:
mode:
authoreatradish <[email protected]>2022-04-09 19:34:05 +0800
committereatradish <[email protected]>2022-04-09 19:34:05 +0800
commit4165b2c0d86d1e3f47a7caf9a086798e51315f3b (patch)
tree095511e33c1eeab5a7888f73a41e06de1155478f /templates/shortcodes
downloadSeje2-4165b2c0d86d1e3f47a7caf9a086798e51315f3b.tar.gz
Seje2-4165b2c0d86d1e3f47a7caf9a086798e51315f3b.tar.bz2
Seje2-4165b2c0d86d1e3f47a7caf9a086798e51315f3b.zip
init
Diffstat (limited to 'templates/shortcodes')
-rw-r--r--templates/shortcodes/shikwasa.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/templates/shortcodes/shikwasa.html b/templates/shortcodes/shikwasa.html
new file mode 100644
index 0000000..d29238d
--- /dev/null
+++ b/templates/shortcodes/shikwasa.html
@@ -0,0 +1,16 @@
+<div class="podcast">
+ <script>
+ const player = new Shikwasa({
+ container: () => document.querySelector('.podcast'),
+ audio: {
+ title: '{{subtitle}}',
+ artist: '{{author}}',
+ cover: '{{image}}',
+ src: '{{media}}',
+ },
+ fixed: {
+ type: 'static',
+ },
+ });
+ </script>
+</div>