From ed2590754515dd2f51b281a25e993a0f0dbac70b Mon Sep 17 00:00:00 2001 From: Mischa Date: Wed, 24 Jun 2026 00:16:57 +0200 Subject: [PATCH] fix: DOMContentLoaded wrapper + correct asset registration in map templates - feed-map.html.twig: remove addCss/addJs calls (too late for ); merge two {% endblock %} diff --git a/themes/intotheeast/templates/partials/feed-map.html.twig b/themes/intotheeast/templates/partials/feed-map.html.twig index d4a0e6d..c6909ad 100644 --- a/themes/intotheeast/templates/partials/feed-map.html.twig +++ b/themes/intotheeast/templates/partials/feed-map.html.twig @@ -9,10 +9,10 @@ card_prefix — string: prefix for scroll-to card IDs ('entry-' or 'story-') trip_page — Grav page: trip page for autoconnect setting (used when show_journey is true) show_journey — bool: whether to draw the route connector line between markers + + Callers must register map assets via {% block map_assets %} in their own template. #} {% if map_entries|length > 0 %} -{% do assets.addCss('theme://css-compiled/map.css') %} -{% do assets.addJs('theme://js/map.js', {group: 'bottom'}) %}