{% load sekizai_tags i18n publieditor_filters %} {% if objects %} {% include 'content/cms_plugins/_modal_picture.html' %} {% for object in objects %}
{% include 'content/cms_plugins/_preference_buttons.html' %}

{{ object.content.date_content|date:"l d F Y" }}

{{ object.title }}

{% include 'content/cms_plugins/_tag_buttons.html' %}
{% if object.abstract %} {{ object.abstract|truncatewords_html:90|safe }} {% else %} {{ object.body|truncatewords_html:90|safe }} {% endif %}
{% if object.content.get_first_photo or object.content.get_first_table %}

{% if object.content.get_first_photo %} {% if object.content.get_photo_url_list|length > 1 %}
{% for photo in object.content.get_photo_url_list %} {% endfor %}
{% else %} {{ object.title }} {% endif %} {% elif object.content.get_first_table %} {{ object.title }} {% endif %}
{% endif %}
{% include 'content/cms_plugins/_content_footer.html' %}
{% endfor %} {% addtoblock "js" %} {% endaddtoblock "js" %} {% include "content/cms_plugins/content_paginator.html" %} {% else %}

{% trans 'No news found' %}

{% addtoblock "js" %} {% endaddtoblock "js" %} {% endif %}