Merge pull request #11 from felixfriedrich/hr-fix

only show <hr> if pagination is enabled
This commit is contained in:
Gilson Filho 2016-01-11 09:31:49 -03:00
commit 96c5ff0355
2 changed files with 2 additions and 2 deletions

View File

@ -41,10 +41,8 @@
{% include 'comments.html' %}
</p>
</div>
<hr>
{% endfor %}
{% include "pagination.html" %}
<hr>
{% endblock content %}

View File

@ -1,4 +1,5 @@
{% if DEFAULT_PAGINATION %}
<hr>
<!-- Pager -->
<ul class="pager">
<li class="next">
@ -11,4 +12,5 @@
</li>
</ul>
Page {{ articles_page.number }} / {{ articles_paginator.num_pages }}
<hr>
{% endif %}