1 {% extends '@RapsysTree/_base.html.twig' %}
3 {% if albums is defined and albums %}
4 {% for id, album in albums %}
7 <h2><a href="{{ album.link }}">{{ album.slug|capitalize }}</a></h2>
9 {% if album.elements is defined and album.elements %}
10 {% for id, element in album.elements %}
13 <h3><a href="{{ element.link }}">{{ element.name }}</a></h3>
16 TODO: miniature if target is a file or image list when directory ?
23 {# TODO: XXX: add next and prev links ? #}