Compare commits

...
6 Commits
9 changed files with 12 additions and 11 deletions
+2 -6
View File
@@ -5,10 +5,6 @@ author:
metadata: metadata:
description: 'Into the East — travel journal' description: 'Into the East — travel journal'
description: 'A travel blog by Mischa' description: 'A travel blog by Mischa'
active_trip: /trips/us-canada-mex-2024 active_trip: /trips/denmark-2026
travelling: false travelling: true
# Single source of truth for the site owner's account username. Backs both the
# front-end edit/delete UI gate and the server-side scope guards (KTD8): only
# this user (not merely any authenticated/super-admin account) may edit, delete,
# or see drafts on the active trip's feed.
owner_username: mischa owner_username: mischa
+1
View File
@@ -5,4 +5,5 @@ date: '2023-08-28'
date_start: '2023-08-28' date_start: '2023-08-28'
date_end: '2023-10-18' date_end: '2023-10-18'
cover_image: '' cover_image: ''
tagline: 'Seven weeks overland across Central Asia — the Pamir Highway, plov, and endless steppe'
--- ---
+3 -2
View File
@@ -5,8 +5,9 @@ date: '2026-07-10'
date_start: '2026-07-10' date_start: '2026-07-10'
date_end: '2026-07-20' date_end: '2026-07-20'
cover_image: bikepacking_denmark.jpeg cover_image: bikepacking_denmark.jpeg
tagline: '10 days along the West Coast to the top of Denmark' tagline: '560 km up Denmark''s wild North Sea coast to where two seas meet'
published: true published: false
autoconnect: intelligent_gpx autoconnect: intelligent_gpx
--- ---
A spontaneous adventure up the spectacular North Sea coast of Denmark, all the way to the northern tip where the North Sea and the Baltic meet. Roughly 560 km of cute little towns and strong winds!
+1
View File
@@ -5,4 +5,5 @@ date: '2025-09-01'
date_start: '2025-09-01' date_start: '2025-09-01'
date_end: '2025-09-08' date_end: '2025-09-08'
cover_image: '' cover_image: ''
tagline: '600 km of Tuscan gravel — hill towns, aperitivi, and relentless climbing'
--- ---
+1
View File
@@ -5,4 +5,5 @@ date: '2024-05-28'
date_start: '2024-05-28' date_start: '2024-05-28'
date_end: '2024-05-28' date_end: '2024-05-28'
cover_image: '' cover_image: ''
tagline: 'Gelato and Venetian walls on Slovenia''s slip of Adriatic coast'
--- ---
@@ -5,4 +5,5 @@ date: '2024-07-21'
date_start: '2024-07-21' date_start: '2024-07-21'
date_end: '2024-08-07' date_end: '2024-08-07'
cover_image: '' cover_image: ''
tagline: 'Three weeks across North America — Highway 1, craft beer, Niagara, and Mexico City'
--- ---
+1 -1
View File
@@ -206,7 +206,7 @@
{% endif %} {% endif %}
<div class="home-highlights-cta-wrap"> <div class="home-highlights-cta-wrap">
<a class="home-highlights-cta" href="/trips">Explore all past trips →</a> <a class="home-highlights-cta" href="/trips">Explore all trips →</a>
</div> </div>
</div> </div>
</div> </div>
@@ -26,7 +26,7 @@
</button> </button>
<nav class="site-nav" id="site-nav" aria-label="Main navigation"> <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 }}"{% 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> <a href="{{ base_url_absolute }}/trips"{% if page.template == 'trips' %} aria-current="page"{% endif %}>Trips</a>
{% if grav.user.authenticated %} {% if grav.user.authenticated %}
<a href="{{ base_url_absolute }}/post"{% if page.template == 'post-form' %} aria-current="page"{% endif %}>New Post</a> <a href="{{ base_url_absolute }}/post"{% if page.template == 'post-form' %} aria-current="page"{% endif %}>New Post</a>
<a href="{{ base_url_absolute }}/gpx-manager"{% if page.template == 'gpx-manager' %} aria-current="page"{% endif %}>GPX Manager</a> <a href="{{ base_url_absolute }}/gpx-manager"{% if page.template == 'gpx-manager' %} aria-current="page"{% endif %}>GPX Manager</a>
+1 -1
View File
@@ -2,7 +2,7 @@
{% block content %} {% block content %}
{% import 'macros/cover.html.twig' as cover %} {% import 'macros/cover.html.twig' as cover %}
<h1 class="trips-heading">Past Trips</h1> <h1 class="trips-heading">Trips</h1>
{# Owner gate (R1): broader than trip.html.twig's owner_can_edit — publishing {# Owner gate (R1): broader than trip.html.twig's owner_can_edit — publishing
works on ANY trip, not just the active one, so it's just owner identity. #} works on ANY trip, not just the active one, so it's just owner identity. #}
{% set is_owner = grav.user.authenticated {% set is_owner = grav.user.authenticated