Clean up pagination links
This commit is contained in:
parent
d6b4397498
commit
7e57f25d1b
1 changed files with 3 additions and 3 deletions
|
@ -4,13 +4,13 @@
|
|||
{% if page.has_previous %}
|
||||
<a class="pagination-previous" href="{% querystring page=page.previous_page_number %}">←</a>
|
||||
{% else %}
|
||||
<a class="pagination-previous is-disabled">←</a>
|
||||
<span class="pagination-previous is-disabled">←</span>
|
||||
{% endif %}
|
||||
|
||||
{% if page.has_next %}
|
||||
<a class="pagination-next" href="{% querystring page=page.next_page_number %}">→</a>
|
||||
{% else %}
|
||||
<a class="pagination-next is-disabled">→</a>
|
||||
<span class="pagination-next is-disabled">→</span>
|
||||
{% endif %}
|
||||
|
||||
<ul class="pagination-list">
|
||||
|
@ -30,7 +30,7 @@
|
|||
{% endif %}
|
||||
|
||||
<li>
|
||||
<a class="pagination-link is-current" aria-label="Page {{ page.number }}" aria-current="page">{{ page.number }}</a>
|
||||
<a class="pagination-link is-current" aria-label="Page {{ page.number }}" aria-current="page" href="{% querystring page=page.number %}">{{ page.number }}</a>
|
||||
</li>
|
||||
|
||||
{% if page.has_next %}
|
||||
|
|
Loading…
Reference in a new issue