blog/lib/layouts/post.njk

22 lines
281 B
Plaintext
Raw Normal View History

2023-08-15 23:02:17 +02:00
{% 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 %}