From eafbf840fa5b1312a03b1a4e6ec5b4d77f8ba329 Mon Sep 17 00:00:00 2001 From: Felix Friedrich Date: Sun, 10 Jan 2016 11:53:22 +0100 Subject: [PATCH] only show
if pagination is enabled --- templates/index.html | 2 -- templates/pagination.html | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/index.html b/templates/index.html index e798b78..ee7a8cb 100755 --- a/templates/index.html +++ b/templates/index.html @@ -41,10 +41,8 @@ {% include 'comments.html' %}

-
{% endfor %} {% include "pagination.html" %} -
{% endblock content %} diff --git a/templates/pagination.html b/templates/pagination.html index 20d50f9..0db81ba 100644 --- a/templates/pagination.html +++ b/templates/pagination.html @@ -1,4 +1,5 @@ {% if DEFAULT_PAGINATION %} +
Page {{ articles_page.number }} / {{ articles_paginator.num_pages }} +
{% endif %}