{% extends get_base_template() %}

{% block body %}
    <section class="clearfix">
        <h1>{{ page.pagetitle|default(page.title) }}</h1>

        {#{% for i in 0..page.children|length//3 %}#}
        <div class="row">
            {% for child_page in child_pages if child_page.status == 1 and child_page.travelProgram is not empty %}

                {% include 'default/components/pageBox.html.twig' %}

            {% endfor %}
        </div>

        {% if mediated_child_pages is not empty %}

            <h2>
                Vermittelte Rundreisen vom {{ page.country is not empty ? (page.country.name ~ '-') }}Spezialisten
                STERN TOURS aus Berlin
            </h2>

            <div class="row">
                {% for child_page in mediated_child_pages %}

                    {% include 'default/components/pageBox.html.twig' %}

                {% endfor %}
            </div>
        {% endif %}

    </section>

    <section class="clearfix">
        {{ page.content|keywords|raw }}
    </section>
{% endblock %}