{% load i18n feinheit_thumbnail %}

Blog

{% for object in object_list %}
{% if object.mediafilecontent_set.all.0.mediafile.type == 'image' %}
{% if object.mediafilecontent_set.all.0.mediafile.type == 'image' %} {% endif %} {{ object.published_on|date:"SHORT_DATE_FORMAT" }} | {{ object.title }} {{ object.richtextcontent_set.all.0.render }} {% if object.richtextcontent_set.all.1 %} {% trans 'more...' %} {% endif %}
{% else %} {{ object.published_on|date:"SHORT_DATE_FORMAT" }} | {{ object.title }} {{ object.richtextcontent_set.all.0.render }} {% if object.richtextcontent_set.all.1 %} {% trans 'more...' %} {% endif %} {% endif %}
{% if not forloop.last %}
{% endif %} {% endfor %} {% if page_obj.has_other_pages %}
{% endif %}