feat: add trip/trips/stories templates, update nav and map/stats to use trip-relative paths

- Rename tracker.html.twig to dailies.html.twig; update dailies.md template key
- Fix map.html.twig and stats.html.twig: find dailies via page.parent().route
- Update base.html.twig nav to use config.site.active_trip for all hrefs
- Fix dailies.html.twig mini-map link to use page.parent().url/map
- Create trip.html.twig, trips.html.twig, stories.html.twig

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-19 01:27:39 +02:00
parent 2a32917568
commit 50a5f2d178
8 changed files with 73 additions and 7 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
{% extends 'partials/base.html.twig' %}
{% block content %}
{% set tracker_page = grav.pages.find('/tracker') %}
{% set tracker_page = grav.pages.find(page.parent().route ~ '/dailies') %}
{% set all_entries = tracker_page ? tracker_page.children.published() : [] %}
{% set map_entries = [] %}