post renderer

This commit is contained in:
m
2026-03-14 12:36:13 +01:00
parent 4e1b11685f
commit 345a0d942f
2 changed files with 13 additions and 4 deletions

View File

@@ -0,0 +1,9 @@
{% macro render_post(post) %}
<article class="blog-content">
{% if post.template %} {% include post.template %} {% endif %} {{ post.content
| safe }}
</article>
<hr class="post-divider post-divider-expanded" />
{% endmacro %}