Dont show older and newer buttons when pagination is disabled
This commit is contained in:
1 parent
3a92d3de28
commit
3127ea1c02
2 files changed
+3
No files matched your search
@@ -15,6 +15,7 @@
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% if DEFAULT_PAGINATION %}
|
||||
<div class="pagination">
|
||||
|
||||
{% if articles_page.has_previous() %}
|
||||
@@ -30,4 +31,5 @@
|
||||
<span class="pagination-item newer">Older</span>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
Reference in new issue
Block a user