Merge pull request #48 from yoel-zeldes/disable_pagination_when_no_pages

don't show pagination if there's only one page
This commit is contained in:
Gilson Filho
2016-09-13 15:51:15 -03:00
committed by GitHub

View File

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