{% extends 'base.html' %} {% load datetime_filter %} {% load humanize %} {% block title %} {{ post.title }} {% endblock %} {% block body %}

{{post.title}}

{% if post.content_html %} {{ post.content_html | safe }} {% elif post.content_text %}
{{ post.content_text }}
{% endif %}

Comments

{% csrf_token %} {# TODO: Implement uploading media #}
{% for comment in comments %} {% include "comment.html" %} {% endfor %}
{% endblock %}