{% extends "zinnia/base.html" %} {% load i18n comments zinnia_tags %} {% load cycle from future %} {% block title %}{{ object.title }}{% endblock title %} {% block meta-description %}{{ object.excerpt|safe }}{% endblock meta-description %} {% block meta-keywords %}{% if object.tags %}{{ object.tags }}{% else %}{{ block.super }}{% endif %}{% endblock meta-keywords %} {% block link %} {{ block.super }} {% with previous_entry=object.previous_entry %}{% if previous_entry %} {% endif %}{% endwith %} {% with next_entry=object.next_entry %}{% if next_entry %} {% endif %}{% endwith %} {% with year=object.creation_date|date:"Y" month=object.creation_date|date:"m" day=object.creation_date|date:"d" %} {% endwith %} {% endblock link %} {% block body-class %}entry entry-{{ object.pk }}{% if object.featured %} featured{% endif %} year-{{ object.creation_date|date:"Y" }} month-{{ object.creation_date|date:"m" }} week-{{ object.creation_date|date:"W" }} day-{{ object.creation_date|date:"d" }}{% endblock body-class %} {% block content %} {% block entry-content %} {% include object.content_template with object_content=object.html_content %} {% endblock entry-content %} {% block entry-widgets %}
{% block entry-next-entry %} {% with next_entry=object.next_entry %} {% if next_entry %}

{% trans "Next entry" %}

{% endif %} {% endwith %} {% endblock entry-next-entry %} {% block entry-previous-entry %} {% with previous_entry=object.previous_entry %} {% if previous_entry %}

{% trans "Previous entry" %}

{% endif %} {% endwith %} {% endblock entry-previous-entry %} {% block entry-related-entries %} {% with entry_related=object.related_published %} {% if entry_related %}

{% trans "Related entries" %}

{% endif %} {% endwith %} {% endblock entry-related-entries %} {% block entry-similar-entries %}

{% trans "Similar entries" %}

{% get_similar_entries %}
{% endblock entry-similar-entries %}
{% endblock entry-widgets %} {% block entry-comments %}

{% trans "Comments" %}

{% if object.comment_count %} {% with comment_list=object.comments %}
    {% for comment in comment_list %}
  1. {{ comment.name }}

    {% if comment.url %} {{ comment.name }} {% else %} {{ comment.name }} {% endif %} {% trans "on" context "on date" %} {{ comment.submit_date|date:"SHORT_DATETIME_FORMAT" }} #

    {{ comment.comment|linebreaks }}
  2. {% endfor %}
{% endwith %} {% if not object.comments_are_open %}

{% trans "Comments are closed." %}

{% endif %} {% else %} {% if object.comments_are_open %}

{% trans "No comments yet." %}

{% else %}

{% trans "Comments are closed." %}

{% endif %} {% endif %}
{% endblock entry-comments %} {% block entry-pingbacks %}

{% trans "Pingbacks" %}

{% if object.pingback_count %} {% with pingback_list=object.pingbacks %}
    {% for pingback in pingback_list %}
  1. {{ pingback.name }} {% trans "on" context "on date" %} {{ pingback.submit_date|date:"SHORT_DATETIME_FORMAT" }} #

    {{ pingback.comment }}

  2. {% endfor %}
{% endwith %} {% endif %} {% if object.pingbacks_are_open %}

{% trans "Pingbacks are open." %}

{% else %}

{% trans "Pingbacks are closed." %}

{% endif %}
{% endblock entry-pingbacks %} {% block entry-trackbacks %} {% if object.trackback_count or object.trackbacks_are_open %}

{% trans "Trackbacks" %}

{% if object.trackback_count %} {% with trackback_list=object.trackbacks %}
    {% for trackback in trackback_list %}
  1. {{ trackback.name }} {% trans "on" context "on date" %} {{ trackback.submit_date|date:"SHORT_DATETIME_FORMAT" }} #

    {{ trackback.comment }}

  2. {% endfor %}
{% endwith %} {% endif %} {% if object.trackbacks_are_open %}

{% trans "Trackback URL" %}

{% endif %}
{% endif %} {% endblock entry-trackbacks %} {% block entry-comments-form %} {% if object.comments_are_open %} {% render_comment_form for object %} {% endif %} {% endblock entry-comments-form %} {% endblock content %} {% block admin-tools %} {% if perms.zinnia.change_entry %}
  • {% trans "Edit the entry" %}
  • {% endif %} {% endblock admin-tools %}