render fn

This commit is contained in:
m
2026-03-25 12:42:26 +01:00
parent 0272ec3d07
commit 1c23c05cc7
6 changed files with 145 additions and 15 deletions

View File

@@ -11,7 +11,7 @@ Simple Blog Template{% endblock %} {% block content %} {% from
<p>
<span class="glyphicon glyphicon-time"></span> Posted on {{ post.date }}
</p>
{{ render_post(post) }}
{{ content | safe }}
<div class="post-actions">
<a href="{{ url_for('home') }}" class="btn btn-default btn-custom"
>← Back to Posts</a