aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/shortcodes/video-ascii.html
diff options
context:
space:
mode:
authortdro <tdro@noreply.example.com>2023-06-18 18:32:33 -0400
committertdro <tdro@noreply.example.com>2023-06-18 18:32:33 -0400
commitfe545971fcd7db887c52f394f08ee2be0dd17894 (patch)
tree035c1cef5f4c5f5224e30abc5f313cf4b1798ad7 /themes/default/layouts/shortcodes/video-ascii.html
parenteaa731e5eddf263e12d46481a036cce9882bf72e (diff)
downloadcanory-fe545971fcd7db887c52f394f08ee2be0dd17894.tar.gz
canory-fe545971fcd7db887c52f394f08ee2be0dd17894.tar.bz2
canory-fe545971fcd7db887c52f394f08ee2be0dd17894.zip
themes/default/layouts/shortcodes: Cleanup
Remove some shortcodes, probably better to target formats over embeds
Diffstat (limited to 'themes/default/layouts/shortcodes/video-ascii.html')
-rw-r--r--themes/default/layouts/shortcodes/video-ascii.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/themes/default/layouts/shortcodes/video-ascii.html b/themes/default/layouts/shortcodes/video-ascii.html
new file mode 100644
index 0000000..10da091
--- /dev/null
+++ b/themes/default/layouts/shortcodes/video-ascii.html
@@ -0,0 +1,17 @@
+{{- $id := default "" (.Get "id" | default (.Get 0)) -}}
+{{- $title := default "" (.Get "title" | default (.Get 1)) -}}
+{{- $theme := default "" (.Get "theme" | default (.Get 2)) -}}
+{{- $speed := default "" (.Get "speed" | default (.Get 3)) -}}
+{{- $preload := default "" (.Get "preload" | default (.Get 4)) -}}
+{{- $autoplay := default "" (.Get "autoplay" | default (.Get 5)) -}}
+{{- $startat := default "" (.Get "startat" | default (.Get 6)) -}}
+
+<ascii-cast>
+ <script
+ src="https://asciinema.org/a/14.js"
+ id="asciicast-14"
+ async
+ data-autoplay="false"
+ data-size="big"
+ ></script>
+</ascii-cast>