aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/shortcodes/video-ascii.html
blob: 10da091e93f6eac3971de8b33d9379ac65af9521 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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>