{% load tagging_tags comments i18n %}

{{ object.title }}

{% if object.authors.count %} {% trans "Written by" %} {% for author in object.authors.all %} {% if not forloop.last %}, {% endif %} {% endfor %} {% trans "on" %} {% else %} {% trans "Written on" %} {% endif %} {{ object.creation_date|date:"DATE_FORMAT" }} {% if object.categories.count %} {% trans "in" %} {% for category in object.categories.all %} {{ category }}{% if not forloop.last %}, {% endif %}{% endfor %}{% endif %}.

{% if object.image %}

{{ object.title }}

{% endif %}
{{ object_content }}

{% trans "Tags" %} : {% tags_for_object object as tag_list %} {% for tag in tag_list %} {% empty %} {% trans "No tags" %} {% endfor %}

{% trans "Short url" %} : {% if object.short_url %} {{ object.short_url }} {% else %} {% trans "Unavailable" %} {% endif %}

{% trans "Discussions" %} : {% with object.comments.count as comment_count %} {% if comment_count %} {% blocktrans count comment_count as comment_count %}{{ comment_count }} comment{% plural %}{{ comment_count }} comments{% endblocktrans %} {% else %} {% if object.comments_are_open %} {% trans "No comments yet." %} {% trans "Be first to comment!" %} {% else %} {% trans "Comments are closed." %} {% endif %} {% endif %} {% endwith %} {% with object.pingbacks.count as pingback_count %} {% if pingback_count %} , {% blocktrans count pingback_count as pingback_count %}{{ pingback_count }} pingback{% plural %}{{ pingback_count }} pingbacks{% endblocktrans %} {% endif %} {% endwith %} {% with object.trackbacks.count as trackback_count %} {% if trackback_count %} , {% blocktrans count trackback_count as trackback_count %}{{ trackback_count }} trackback{% plural %}{{ trackback_count }} trackbacks{% endblocktrans %} {% endif %} {% endwith %}