{% load wagtailcore_tags wagtailimages_tags %} {% for child in content %} {% if child.block_type == 'h2' %}

{{ child }}

{% elif child.block_type == 'h3' %}

{{ child }}

{% elif child.block_type == 'pullquote' %}
{{ child.value.quote }} {% if child.value.attribution %}- {{ child.value.attribution }}{% endif %}
{% elif child.block_type == 'paragraph' %} {{ child.value|richtext }} {% elif child.block_type == 'aligned_image' %}
{% image child.value.image original as image %} {{ image.alt }} {% if child.value.caption %}
{{ child.value.caption|richtext }}
{% endif %}
{% elif child.block_type == 'video' %}
{{ child }}
{% else %} {{ child }} {% endif %} {% endfor %}