aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/shortcodes
diff options
context:
space:
mode:
authortdro <tdro@noreply.example.com>2022-05-13 02:43:31 -0400
committertdro <tdro@noreply.example.com>2022-05-13 02:43:31 -0400
commit6d024f0dc8e1d5f7d7f877177eb8d4742deac7cb (patch)
treedfd8a9c0b6ba597a0428d1520a74bd0fd5711754 /themes/default/layouts/shortcodes
parent93197de690932d966457cc07682398e592421643 (diff)
downloadcanory-6d024f0dc8e1d5f7d7f877177eb8d4742deac7cb.tar.gz
canory-6d024f0dc8e1d5f7d7f877177eb8d4742deac7cb.tar.bz2
canory-6d024f0dc8e1d5f7d7f877177eb8d4742deac7cb.zip
Makefile: Bring up Nu validator
Initial validation before things get out of hand.
Diffstat (limited to 'themes/default/layouts/shortcodes')
-rw-r--r--themes/default/layouts/shortcodes/imgur-video.html6
-rw-r--r--themes/default/layouts/shortcodes/video.html4
2 files changed, 5 insertions, 5 deletions
diff --git a/themes/default/layouts/shortcodes/imgur-video.html b/themes/default/layouts/shortcodes/imgur-video.html
index e6fabdd..8f99036 100644
--- a/themes/default/layouts/shortcodes/imgur-video.html
+++ b/themes/default/layouts/shortcodes/imgur-video.html
@@ -9,12 +9,12 @@
data-context="false">
<a href="//imgur.com/{{ $id }}"></a>
</blockquote>
- <script async src="//s.imgur.com/min/embed.js" charset="utf-8"></script>
+ <script async src="//s.imgur.com/min/embed.js"></script>
<noscript>
<a href="//imgur.com/{{ $id }}">imgur.com/{{ $id }}</a>
</noscript>
- <figcaption>
+ <footer>
{{ $title | markdownify }}:
{{ print "[Link](https://imgur.com/" $id ")" | markdownify }}
- </figcaption>
+ </footer>
</imgur-video>
diff --git a/themes/default/layouts/shortcodes/video.html b/themes/default/layouts/shortcodes/video.html
index 6d62abb..ecbe20e 100644
--- a/themes/default/layouts/shortcodes/video.html
+++ b/themes/default/layouts/shortcodes/video.html
@@ -37,8 +37,8 @@
<a href="{{ $source }}{{ $mime }}#t={{ $start }},{{ $end }}">link to the video</a> instead.
</p>
</video>
- <figcaption>
+ <footer>
{{ $caption | markdownify }}:
{{ print "[Link](" $source $mime ")" | markdownify }}
- </figcaption>
+ </footer>
</video-container>