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

{% block body %}
    <h1>SovSkeleton</h1>
    <ul>
    {% for page in pages %}
        <li>
            <h2>{{ page.title }}</h2>
            {% if page.gallery is defined %}
                {% for image in page.gallery %}
                    <img src="{{ lc_liip(image.path, 'thumbnail') }}" alt="{{ image.legend }}" />
                {% endfor %}
            {% endif %}
        </li>
    {% endfor %}
    </ul>
{% endblock body %}