{% extends template('page', 'Combodo\\iTop\\Portal\\Brick\\AbstractBrick') %}

{% block pPageBodyClass %}{{ parent() }} page_aggregate_page_brick home{% endblock %}

{% block pMainHeaderTitle %}{{ oBrick.GetTitle()|dict_s }}{% endblock %}

{% block pMainContent %}
    <section class="tiles_wrapper">
        {% for brick in aggregatepage_bricks %}
            {% if aTilesRendering[brick.GetId] is defined %}
                {{ aTilesRendering[brick.GetId]|raw }}
            {% else %}
                {% include '' ~ brick.GetTileTemplatePath with {brick: brick} only %}
            {% endif %}
        {% endfor %}
    </section>
{% endblock %}
