summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorjoak <joak@nospace.at>2025-08-15 04:04:51 +0200
committerjoak <joak@nospace.at>2025-08-15 04:04:51 +0200
commitdd9aeadf6072b5262de4396ea01061294316eec4 (patch)
tree8a9d68ef046a750efea6a873bab1766791d84340 /templates
parent81197139da47dbd9f28b93bed3114296952dac27 (diff)
correctin caption video and images
Diffstat (limited to 'templates')
-rw-r--r--templates/blocks/video.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/blocks/video.html b/templates/blocks/video.html
index b906e9d..55c55e5 100644
--- a/templates/blocks/video.html
+++ b/templates/blocks/video.html
@@ -1,9 +1,11 @@
<div class="videodiv">
- {%if this.caption %}<h2 class="gallerytitle">{{ this.caption }}</h2>{% endif %}
<div class="video">
<video max-width="720px" preload="metadata" controls="">
{% set video = record.attachments.videos.get(this.url) %}
<source src="{{ video|url }}" type="video/mp4">
</video>
+ {% if this.caption %}
+ <div class="caption">{{this.caption}}</div>
+ {% endif %}
</div>
</div>