{% extends "blog/base_blog.html" %} {% load i18n %} {% block title %}{{ object.title }}{% endblock %} {% block body_class %}{{ block.super }} post_detail{% endblock %} {% block body_id %}post_{{ object.id }}{% endblock %} {% block content_title %}

{{ object.title }}

{% endblock %} {% block content %} {% load comments %}

{{ object.publish|date:"j F Y" }}

{{ object.body|safe }}
{% get_comment_list for object as comment_list %} {% if comment_list %}

{% trans "Comments" %}

{% for comment in comment_list %} {% if comment.is_public %}
{{ forloop.counter }} {% if comment.user_url %}{{ comment.user_name }}{% else %}{{ comment.user_name }}{% endif %} {% trans "says" %}...
{{ comment.comment|urlizetrunc:"60" }}

{% trans "Posted at" %} {{ comment.submit_date|date:"P" }} {% trans "on" %} {{ comment.submit_date|date:"F j, Y" }}

{% endif %} {% endfor %}
{% endif %} {% if object.allow_comments %} {% render_comment_form for object %} {% else %}

{% trans "Comments are closed" %}.

{% trans "Comments have been closed for this post" %}.

{% endif %} {% endblock %}