From a3bdd5156d2e172abc7a02b17f508849a5b7d69e Mon Sep 17 00:00:00 2001 From: j Date: Sat, 1 Feb 2025 12:59:28 +0530 Subject: [PATCH] use mp4 loop in more places --- content/templates/event_preview.html | 4 ++++ content/templates/featured.html | 6 ++++-- content/templates/preview.html | 4 +++- content/templates/section_index.html | 4 ++++ 4 files changed, 15 insertions(+), 3 deletions(-) diff --git a/content/templates/event_preview.html b/content/templates/event_preview.html index 25730ef..e56176a 100644 --- a/content/templates/event_preview.html +++ b/content/templates/event_preview.html @@ -16,7 +16,11 @@ {% if content.image_url %}
+ {% if content.video_url %} + + {% else %} + {% endif %}
{% endif %} diff --git a/content/templates/featured.html b/content/templates/featured.html index fdd32cb..039855a 100644 --- a/content/templates/featured.html +++ b/content/templates/featured.html @@ -1,7 +1,9 @@ {% for content in featured %}
- {% if content.image_url %} - + {% if content.video_url %} + + {% elif content.image_url %} + {% endif %}

{{content.title}}

diff --git a/content/templates/preview.html b/content/templates/preview.html index e72dffb..377a262 100644 --- a/content/templates/preview.html +++ b/content/templates/preview.html @@ -10,7 +10,9 @@
{% else %}
- {% if content.image_url %} + {% if content.video_url %} + + {% elif content.image_url %} {% endif %}
diff --git a/content/templates/section_index.html b/content/templates/section_index.html index b93becb..04b48db 100644 --- a/content/templates/section_index.html +++ b/content/templates/section_index.html @@ -11,7 +11,11 @@
{% if content.image_url %}
+ {% if content.video_url %} + + {% elif content.image_url %} + {% endif %}
{% endif %}