fix: story back button uses history.back(); add demo images; fix story dates for chronological interleaving
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user