{% extends 'partials/base.html.twig' %}



{% block stylesheets %}
    {% do assets.addCss('theme://css/columns.css') %}
    {{ parent() }}
{% endblock %}

{% block body %}

{#    {{ localized_pages.instances | keys | join('<br>') }}#}

    <div class="claude-columns">
    {% for column_page_meta in page.header.pages %}
        {% set column = column_page_meta | to_page %}
        {% if column %}
        <section id="{{ macro.pageLinkName(column.menu) }}" class="claude-column">
            {{ column.content | raw }}
            {% include 'partials/contributions-incentive.html.twig' with {page: column} %}
        </section>
        {% else %}
            <p class="col-4">
                Column <code>{{ column_page_meta | join(' ') }}</code> not found.
            </p>
        {% endif %}
    {% endfor %}
    </div>
    {#{{ page.content|raw }}#}
{% endblock %}


{# Disable the Rosetta option of the language selector, for now. #}
{# How to access the Rosettas of the children poages? #}
{% block header_language_selection %}
{% embed 'partials/language-selector.html.twig' %}
    {% block polyglot_language_selector %}{% endblock %}
{% endembed %}
{% endblock %}
