diff options
author | tdro <tdro@noreply.example.com> | 2022-05-13 02:43:31 -0400 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2022-05-13 02:43:31 -0400 |
commit | 6d024f0dc8e1d5f7d7f877177eb8d4742deac7cb (patch) | |
tree | dfd8a9c0b6ba597a0428d1520a74bd0fd5711754 /themes/default/layouts/shortcodes | |
parent | 93197de690932d966457cc07682398e592421643 (diff) | |
download | canory-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.html | 6 | ||||
-rw-r--r-- | themes/default/layouts/shortcodes/video.html | 4 |
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> |