Use "Newer" and "Older" as pagination labels

This commit is contained in:
Helen Chong 2024-04-17 01:14:42 +08:00
parent 9d34559cc9
commit d59e8dbc15
2 changed files with 9 additions and 9 deletions

View File

@ -33,14 +33,14 @@ permalink: "/{{ page.fileSlug }}{% if pagination.pageNumber > 0 %}/page/{{ pagin
<p class="center-text">
{% if pagination.href.previous %}
<a href=" {{ pagination.href.previous }}">Previous</a>
<a href=" {{ pagination.href.previous }}">Newer</a>
{% else %}
Previous
Newer
{% endif %}
/
{% if pagination.href.next %}
<a href=" {{ pagination.href.next }}">Next</a>
<a href=" {{ pagination.href.next }}">Older</a>
{% else %}
Next
Older
{% endif %}
</p>
</p>

View File

@ -24,14 +24,14 @@ permalink: "/{{ page.fileSlug }}{% if pagination.pageNumber > 0 %}/page/{{ pagin
<p class="center-text">
{% if pagination.href.previous %}
<a href=" {{ pagination.href.previous }}">Previous</a>
<a href=" {{ pagination.href.previous }}">Newer</a>
{% else %}
Previous
Newer
{% endif %}
/
{% if pagination.href.next %}
<a href=" {{ pagination.href.next }}">Next</a>
<a href=" {{ pagination.href.next }}">Older</a>
{% else %}
Next
Older
{% endif %}
</p>