{% extends "zinnia/base.html" %} {% load i18n tagging_tags zinnia_tags %} {% block link %} {% if category %} {% endif %} {% if tag %} {% endif %} {% if author %} {% endif %} {% endblock %} {% block content %} {% if category %}

{{ category.title }}

{% if category.description %}

{{ category.description|striptags|safe }}

{% endif %} {% endif %} {% if tag %}

{% trans "Tag" %} : {{ tag }}

{% endif %} {% if author %}

{% blocktrans with author.username as author %}Entries by {{ author }}{% endblocktrans %}

{% endif %} {% for object in object_list %}
{% with object.html_content|truncatewords_html:100|safe as object_content %} {% include "zinnia/_entry_detail.html" %} {% endwith %}

{% empty %} {% trans "No entries yet." %} {% endfor %} {% if is_paginated %}
{% blocktrans with page_obj.number as current_page and paginator.num_pages as total_page %}Page {{ current_page }} of {{ total_page }}{% endblocktrans %} {% if page_obj.has_previous %} « {% endif %} {% for page in page_range %} {% ifequal page_obj.number page %} {{ page }} {% else %} {{ page }} {% endifequal%} {% endfor %} {% if page_obj.has_next %} » {% endif %}
{% endif %} {% endblock %}