don't show pagination if there's only one page

This commit is contained in:
Yoel Zeldes 2016-09-06 08:57:14 +03:00
parent dc9ebae71a
commit f3ffba9a7a

View File

@ -1,4 +1,4 @@
{% if DEFAULT_PAGINATION %}
{% if DEFAULT_PAGINATION and articles_paginator.num_pages > 1 %}
<hr>
<!-- Pager -->
<ul class="pager">