8 lines
238 B
HTML
8 lines
238 B
HTML
|
{% if paginator.num_pages > 1 %}
|
||
|
<div class="pagination">
|
||
|
{% for i in paginator.page_range %}
|
||
|
<a class="pagenum{% if i == page_obj.number %} currentpage{% endif %}" href="?page={{ i }}">{{ i }}</a>
|
||
|
{% endfor %}
|
||
|
</div>
|
||
|
{% endif %}
|