diff options
author | tdro <tdro@noreply.example.com> | 2022-06-01 21:40:28 -0400 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2022-06-01 21:40:28 -0400 |
commit | 022f1cba18c74d90fd45b6cbbd7a5c774a14b2ea (patch) | |
tree | df674b4b4eafafff8673e9949d2f1e081c3d0c73 /themes/default/layouts/shortcodes/youtube.html | |
parent | 4bbb269e3a6da76925c10e505954bbb3ea4bed26 (diff) | |
download | canory-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.html | 4 |
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> |