{# Feed mini-map partial — shared by dailies.html.twig and stories.html.twig. Required variables (via {% include ... with {...} only %}): map_entries — array: [{lat, lng, title, slug, url, type, force_connect, transport_mode}] map_id — string: HTML id for the map div (e.g. 'feed-map', 'stories-map') map_var — string: JS variable name for the MapLibre Map (e.g. 'feedMap', 'storiesMap') link_href — string|null: URL for "View full map" link; null/empty hides the link 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 #} {% if map_entries|length > 0 %}
{% if link_href %} View full map → {% endif %}
{% endif %}