{% extends "zinnia/base.html" %} {% load i18n comments zinnia_tags %} {% load url from future %} {% block title %}{{ object.title }}{% endblock %} {% block meta-description %}{% if object.excerpt %}{{ object.excerpt|striptags }}{% else %}{{ object.content|striptags|truncatewords:100 }}{% endif %}{% endblock %} {% block meta-keywords %}{% if object.tags %}{{ object.tags }}{% else %}{{ block.super }}{% endif %}{% endblock %} {% 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 %} {% 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 %} {% block content %} {% block entry-content %} {% include object.content_template with object_content=object.html_content|safe %} {% endblock %} {% block entry-widgets %}
{% endblock %} {% block entry-comments %}{% trans "Comments are closed." %}
{% endif %} {% else %} {% if object.comments_are_open %}{% trans "No comments yet." %}
{% else %}{% trans "Comments are closed." %}
{% endif %} {% endif %}{{ pingback.name }} {% trans "on" %} {{ pingback.submit_date|date:"SHORT_DATETIME_FORMAT" }} #
{{ pingback.comment }}
{% trans "Pingbacks are open." %}
{% else %}{% trans "Pingbacks are closed." %}
{% endif %}{{ trackback.name }} {% trans "on" %} {{ trackback.submit_date|date:"SHORT_DATETIME_FORMAT" }} #
{{ trackback.comment }}
{% if comment.url %} {{ comment.name }} {% else %} {{ comment.name }} {% endif %} {% trans "on" %} {{ comment.submit_date|date:"SHORT_DATETIME_FORMAT" }} #
{{ comment.comment|linebreaks }}