{% extends 'blog.html' %} {% load comment blog %} {% block title %}{{ entity.title }}{% endblock %} {% block content %}

{{ blog.name }} → {{ entity.title }}

{% if entity.description %}
{{ entity.description|default:""|escape }}
{% endif %} {% autoescape off %} {{ entity.text|default:""|wiki }} {% endautoescape %}
{{ entity.created|date:"j M Y, G:i" }} {% if entity.changed.date != entity.created.date %} (edited {{ entity.changed|date:"j M Y, G:i" }}) {% endif %} {% translate "from" %} {{ entity.author }} {% if entity.tags %} | Tags: {% for tag in entity.tags %} {{ tag.name }} {% if forloop.last %}, {% endif %} {% endfor %} {% endif %} {% if entity.manager %} | {% translate "Edit" %} | {% translate "Delete" %} {% endif %}
{% endblock %} {% block sidebar %} {% get_comment_count for entity as comment_count %}

{% translate "Comments" %} ({{ comment_count }})

{% render_comment_list for entity %} Show all comments
Add new comment

{% translate "Add comment" %}

{% render_comment_form for entity %}
{% endblock %}