blog/lib/layouts/post.njk

25 lines
588 B
Plaintext
Raw Normal View History

2023-08-15 23:02:17 +02:00
{% extends "default.njk" %}
{% block main %}
2023-11-16 09:34:09 +01:00
{{ contents | safe }}
2023-08-15 23:02:17 +02:00
2023-11-16 09:34:09 +01:00
{% if previous or next %}
<hr class="{{ classes.hr }}"/>
<div class="flex flex-row justify-around">
{% if previous %}
<p>
Previous: <a href="/{{ previous.path }}">{{ previous.title }}</a>
</p>
{% endif %}
2023-08-15 23:02:17 +02:00
2023-11-16 09:34:09 +01:00
{% if next %}
<p>
Next: <a href="/{{ next.path }}">{{ next.title }}</a>
</p>
{% endif %}
</div>
{% endif %}
2023-08-15 23:02:17 +02:00
{% endblock %}