Update 'themes/varia/templates/pagination.html'
fixed issue pagination language url for the English language
This commit is contained in:
parent
0609bc9791
commit
0391e93a4a
@ -1,11 +1,12 @@
|
||||
{% if DEFAULT_PAGINATION %}
|
||||
<p class="paginator">
|
||||
{% 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 %}
|
||||
Page {{ articles_page.number }} / {{ articles_paginator.num_pages }}
|
||||
{% 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 %}
|
||||
</p>
|
||||
{% endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user