From f3ffba9a7a2a797bdfef5678cc793fe678014368 Mon Sep 17 00:00:00 2001 From: Yoel Zeldes Date: Tue, 6 Sep 2016 08:57:14 +0300 Subject: [PATCH] don't show pagination if there's only one page --- templates/pagination.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/pagination.html b/templates/pagination.html index 4319656..22b7e54 100644 --- a/templates/pagination.html +++ b/templates/pagination.html @@ -1,4 +1,4 @@ -{% if DEFAULT_PAGINATION %} +{% if DEFAULT_PAGINATION and articles_paginator.num_pages > 1 %}