{% load comments i18n zinnia_tags %}
{% block entry-header %}
{% block entry-title %}

{{ object.title|widont }}

{% endblock entry-title %} {% block entry-info %}
{% block entry-authors %} {% with authors=object.authors.all %} {% if authors|length %} {% trans "Written by" %} {% for author in authors %} {% if not forloop.last %}, {% endif %} {% endfor %} {% trans "on" context "on date" %} {% else %} {% trans "Written on" %} {% endif %} {% endwith %} {% endblock entry-authors %} {% block entry-published %} {{ object.creation_date|date:"DATE_FORMAT" }} {% endblock entry-published %} {% block entry-categories %} {% with categories=object.categories.all %} {% if categories|length %} {% trans "in" %} {% for category in categories %} {{ category }}{% if not forloop.last %}, {% endif %}{% endfor %}{% endif %}. {% endwith %} {% endblock entry-categories %}
{% endblock entry-info %} {% block entry-last-update %}

{% trans "Last update on" %} {{ object.last_update|date:"DATE_FORMAT" }}.

{% endblock entry-last-update %}
{% endblock entry-header %} {% block entry-body %}
{% block entry-image %} {% if object.image %}

{% if continue_reading %} {% endif %} {{ object.title }} {% if continue_reading %} {% endif %}

{% endif %} {% endblock entry-image %} {% block entry-content %}
{{ object_content|safe }}
{% endblock entry-content %} {% block continue-reading %} {% if continue_reading and object_content.has_more %}

{% trans "Continue reading" %}

{% endif %} {% endblock continue-reading %}
{% endblock entry-body %} {% block entry-footer %}
{% block entry-tags %} {% trans "Tags" %} : {% for tag in object.tags_list %} {% empty %} {% trans "No tags" %} {% endfor %} {% endblock entry-tags %} {% block entry-shorturl %}

{% trans "Short url" %} : {{ object.short_url }} {% endblock entry-shorturl %} {% block entry-discussions %}
{% trans "Discussions" %} : {% block entry-comments %} {% with comment_count=object.comment_count %} {% if comment_count %} {% blocktrans count comment_count=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 %} {% endblock entry-comments %} {% block entry-pingbacks %} {% with pingback_count=object.pingback_count %} {% if pingback_count %} , {% blocktrans count pingback_count=pingback_count %}{{ pingback_count }} pingback{% plural %}{{ pingback_count }} pingbacks{% endblocktrans %} {% endif %} {% endwith %} {% endblock entry-pingbacks %} {% block entry-trackbacks %} {% with trackback_count=object.trackback_count %} {% if trackback_count %} , {% blocktrans count trackback_count=trackback_count %}{{ trackback_count }} trackback{% plural %}{{ trackback_count }} trackbacks{% endblocktrans %} {% endif %} {% endwith %} {% endblock entry-trackbacks %}

{% endblock entry-discussions %}
{% endblock entry-footer %}