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 }}</a></h2>
9 {% if album.assets is defined and album.assets %}
10 {% for id, asset in album.assets %}
13 <h3><a href="{{ asset.link }}">{{ asset.path }}</a></h3>
16 TODO: miniature if target is a file or image list when directory ?
23 {# TODO: XXX: add next and prev links ? #}