{% if newsList %}
    <div class="col-md-8">
        <div id="actu2Slider">
            {% for news in newsList %}
                {% if loop.first %}
                    <div class="container-left-actualite">
                        <a href="{{ path( 'ez_urlalias', {'locationId': news.contentInfo.mainLocationId} ) }}" title="{{ ez_content_name(news)|replace({'"': ''}) }}">
                            <div class="bloc-actu2">
                                <figure>{{ ez_render_field( news, "image", { 'template': 'AyalineEzActualitesCollectivitesBundle:fields:news_ezobjectrelation.html.twig', 'parameters': { 'alias': 'news_home_large_minisite' }} ) }}</figure>
                            </div>
                            <div class="accroche">
                                {% if rootContent.fields.actualite_gauche_intitule_accueil is defined and not ez_is_field_empty(rootContent,"actualite_gauche_intitule_accueil") %}
                                    <h2>{{ ez_render_field(rootContent, 'actualite_gauche_intitule_accueil') }}</h2>
                                {% endif %}
                                <h3>{{ ez_content_name(news)|raw }}</h3>
                                {% if news.fields.chapo is defined and not ez_is_field_empty(news, 'chapo') %}
                                    <div class="introduction-actualite">{{ ez_render_field(news, 'chapo')|raw }}</div>
                                {% endif %}
                                {% if news.fields.description is defined and not ez_is_field_empty(news, 'description') %}
                                    <div class="description"><p>{{ ez_render_field(news, 'description')|raw|truncate(321, '...')|striptags }}</p></div>
                                {% endif %}
                                {% if news.fields.tags is defined and not ez_is_field_empty(news, 'tags') %}
                                    <h4 class="thematique-actualite">{{ ez_render_field(news, 'tags')  }}</h4>
                                {% endif %}
                            </div>
                        </a>
                    </div>
                {% endif %}
            {% endfor %}
        </div>
    </div>
{% endif %}
{% if newsList_droite %}
    <div class="col-md-4">
        <div class="actu-wrapper scrollbar-macosx">
            <div class="bloc-right-actu">
                <div class="actu-list">
                    <ul>
                        {% for news in newsList_droite %}
                            <li>
                                <a href="{{ path( 'ez_urlalias', {'locationId': news.contentInfo.mainLocationId} ) }}"
                                   title="{{ ez_content_name(news)|replace({'"': ''}) }}">
                                    <div class="image-actu-droite">
                                        <figure>{{ ez_render_field( news, "image", { 'template': 'AyalineEzActualitesCollectivitesBundle:fields:news_ezobjectrelation.html.twig', 'parameters': { 'alias': 'news_home_small_minisite' }} ) }}</figure>
                                    </div>
                                    <div class="description-actu-droite">
                                        <h3>{{ ez_content_name(news)|raw }}</h3>
                                        {% if news.fields.tags is defined and not ez_is_field_empty(news, 'tags') %}
                                            <h4 class="thematique-actualite">{{ ez_render_field(news, 'tags')  }}</h4>
                                        {% endif %}
                                    </div>
                                </a>
                            </li>
                        {% endfor %}
                    </ul>
                </div>
            </div>
        </div>
    </div>
{% endif %}