make newest post link actually work
This commit is contained in:
@ -1,5 +1,9 @@
|
||||
---
|
||||
layout: layout/base.njk
|
||||
---
|
||||
{# {% set previousPost = collections.post | getPreviousCollectionItem(page) %}
|
||||
{% set nextPost = collections.post | getNextCollectionItem(page) %}
|
||||
|
||||
{% if previousPost %}Previous Blog Post: <a href="{{ previousPost.url }}">{{ previousPost.data.title }}</a>{% endif %}
|
||||
{% if nextPost %}Next Blog Post: <a href="{{ nextPost.url }}">{{ nextPost.data.title }}</a>{% endif %} #}
|
||||
<article class="blog-post">{{ content | safe}}</article>
|
Reference in New Issue
Block a user