crunk
3 years ago
1 changed files with 3 additions and 2 deletions
@ -1,11 +1,12 @@ |
|||||
{% if DEFAULT_PAGINATION %} |
{% if DEFAULT_PAGINATION %} |
||||
<p class="paginator"> |
<p class="paginator"> |
||||
{% if articles_page.has_previous() %} |
{% if articles_page.has_previous() %} |
||||
<a href="/{{ articles_previous_page.url }}">«</a> |
|
||||
|
<a href="{% if DEFAULT_LANG == 'en' %}/en{% endif %}/{{ articles_previous_page.url }}">«</a> |
||||
{% endif %} |
{% endif %} |
||||
Page {{ articles_page.number }} / {{ articles_paginator.num_pages }} |
Page {{ articles_page.number }} / {{ articles_paginator.num_pages }} |
||||
{% if articles_page.has_next() %} |
{% if articles_page.has_next() %} |
||||
<a href="/{{ articles_next_page.url }}">»</a> |
<a href="{% if DEFAULT_LANG == 'en' %}/en{% endif %}/{{ articles_next_page.url }}">»</a> |
||||
{% endif %} |
{% endif %} |
||||
</p> |
</p> |
||||
{% endif %} |
{% endif %} |
||||
|
Loading…
Reference in new issue