{% from "bootstrap5/form.html" import render_form %} {% include "header.html" %}

{{ post.title }}

{{ post.subtitle }}

Posted by {{ post.author.name }} on {{ post.date }}
{{ post.body|safe }} {% if current_user.id == 1 %} {% endif %} {{ ckeditor.load() }} {{ ckeditor.config(name='comment_text') }} {{ render_form(form, novalidate=True, button_map={"submit": "primary"}) }}
    {% for comment in post.comments: %}
  • {{comment.text|safe}} {{comment.comment_author.name}}
  • {% endfor %}
{% include "footer.html" %}