mirror of
https://github.com/monero-project/monero-site.git
synced 2025-01-10 21:05:04 +00:00
Fix broken 'next' and 'prev' in 'all posts'
This commit is contained in:
parent
bb514879b9
commit
4688d8874c
1 changed files with 2 additions and 2 deletions
|
@ -33,7 +33,7 @@ title: titles.allposts
|
||||||
{% if paginator.total_pages > 1 %}
|
{% if paginator.total_pages > 1 %}
|
||||||
<div class="text-center page-numbers"><p>
|
<div class="text-center page-numbers"><p>
|
||||||
{% if paginator.previous_page %}
|
{% if paginator.previous_page %}
|
||||||
<a href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">« Prev</a>
|
<a href="{{ paginator.previous_page_path | replace: '//', '/' }}">« Prev</a>
|
||||||
{% else %}
|
{% else %}
|
||||||
<span>« Prev</span>
|
<span>« Prev</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -49,7 +49,7 @@ title: titles.allposts
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
{% if paginator.next_page %}
|
{% if paginator.next_page %}
|
||||||
<a href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}">Next »</a>
|
<a href="{{ paginator.next_page_path | replace: '//', '/' }}">Next »</a>
|
||||||
{% else %}
|
{% else %}
|
||||||
<span>Next »</span>
|
<span>Next »</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in a new issue