{% extends 'base.html' %} {% load tz %} {% load static %} {% block title %}{{ post.title }}{% endblock %} {% block content %} {% autoescape off %}

{{ post.title }}

{% get_current_timezone as TIME_ZONE %}
Опубликован: {{ post.pub_date | date:'Y-m-d, H:i' }}
{{ post.text }}

Комментарии ({{ comments_count }})

{% for comment in comments %}
{% if comment.reply %}

{% if comment.is_anonym %} {{ comment.nickname }} {% else %} {{ comment.author }} {% endif %} отвечает {{ comment.reply.author_name }}:

{{ comment.reply.comment_text }}
{% else %}

{% if comment.is_anonym %} {{ comment.nickname }} {% else %} {{ comment.author }} {% endif %} говорит:

{% endif %}

{{ comment.comment_text }}

Ответить
{% endfor %}
{% csrf_token %}
{% endautoescape %} {% endblock %}