Compare commits

...
6 Commits
9 changed files with 12 additions and 11 deletions
+2 -6
View File
@@ -5,10 +5,6 @@ author:
metadata:
description: 'Into the East — travel journal'
description: 'A travel blog by Mischa'
active_trip: /trips/us-canada-mex-2024
travelling: false
# 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.
active_trip: /trips/denmark-2026
travelling: true
owner_username: mischa
+1
View File
@@ -5,4 +5,5 @@ date: '2023-08-28'
date_start: '2023-08-28'
date_end: '2023-10-18'
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_end: '2026-07-20'
cover_image: bikepacking_denmark.jpeg
tagline: '10 days along the West Coast to the top of Denmark'
published: true
tagline: '560 km up Denmark''s wild North Sea coast to where two seas meet'
published: false
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_end: '2025-09-08'
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_end: '2024-05-28'
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_end: '2024-08-07'
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 %}
<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>
@@ -26,7 +26,7 @@
</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>
<a href="{{ base_url_absolute }}/trips"{% if page.template == 'trips' %} aria-current="page"{% endif %}>Trips</a>
{% 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 }}/gpx-manager"{% if page.template == 'gpx-manager' %} aria-current="page"{% endif %}>GPX Manager</a>
+1 -1
View File
@@ -2,7 +2,7 @@
{% block content %}
{% 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
works on ANY trip, not just the active one, so it's just owner identity. #}
{% set is_owner = grav.user.authenticated