summaryrefslogtreecommitdiff
path: root/themes/fredo/layouts/_shortcodes/video.html
diff options
context:
space:
mode:
authorFriedrich Beckmann <friedrich.beckmann@gmx.de>2025-06-14 13:48:40 +0200
committerFriedrich Beckmann <friedrich.beckmann@gmx.de>2025-06-14 13:48:40 +0200
commite4a8a804aa5353bcaa4403da291e02bd9fcd22db (patch)
tree140e3b62e66c10952392c6c1bb36104d40d4e24a /themes/fredo/layouts/_shortcodes/video.html
initial version
Diffstat (limited to 'themes/fredo/layouts/_shortcodes/video.html')
-rw-r--r--themes/fredo/layouts/_shortcodes/video.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/themes/fredo/layouts/_shortcodes/video.html b/themes/fredo/layouts/_shortcodes/video.html
new file mode 100644
index 0000000..debe1d4
--- /dev/null
+++ b/themes/fredo/layouts/_shortcodes/video.html
@@ -0,0 +1,6 @@
+<figure class="small-figure">
+ <video controls>
+ <source type="video/mp4" src="{{ .Get "src" }}">
+ </video>
+ <figcaption class="gallery-caption">{{ .Get "caption" }}</figcaption>
+</figure> \ No newline at end of file