From 857f33be54cc0a8f3ce1b0a3acbe07471b13f12b Mon Sep 17 00:00:00 2001 From: Mischa Date: Mon, 22 Jun 2026 01:37:33 +0200 Subject: [PATCH] refactor(dailies): use shared feed-map partial --- .../intotheeast/templates/dailies.html.twig | 83 ++----------------- 1 file changed, 9 insertions(+), 74 deletions(-) diff --git a/themes/intotheeast/templates/dailies.html.twig b/themes/intotheeast/templates/dailies.html.twig index 94665d4..49cd879 100644 --- a/themes/intotheeast/templates/dailies.html.twig +++ b/themes/intotheeast/templates/dailies.html.twig @@ -35,80 +35,15 @@ {% set trip_page = page.parent() %} -{% if map_entries|length > 0 %} -
-
- -
- View full map → -
- - - - - - -{% endif %} +{% include 'partials/feed-map.html.twig' with { + 'map_entries': map_entries, + 'map_id': 'feed-map', + 'map_var': 'feedMap', + 'link_href': page.parent().url ~ '/map', + 'card_prefix': 'entry-', + 'trip_page': trip_page, + 'show_journey': true +} only %}