{% extends "zinnia/base.html" %} {% load i18n zinnia_tags %} {% block content %} {% block content-title %} {% if category %}

{% blocktrans %}{{ category }}{% endblocktrans %}

{% if category.description %}

{{ category.description|striptags|safe }}

{% endif %} {% else %}

{% trans "News" %}

{% endif %} {% endblock %} {% block content-loop %} {% for object in object_list %} {% include object.content_template with object_content=object.html_content|truncatewords_html:100|safe continue_reading=1 %} {% if not forloop.last %}
{% endif %} {% empty %}

{% trans "No entries yet." %}

{% endfor %} {% endblock %} {% block content-pagination %} {% if is_paginated %} {% zinnia_pagination page_obj %} {% endif %} {% endblock %} {% block content-related %}{% endblock %} {% endblock %}