post renderer
This commit is contained in:
9
templates/components/post_renderer.html
Normal file
9
templates/components/post_renderer.html
Normal 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 %}
|
||||
Reference in New Issue
Block a user