From 858f5b05fbe3f99d5d9e87a282243d0ac4594165 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jochen=20Wersd=C3=B6rfer?= Date: Fri, 22 Dec 2023 09:21:32 +0100 Subject: [PATCH] defer htmx, jquery and comments javascript --- cast/templates/cast/bootstrap4/base.html | 4 ++-- cast/templates/cast/bootstrap4/post.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cast/templates/cast/bootstrap4/base.html b/cast/templates/cast/bootstrap4/base.html index d5a2edea..f9208d0c 100644 --- a/cast/templates/cast/bootstrap4/base.html +++ b/cast/templates/cast/bootstrap4/base.html @@ -56,8 +56,8 @@ {% block modal %}{% endblock modal %}
{% block javascript %} - - + + {% block template_script %}{% endblock template_script %} {% endblock javascript %} diff --git a/cast/templates/cast/bootstrap4/post.html b/cast/templates/cast/bootstrap4/post.html index 994c6787..f94a62f7 100644 --- a/cast/templates/cast/bootstrap4/post.html +++ b/cast/templates/cast/bootstrap4/post.html @@ -48,8 +48,8 @@ {% vite_asset 'src/gallery/image-gallery-bs4.ts' app="cast" %} - - + + {% if page.has_audio %} {% for pk, audio in page.media_lookup.audio.items %}