blog/lib/layouts/post.njk
2023-08-15 23:02:17 +02:00

22 lines
281 B
Plaintext

{% extends "default.njk" %}
{% block main %}
{{ contents | safe }}
{% if previous %}
<p>
Previous:
<a href="/{{ previous.path }}">{{ previous.title }}</a>
</p>
{% endif %}
{% if next %}
<p>
Next:
<a href="/{{ next.path }}">{{ next.title }}</a>
</p>
{% endif %}
{% endblock %}