mirror of
https://github.com/monero-project/monero-site.git
synced 2024-12-23 03:59:26 +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 %}
|
||||
<div class="text-center page-numbers"><p>
|
||||
{% 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 %}
|
||||
<span>« Prev</span>
|
||||
{% endif %}
|
||||
|
@ -49,7 +49,7 @@ title: titles.allposts
|
|||
{% endfor %}
|
||||
|
||||
{% 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 %}
|
||||
<span>Next »</span>
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in a new issue