Phase 1 of the standalone sub-page cleanup. The trip page consolidated these views (inline map + filter bar + inline stats), leaving the standalone pages unreachable and the last consumers of the old map code path (feed-map inline script + map.html renderGpxJourney variant). - Delete templates: map, stats, dailies, stories + feed-map partial - Delete 02.map/03.stats page folders across all trips - Keep 01.dailies/04.stories as inert data containers (routable:false) - Fix demo source + Makefile demo-load so reload stays consistent - Drop dead map-page body class in base.html.twig Site converges on MapUtils.initEntryMap(); child entries/stories remain reachable (verified: keepers 200, retired 404, no Twig errors). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
38 lines
1.8 KiB
Twig
38 lines
1.8 KiB
Twig
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>{% if page.title %}{{ page.title }} | {% endif %}{{ site.title }}</title>
|
|
{% do assets.addCss('theme://css/tokens.css') %}
|
|
{% do assets.addCss('theme://css/style.css') %}
|
|
{% do assets.addCss('theme://css-compiled/main.css') %}
|
|
{% do assets.addJs('theme://js/main.js', {group: 'bottom'}) %}
|
|
{% do assets.addJs('theme://js/nav.js', {group: 'bottom'}) %}
|
|
{% block map_assets %}{% endblock %}
|
|
{{ assets.css()|raw }}
|
|
{{ assets.js()|raw }}
|
|
</head>
|
|
<body class="{% if page.template == 'home' or page.template == 'trip' %}home-page{% endif %}{% if page.template == 'story' %} template-story{% endif %}">
|
|
<a class="skip-link" href="#main-content">Skip to main content</a>
|
|
<header class="site-header">
|
|
<a class="site-title" href="{{ base_url_absolute }}">into the east</a>
|
|
{% block nav %}
|
|
<button class="nav-toggle" type="button" aria-label="Open menu" aria-controls="site-nav" aria-expanded="false">
|
|
<span class="nav-toggle__bar"></span>
|
|
<span class="nav-toggle__bar"></span>
|
|
<span class="nav-toggle__bar"></span>
|
|
</button>
|
|
<nav class="site-nav" id="site-nav" aria-label="Main navigation">
|
|
<a href="{{ base_url_absolute }}"{% if page.template == 'home' %} aria-current="page"{% endif %}>Home</a>
|
|
<a href="{{ base_url_absolute }}/trips"{% if page.template == 'trips' %} aria-current="page"{% endif %}>Past Trips</a>
|
|
</nav>
|
|
{% endblock %}
|
|
</header>
|
|
<main class="site-main" id="main-content">
|
|
{% block content %}{% endblock %}
|
|
</main>
|
|
{{ assets.js('bottom')|raw }}
|
|
</body>
|
|
</html>
|