blob: c60cbffd0272899a610ff490faa3c7820ff6b543 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
{{- $id := default "rQIb4Vw" (.Get "id" | default (.Get 0)) -}}
{{- $title := default "Imgur Gif" (.Get "title" | default (.Get 1)) -}}
{{- $caption := default "Imgur Gif" (.Get "caption" | default (.Get 2)) -}}
{{- $options := default "controls autoplay loop muted playsinline"
(.Get "options" | default (.Get 3))
-}}
{{- partial "video-container.html"
(dict
"Author" .Page.Section
"Caption" $caption
"Options" $options
"RelURL" .Page.RelPermalink
"Source" (print "https://i.imgur.com/" $id ".mp4")
)
-}}
|