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
This commit is contained in:
2026-06-19 02:01:06 +02:00
parent 24f3c14d77
commit 70b4e1ca7a
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -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'
+1 -1
View File
@@ -121,7 +121,7 @@
{% endif %}
<footer class="entry-footer">
<a href="{{ base_url_absolute }}/tracker">← Back to journal</a>
<a href="{{ page.parent().url }}">← Back to journal</a>
</footer>
</article>
{% endblock %}