aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/shortcodes/imgur.html
diff options
context:
space:
mode:
authortdro <tdro@noreply.example.com>2022-12-03 01:02:40 -0500
committertdro <tdro@noreply.example.com>2022-12-03 01:02:40 -0500
commit2fe40c752b4272484972f141e406fbcb7fa0cdb8 (patch)
tree9e5248b8a8488527a526d3a950731050b665eb7d /themes/default/layouts/shortcodes/imgur.html
parentc1a0a33c40b08eb13e412a95cdcdfd869eb3bf2d (diff)
downloadcanory-2fe40c752b4272484972f141e406fbcb7fa0cdb8.tar.gz
canory-2fe40c752b4272484972f141e406fbcb7fa0cdb8.tar.bz2
canory-2fe40c752b4272484972f141e406fbcb7fa0cdb8.zip
themes/default/layouts/shortcodes/video.html: Default to self always0.11.7
To avoid hotlinking by mistake. Support media start and end fragments (https://www.w3.org/TR/media-frags/) separately. Add remote parameter for offloading to source
Diffstat (limited to 'themes/default/layouts/shortcodes/imgur.html')
-rw-r--r--themes/default/layouts/shortcodes/imgur.html13
1 files changed, 0 insertions, 13 deletions
diff --git a/themes/default/layouts/shortcodes/imgur.html b/themes/default/layouts/shortcodes/imgur.html
deleted file mode 100644
index f51bcef..0000000
--- a/themes/default/layouts/shortcodes/imgur.html
+++ /dev/null
@@ -1,13 +0,0 @@
-{{- $id := default "mkVcxUi" (.Get "id" | default (.Get 0)) -}}
-
-<imgur-image>
- <blockquote
- class="imgur-embed-pub"
- lang="en"
- data-id="a/{{ $id }}"
- data-context="false"
- >
- <a href="//imgur.com/a/{{ $id }}"></a>
- </blockquote>
- <script async src="//s.imgur.com/min/embed.js" charset="utf-8"></script>
-</imgur-image>