From ede5ce1914d17247dcf768c54fcd626873dd1691 Mon Sep 17 00:00:00 2001 From: Mischa Date: Tue, 23 Jun 2026 09:20:33 +0200 Subject: [PATCH] fix: move map_assets block to so map.css registers before assets.css() renders Co-Authored-By: Claude Sonnet 4.6 Claude-Session: https://claude.ai/code/session_01Vgmzx8VTTTmCskSpQtsLTr --- themes/intotheeast/templates/partials/base.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/intotheeast/templates/partials/base.html.twig b/themes/intotheeast/templates/partials/base.html.twig index 7adbcab..3aceff4 100644 --- a/themes/intotheeast/templates/partials/base.html.twig +++ b/themes/intotheeast/templates/partials/base.html.twig @@ -8,6 +8,7 @@ {% do assets.addCss('theme://css/style.css') %} {% do assets.addCss('theme://css-compiled/main.css') %} {% do assets.addJs('theme://js/main.js', {group: 'bottom'}) %} + {% block map_assets %}{% endblock %} {{ assets.css()|raw }} {{ assets.js()|raw }} @@ -25,7 +26,6 @@
{% block content %}{% endblock %}
- {% block map_assets %}{% endblock %} {{ assets.js('bottom')|raw }}