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:
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user