From 70b4e1ca7a8433b85f9ddd1b2332df232eb0af68 Mon Sep 17 00:00:00 2001 From: Mischa Date: Fri, 19 Jun 2026 02:01:06 +0200 Subject: [PATCH] fix: use trip-relative URL for entry back-link, add active_trip sync comment - entry.html.twig: replace hardcoded /tracker href with page.parent().url - post-form.md: add comment to keep pageconfig.parent in sync with active_trip in site.yaml --- pages/02.post/post-form.md | 1 + themes/intotheeast/templates/entry.html.twig | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/pages/02.post/post-form.md b/pages/02.post/post-form.md index b7b425a..288cc9b 100644 --- a/pages/02.post/post-form.md +++ b/pages/02.post/post-form.md @@ -4,6 +4,7 @@ template: post-form access: site.login: true +# Keep in sync with active_trip in user/config/site.yaml pageconfig: parent: '/trips/japan-korea-2026/dailies' slug_field: 'date,title' diff --git a/themes/intotheeast/templates/entry.html.twig b/themes/intotheeast/templates/entry.html.twig index 9961092..82acf5c 100644 --- a/themes/intotheeast/templates/entry.html.twig +++ b/themes/intotheeast/templates/entry.html.twig @@ -121,7 +121,7 @@ {% endif %} {% endblock %}