{{ section.heading|ui }}
{% else %}{{ section.heading|ui }}
{% endif %}{% endif %} {% if section.kind == 'table' %}{% include 'components/table.html' %} {% elif section.kind == 'compact_table' %}{% include 'components/compact_table.html' %} {% elif section.kind == 'details' %}{% include 'components/details.html' %} {% elif section.kind == 'grid' %}{% include 'components/grid.html' %} {% elif section.kind in ['text', 'summary', 'description', 'references'] %}{% if section.format == 'markdown' %}{{ section.text|ui|markdown }}{% else %}{{ section.text|ui }}{% endif %}
{% elif section.kind == 'image' %}{% with asset=section %}{% include 'components/image.html' %}{% endwith %}
{% endif %}
{% for asset in section.images %}{% include 'components/image.html' %}{% endfor %}