{% extends "base.html" %} {% block page_content %}

{{ post.title }}

{{ post.created_on.date }} |  Categories:  {% for category in post.categories.all %} {{ category.name }}   {% endfor %}

{{ post.body | linebreaks }}

Leave a comment:

{% csrf_token %}
{{ form.author }}
{{ form.body }}

Comments:

{% for comment in comments %}

On {{comment.created_on.date }}  {{ comment.author }} wrote:

{{ comment.body }}


{% endfor %}
{% endblock %}