fix: story back button uses history.back(); add demo images; fix story dates for chronological interleaving

This commit is contained in:
2026-06-20 00:05:53 +02:00
parent 3bd1e61817
commit 3772a64a0e
10 changed files with 15 additions and 15 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
{% extends 'partials/base.html.twig' %}
{% block nav %}
<a class="story-escape" href="{{ page.parent().url }}">← Stories</a>
<a class="story-escape" href="{{ page.parent().url }}" onclick="if(history.length > 1){ history.back(); return false; }">← Back</a>
{% endblock %}
{% block content %}
@@ -46,7 +46,7 @@
{{ page.content|raw }}
<footer class="story-footer">
<a href="{{ page.parent().url }}">← Back to stories</a>
<a href="{{ page.parent().url }}" onclick="if(history.length > 1){ history.back(); return false; }">← Back</a>
</footer>
</div>