<div class="container-slider">
    <ul class="slider-home">
        {% for slide in slides %}
            <li class="slide" style="background-image: url('{{ asset('uploads/picture/slider/'~ slide.picture) }}');">
                <div class="info-slide">
                    <a href="{{ slide.link }}" class="slide-link">
                        <h2>{{ slide.title }}</h2>
                        {% if slide.description is not empty %}
                            {{ slide.description|raw }}
                        {% endif %}
                    </a>
                </div>
            </li>
        {% endfor %}
    </ul>
</div>
