{% extends "zinnia/base.html" %} {% load i18n comments zinnia %} {% load cycle from future %} {% block title %}{{ object.title }} | {{ block.super }}{% 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 %} {# Post Comments #} {% block entry-comments %}
{% trans "Comments" %}
{% for comment in comment_list %}-
{% block comment-image %}
{% endblock comment-image %}
{% block comment-info %}
{% if comment.url %}
{{ comment.name }}
{% else %}
{{ comment.name }}
{% endif %}
{% endblock comment-info %}
{% block comment-content %}
{{ comment.comment|linebreaks }}
{% endblock comment-content %}
{% endfor %}
{% endblock comments-loop %} {% 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 %}{% trans "Add your comment" %}