summaryrefslogtreecommitdiff
path: root/layouts/shortcodes
diff options
context:
space:
mode:
authorReorx <novoreorx@gmail.com>2022-06-02 11:44:11 +0800
committerReorx <novoreorx@gmail.com>2022-06-02 11:44:11 +0800
commita2a26eb189fb1355ad09fc0085c81214bc3bdfc1 (patch)
treeddfd7e4a0aba12e0b14b09a9a856ccdd864d3946 /layouts/shortcodes
parent88b2584d06d6349089e96039b34de56187c99305 (diff)
update render-image to support video embed
just like embed an image, use ![](/path/to/video.mov)
Diffstat (limited to 'layouts/shortcodes')
-rw-r--r--layouts/shortcodes/video.html3
1 files changed, 1 insertions, 2 deletions
diff --git a/layouts/shortcodes/video.html b/layouts/shortcodes/video.html
index 0132bb2..dd88719 100644
--- a/layouts/shortcodes/video.html
+++ b/layouts/shortcodes/video.html
@@ -1,7 +1,6 @@
<figure>
<video class="video-shortcode" preload="{{ .Get "preload" }}" controls>
<source src="{{ .Get "src" }}" type="{{ .Get "type" }}">
- There should have been a video here but your browser does not seem
- to support it.
+ There should have been a video here but your browser does not seem to support it.
</video>
</figure>