From 9fb5ed666cf428ae24ddcb1d5a306660526162be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?= Date: Mon, 15 Apr 2013 00:29:18 +0200 Subject: Moved the 'date' filter to the top-level --- templates/pages/show.jinja | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'templates/pages/show.jinja') diff --git a/templates/pages/show.jinja b/templates/pages/show.jinja index 57bb1b3..4b5170f 100644 --- a/templates/pages/show.jinja +++ b/templates/pages/show.jinja @@ -34,13 +34,13 @@ {# Note: exps are given _reversed_, i.e. "exps | last" is the _first_ on the timeline #} - {% set d = exps | last | prev_date %} - {{ left_arrow(url_for(".show_date", **d), d | date) }} + {% set d = exps | last | prev_date | date %} + {{ left_arrow(url_for(".show_date_str", p = d), d) }} {% set first = exps | first %} {% if not first is last_date %} - {% set d = first | next_date %} - {{ right_arrow(url_for(".show_date", **d), d | date) }} + {% set d = first | next_date | date %} + {{ right_arrow(url_for(".show_date_str", p = d), d) }} {% endif %} {% endblock content %} -- cgit v1.2.3