{% load wagtailcore_tags wagtailimages_tags puput_tags %}
{% for entry in blogentries %}
{% if entry.header_image %} {% image entry.header_image fill-360x270 %} {% endif %}

{{ entry.title }}

{% if entry.excerpt %} {{ entry.excerpt|striptags }} {% else %} {{ entry.body|striptags|truncatewords_html:40 }} {% endif %}

...
{% empty %} {% endfor %}

Partner news

{% for entry in newsentries %}
{% if entry.visual %}
{% else %}
{% endif %}

{{ entry.title|striptags|truncatewords_html:10 }}

{{ entry.author }}

{% empty %} {% endfor %}