{% extends "zinnia/base.html" %} {% load i18n zinnia %} {% block meta-description %}{% spaceless %} {% if category %} {% if category.description %} {{ category.description|striptags|safe }} {% else %} {% blocktrans with object=category %}The latest entries categorized under {{ object }}{% endblocktrans %} {% endif %} {% endif %} {% if tag %} {% blocktrans with object=tag %}The latest entries tagged with {{ object }}{% endblocktrans %} {% endif %} {% if author %} {% blocktrans with object=author %}The latest entries by {{ object }}{% endblocktrans %} {% endif %} {% endspaceless %}{% endblock meta-description %} {% block meta-description-page %}{% if page_obj %}{% ifnotequal page_obj.number 1 %} {% blocktrans with object=page_obj.number %}page {{ object }}{% endblocktrans %}{% endifnotequal %}{% endif %}{% endblock meta-description-page %} {% block title %}{% spaceless %} {% if category %} {% blocktrans with object=category %}Category {{ object }}{% endblocktrans %} {% endif %} {% if tag %} {% blocktrans with object=tag %}Tag {{ object }}{% endblocktrans %} {% endif %} {% if author %} {% blocktrans with object=author %}Author {{ object }}{% endblocktrans %} {% endif %} {% endspaceless %}{% endblock title %} {% block title-page %}{% if page_obj %}{% ifnotequal page_obj.number 1 %} - {% blocktrans with object=page_obj.number %}Page {{ object }}{% endblocktrans %}{% endifnotequal %}{% endif %}{% endblock title-page %} {% block link %} {{ block.super }} {% if category %} {% endif %} {% if tag %} {% endif %} {% if author %} {% endif %} {% endblock link %} {% block body-class %}entry-list{% if page_obj %} paginated page-{{ page_obj.number }}{% endif %}{% if category %} category category-{{ category.slug }}{% endif %}{% if tag %} tag tag-{{ tag|slugify }}{% endif %}{% if author %} author author-{{ author|slugify }}{% endif %}{% endblock body-class %} {% block content %} {% block content-title %} {% if category %}

{% blocktrans %}Category archives: {{ category }}{% endblocktrans %}

{% if category.description %}

{{ category.description|striptags|safe }}

{% endif %}

{% blocktrans with object=category %}RSS feed of {{ object }}{% endblocktrans %}

{% endif %} {% if tag %}

{% blocktrans %}Tag archives: {{ tag }}{% endblocktrans %}

{% blocktrans with object=tag %}RSS feed of {{ object }}{% endblocktrans %}

{% endif %} {% if author %}

{% blocktrans %}Author archives: {{ author }}{% endblocktrans %}

{% blocktrans with object=author %}RSS feed of {{ object }}{% endblocktrans %}

{% endif %} {% endblock content-title %} {% block content-loop %} {% for object in object_list %} {% include object.content_template with object_content=object.html_preview continue_reading=1 %} {% empty %}

{% trans "No entries yet." %}

{% endfor %} {% endblock content-loop %} {% block content-pagination %} {% if is_paginated %} {% zinnia_pagination page_obj %} {% endif %} {% endblock content-pagination %} {% block content-related %} {% endblock content-related %} {% endblock content %} {% block admin-tools %} {% if category and perms.zinnia.change_category %}
  • {% trans "Edit the category" %}
  • {% endif %} {% if tag and perms.tagging.change_tag %}
  • {% trans "Edit the tag" %}
  • {% endif %} {% if author and perms.auth.change_user %}
  • {% trans "Edit the author" %}
  • {% endif %} {% endblock admin-tools %}