{% load i18n fluent_contents_tags fluent_blogs_tags %} {% comment %} This is a special template for the entry_archive and entry_detail pages. It manages the appearance of entries for both the archive and detail view in the same template. This is extended by: * fluent_blogs/entry_archive/item.html * fluent_blogs/entry_detail/contents.html Common appearance of the archive and detail pages can be included in this template. When both pages differ a lot, simply place the desired HTML in those pages instead of extending this base template. {% endcomment %} {% with comment_count=object.comments.count pingback_count=object.pingbacks.count trackback_count=object.trackbacks.count %} {% get_entry_url object as entry_url %} {% with comments_url=entry_url|add:"#comments" %}{# preserving backwards compatibility #} {% block entry-header %}
{% block entry-header-contents %}

{{ object.title }}

{% block entry-header-info %} {{ object.publication_date|date:"DATE_FORMAT" }} {% block categories %} {% with categories=object.categories.all %}{% if categories %} {% trans "in" %} {% for category in categories %} {{ category }}{% if not forloop.last %}, {% endif %} {% endfor %} {% endif %}{% endwith %} {% endblock %} {% endblock %}

{% endblock %}
{% endblock %} {% block entry-body %}
{% block entry-body-contents %}{% render_placeholder object.contents fallback=True %}{% endblock %}
{% endblock %} {% block entry-footer %} {% endblock %} {% endwith %} {% endwith %}