From 0a26fcbd0d77e87f5e8d56941782de2e9059250f Mon Sep 17 00:00:00 2001 From: Massimo Santini Date: Thu, 30 Jun 2011 23:46:29 +0200 Subject: [PATCH] Avoiding to generate 1/1 if pagination is set to false --- pelican/themes/notmyidea/templates/pagination.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pelican/themes/notmyidea/templates/pagination.html b/pelican/themes/notmyidea/templates/pagination.html index 9cce0237..74699c4e 100644 --- a/pelican/themes/notmyidea/templates/pagination.html +++ b/pelican/themes/notmyidea/templates/pagination.html @@ -1,3 +1,4 @@ +{% if WITH_PAGINATION %}

{% if articles_page.has_previous() %} {% if articles_page.previous_page_number() == 1 %} @@ -11,3 +12,4 @@ » {% endif %}

+{% endif %} \ No newline at end of file