aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/shortcodes/youtube.html
diff options
context:
space:
mode:
authortdro <tdro@noreply.example.com>2022-06-01 21:40:28 -0400
committertdro <tdro@noreply.example.com>2022-06-01 21:40:28 -0400
commit022f1cba18c74d90fd45b6cbbd7a5c774a14b2ea (patch)
treedf674b4b4eafafff8673e9949d2f1e081c3d0c73 /themes/default/layouts/shortcodes/youtube.html
parent4bbb269e3a6da76925c10e505954bbb3ea4bed26 (diff)
downloadcanory-022f1cba18c74d90fd45b6cbbd7a5c774a14b2ea.tar.gz
canory-022f1cba18c74d90fd45b6cbbd7a5c774a14b2ea.tar.bz2
canory-022f1cba18c74d90fd45b6cbbd7a5c774a14b2ea.zip
assets/css/default: Hide main footer in self embeds only
Remove illegal figure captions, replace with footers.
Diffstat (limited to 'themes/default/layouts/shortcodes/youtube.html')
-rw-r--r--themes/default/layouts/shortcodes/youtube.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/default/layouts/shortcodes/youtube.html b/themes/default/layouts/shortcodes/youtube.html
index 9af165d..f471b91 100644
--- a/themes/default/layouts/shortcodes/youtube.html
+++ b/themes/default/layouts/shortcodes/youtube.html
@@ -21,8 +21,8 @@
src="https://{{ $url }}/embed/{{ $id }}{{ "?controls=1" }}{{ $start }}{{ $end }}{{ $muted }}"
allowfullscreen title="{{ $title }}">
</iframe>
- <figcaption>
+ <footer>
{{ $title | markdownify }}:
{{ print "[Link](https://www.youtube.com/watch?v=" $id ")" | markdownify }}
- </figcaption>
+ </footer>
</youtube-video>