summaryrefslogtreecommitdiff
path: root/templates/pages/show.jinja
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--templates/pages/show.jinja6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/pages/show.jinja b/templates/pages/show.jinja
index 895a107..57bb1b3 100644
--- a/templates/pages/show.jinja
+++ b/templates/pages/show.jinja
@@ -34,12 +34,12 @@
{# Note: exps are given _reversed_, i.e. "exps | last" is
the _first_ on the timeline #}
- {% set d = prev_date(exps | last) %}
+ {% set d = exps | last | prev_date %}
{{ left_arrow(url_for(".show_date", **d), d | date) }}
{% set first = exps | first %}
- {% if not is_last(first) %}
- {% set d = next_date(first) %}
+ {% if not first is last_date %}
+ {% set d = first | next_date %}
{{ right_arrow(url_for(".show_date", **d), d | date) }}
{% endif %}
{% endblock content %}