{% 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 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 %} {% for module in page.collection() if module.template != 'modular/hero' %}
{{ module.content|raw }} {% endfor %} {% endblock %}