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

@ -34,4 +34,13 @@ layout: base.njk
{{ content | safe }}
</article>
{% set olderPost = collections.posts | getPreviousCollectionItem %}
{% set newerPost = collections.posts | getNextCollectionItem %}
{% set olderHref = olderPost.url %}
{% set newerHref = newerPost.url %}
{% set olderTitle = olderPost.data.title %}
{% set newerTitle = newerPost.data.title %}
{% set inPost = true %}
{% include "pagination.njk" %}
</heading-anchors>