{% load uniweb_filters wagtailcore_tags wagtailimages_tags %}
{% for block in page.content %} {% if block.block_type == "advanced_title" %} {% include_block block %} {% endif %} {% if block.block_type == "advanced_text" %} {% include_block block with first=forloop.first %} {% endif %} {% if block.block_type == "text_columns" %} {% include_block block with first=forloop.first %} {% endif %} {% if block.block_type == "advanced_text_columns" %} {% include_block block with first=forloop.first %} {% endif %} {% if block.block_type == "title" %}

{{ block.value }}

{% endif %} {% if block.block_type == "text" %}
{{ block.value|richtext }}
{% endif %} {% if block.block_type == "gallery" %}
{% for picture in block.value %} {% image picture width-2000 as img %} {% image picture fill-300x200 as thumb %}
{{ thumb.alt }}
{% endfor %}
{% endif %} {% if block.block_type == "table" %}
{% include_block block %}
{% endif %} {% if block.block_type == "jupyter" %}
{{ block|jupyterize }}
{% endif %} {% endfor %}