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
commit 71d886e3d7

View File

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