<div class="col-md-4 col-sm-6 visible-md visible-lg col-center">
    <ul class="footer-nav-1">
        {% for content in mainMenu %}
            {% if get_class_identifier(content.contentInfo.mainLocationId) == "lien" %}
                {% set link = get_link_by_content_id(content.id) %}
            {% else %}
                {% set link = path( 'ez_urlalias', {'locationId': content.contentInfo.mainLocationId} ) %}
            {% endif %}

            <li>
                <a href="{{ link }}" title="{{ ez_content_name(content)|raw }}" {% if content.fields.nouvelle_fenetre is defined and content.getFieldValue('nouvelle_fenetre').bool %}target="_blank"{% endif %}>
                    {{ ez_content_name(content)|raw }}
                </a>
            </li>
        {% endfor %}
    </ul>
</div>