post-to-post pagination and a few spacing tweaks

This commit is contained in:
2026-02-19 17:22:15 -08:00
parent 3249c8305f
commit 94716d8e63
4 changed files with 38 additions and 7 deletions

View File

@ -1,17 +1,17 @@
{% if olderHref or newerHref %}
<nav aria-label="pagination">
<ol class="pagination">
<ol class="pagination {% if inPost %}post-pagination{% endif %}">
{% if olderHref %}
<li class="older">
<a href="{{ olderHref }}">
<i class="fa-solid fa-hand-point-left" aria-hidden="true"></i> older
<i class="fa-solid fa-hand-point-left" aria-hidden="true"></i> {{ olderTitle or "older" }}
</a>
</li>
{% endif %}
{% if newerHref %}
<li class="newer">
<a href="{{ newerHref }}">
newer <i class="fa-solid fa-hand-point-right" aria-hidden="true"></i>
{{ newerTitle or "newer" }} <i class="fa-solid fa-hand-point-right" aria-hidden="true"></i>
</a>
</li>
{% endif %}