{% extends "zinnia/base.html" %} {% load i18n comments zinnia_tags %} {% 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 %}{% endblock %} {% block content %} {% block entry-content %} {% with object_content=object.html_content|safe %} {% include "zinnia/_entry_detail.html" %} {% endwith %} {% endblock %} {% block entry-widgets %}
{% with next_entry=object.next_entry %} {% if next_entry %}

{% trans "Next entry" %}

{% endif %} {% endwith %} {% with previous_entry=object.previous_entry %} {% if previous_entry %}

{% trans "Previous entry" %}

{% endif %} {% endwith %} {% if object.related_published %}

{% trans "Related entries" %}

{% endif %}

{% trans "Similar entries" %}

{% get_similar_entries 5 %}
{% endblock %} {% block entry-comments %}

{% trans "Comments" %}

{% with comment_list=object.comments %} {% if comment_list.count %}
    {% for comment in comment_list %} {% endfor %}
{% 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 %} {% endwith %}
{% endblock %} {% block entry-pingbacks %}

{% trans "Pingbacks" %}

{% with pingback_list=object.pingbacks %} {% if pingback_list.count %}
    {% for pingback in pingback_list %}
  1. {{ pingback.user_name }} {% trans "on" %} {{ pingback.submit_date|date:"SHORT_DATETIME_FORMAT" }}

    {{ pingback.comment }}

  2. {% endfor %}
{% endif %} {% if object.pingback_enabled %}

{% trans "Pingbacks are open." %}

{% else %}

{% trans "Pingbacks are closed." %}

{% endif %} {% endwith %}
{% endblock %} {% block entry-trackbacks %} {% with trackback_list=object.trackbacks %} {% if trackback_list.count or object.pingback_enabled %}

{% trans "Trackbacks" %}

{% if trackback_list.count %}
    {% for trackback in trackback_list %}
  1. {{ trackback.user_name }} {% trans "on" %} {{ trackback.submit_date|date:"SHORT_DATETIME_FORMAT" }}

    {{ trackback.comment }}

  2. {% endfor %}
{% endif %} {% if object.pingback_enabled %}

{% trans "Trackback URL" %}

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