{% extends "zinnia/base.html" %} {% load i18n tagging_tags 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 link %} {% endblock %} {% block content %}
{% with object.get_content|safe as object_content %} {% include "zinnia/_entry_detail.html" %} {% endwith %}

{% trans "Similar entries" %}

{% get_similar_entries 5 %}

{% trans "Related entries" %}


{% trans "Comments" %}

{% with object.get_comments as comment_list %} {% if comment_list.count %}
    {% for comment in comment_list %}
  1. {{ comment.user_name }}
    {% if comment.url %} {{ comment.user_name }} {% else %} {{ comment.user_name }} {% endif %} {% trans "on date" %} {{ comment.submit_date|date:"l d F Y H:i" }}
    {{ comment.comment }}
  2. {% endfor %}
{% if not object.comment_enabled %}

{% trans "Comments are closed." %}

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

{% trans "Not yet comments !" %}

{% endif %} {% endif %} {% endwith %}
{% if object.comment_enabled %}
{% render_comment_form for object %}
{% endif %} {% endblock %}