{% extends 'partials/base.html.twig' %} {% macro pageLinkName(text) %}{{ text|lower|replace({' ':'_'}) }}{% endmacro %} {% import _self as macro %} {% set show_onpage_menu = header.onpage_menu == true or header.onpage_menu is null %} {% block javascripts %} {% if show_onpage_menu %} {% do assets.add('theme://js/singlepagenav.min.js') %} {% endif %} {{ parent() }} {% endblock %} {% block bottom %} {{ parent() }} {% if show_onpage_menu %} {% endif %} {% endblock %} {% block header_navigation %} {% if show_onpage_menu %} {% else %} {{ parent() }} {% endif %} {% endblock %} {% block hero %} {% for module in page.collection() if module.template == 'modular/hero' %}
{{ module.content|raw }} {% endfor %} {% endblock %} {% block body %}
{{page.content}}
{% for module in page.collection() %}

{{ module.title }}

{{ module.content|raw }} {% for child in module.collection %} {% set gal = child.header.blog.config %}
{% if child.title %}

{{ child.title }}

{% endif %} {% if child.content %}
{{ child.content }}
{% endif %}
{% for images in child.media.images %} {{ images.html }}
{{ child.content }}
{% endfor %}
{% if gal %} {% else %} {% for item in child.collection %}

{{ item.title }}

{{ item.content }}
{% for images in item.media.images %} {{ images.html }} {% endfor %}
{% endfor %} {% endif %}
{% endfor %}
{% endfor %} {% endblock %}