Add previous/next buttons for blog posts

This commit is contained in:
2026-01-19 10:45:48 -08:00
parent 83d98ce852
commit 6f56d46516
2 changed files with 34 additions and 0 deletions

View File

@@ -12,3 +12,16 @@ layout: default
</div>
{{ content }}
<div class="project-footer">
<div>
{% if page.previous != nil %}
<a href="{{ page.previous.url }}">Previous</a>
{% endif %}
</div>
<div>
{% if page.next != nil %}
<a href="{{ page.next.url }}">Next</a>
{% endif %}
</div>
</div>