{% extends "zinnia/base.html" %} {% load i18n comments zinnia %} {% 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 %}
{% endblock entry-widgets %} {% block entry-pingbacks %}{{ pingback.name }} {% trans "on" context "on date" %} {{ pingback.submit_date|date:"SHORT_DATETIME_FORMAT" }} #
{% endblock pingback-info %} {% block pingback-content %}{{ pingback.comment }}
{% endblock pingback-content %}{% trans "Pingbacks are open." %}
{% else %}{% trans "Pingbacks are closed." %}
{% endif %} {% endblock pingbacks-status %}{{ trackback.name }} {% trans "on" context "on date" %} {{ trackback.submit_date|date:"SHORT_DATETIME_FORMAT" }} #
{% endblock trackback-info %} {% block trackback-content %}{{ trackback.comment }}
{% endblock trackback-content %}{% trans "Comments are closed." %}
{% endif %} {% else %} {% if object.comments_are_open %}{% trans "No comments yet." %}
{% else %}{% trans "Comments are closed." %}
{% endif %} {% endif %}
{% if comment.url %} {{ comment.name }} {% else %} {{ comment.name }} {% endif %} {% trans "on" context "on date" %} {{ comment.submit_date|date:"SHORT_DATETIME_FORMAT" }} #
{% endblock comment-info %} {% block comment-content %} {{ comment.comment|linebreaks }} {% endblock comment-content %}