X-Git-Url: https://git.rapsys.eu/treebundle/blobdiff_plain/e2432989d03536f53ea8d9b6bf1cfc91c1b6077f..d1f5c6c9ff6d8e7435f0bfba5983b327c89266d4:/templates/index.html.twig?ds=inline diff --git a/templates/index.html.twig b/templates/index.html.twig index 0c95ed5..68daf1b 100644 --- a/templates/index.html.twig +++ b/templates/index.html.twig @@ -4,13 +4,13 @@ {% for id, album in albums %}
-

{{ album.slug }}

+

{{ album.slug|capitalize }}

- {% if album.assets is defined and album.assets %} - {% for id, asset in album.assets %} + {% if album.elements is defined and album.elements %} + {% for id, element in album.elements %}
-

{{ asset.path }}

+

{{ element.path }}

TODO: miniature if target is a file or image list when directory ?