Skip to content

Commit b075057

Browse files
Copilotcalcode
andcommitted
Fix broken Older/Newer pagination URLs
Co-authored-by: calcode <8709992+calcode@users.noreply.github.com>
1 parent 1ef04f1 commit b075057

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ <h1 class="post-title">
2020

2121
<div class="pagination">
2222
{% if paginator.next_page %}
23-
<a class="pagination-item older" href="{{ site.baseurl }}page/{{paginator.next_page}}/">Older</a>
23+
<a class="pagination-item older" href="{{ site.baseurl }}page{{paginator.next_page}}/">Older</a>
2424
{% else %}
2525
<span class="pagination-item older">Older</span>
2626
{% endif %}
2727
{% if paginator.previous_page %}
2828
{% if paginator.page == 2 %}
2929
<a class="pagination-item newer" href="{{ site.baseurl }}">Newer</a>
3030
{% else %}
31-
<a class="pagination-item newer" href="{{ site.baseurl }}page/{{paginator.previous_page}}/">Newer</a>
31+
<a class="pagination-item newer" href="{{ site.baseurl }}page{{paginator.previous_page}}/">Newer</a>
3232
{% endif %}
3333
{% else %}
3434
<span class="pagination-item newer">Newer</span>

0 commit comments

Comments
 (0)