From 46bad35efce8817fd9fae0450e416f820ff742ce Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Tue, 15 Nov 2016 13:50:20 +0100 Subject: Simplify older/newer logic MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Johannes Löthberg --- templates/entry.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'templates') diff --git a/templates/entry.html b/templates/entry.html index f5f11c7..730e48d 100644 --- a/templates/entry.html +++ b/templates/entry.html @@ -12,11 +12,11 @@
{% if older and newer%} - Older ({{ older['title'] }})Newer ({{ newer['title'] }}) + Older ({{ older[0]['title'] }})Newer ({{ newer[0]['title'] }}) {% elif older %} - Older ({{ older['title'] }}) + Older ({{ older[0]['title'] }}) {% elif newer %} - Newer ({{ newer['title'] }}) + Newer ({{ newer[0]['title'] }}) {% endif %}
{% endblock %} -- cgit v1.2.3-70-g09d2