aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/shortcodes/imgur-video.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/default/layouts/shortcodes/imgur-video.html')
-rw-r--r--themes/default/layouts/shortcodes/imgur-video.html17
1 files changed, 0 insertions, 17 deletions
diff --git a/themes/default/layouts/shortcodes/imgur-video.html b/themes/default/layouts/shortcodes/imgur-video.html
deleted file mode 100644
index a6d637a..0000000
--- a/themes/default/layouts/shortcodes/imgur-video.html
+++ /dev/null
@@ -1,17 +0,0 @@
-{{- $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" (strings.TrimPrefix .Site.BaseURL .Page.Permalink)
- "Source" (print "https://i.imgur.com/" $id ".mp4")
- )
--}}