{% if contents %}
    {#<div class="col-md-4 col-sm-12 last-col">#}
    {#<div class="suivez-nous">#}
    {#<h4>suivez-nous sur</h4>#}
    <ul class="rs-list">
        {% for content in contents %}
            {% set title = content.getFieldValue('titre').text %}
            <li>
                <a href="{{ content.getFieldValue('url').link }}" target="_blank">
                    {% if content.fields.image is defined and not ez_is_field_empty( content, "image" ) %}
                        {{ ez_render_field(content, 'image') }}
                    {% elseif content.fields.pictogramme and not ez_is_field_empty( content, "pictogramme" ) %}
                        <img src="{{ content.getFieldValue('pictogramme').uri }}" alt="{{ title|raw }}">
                    {% endif %}

                </a>
            </li>
        {% endfor %}
    </ul>
    {#</div>#}
    {#</div>#}
{% endif %}