X-Git-Url: https://git.rapsys.eu/treebundle/blobdiff_plain/6ac58a47c1fa39b19ca3ad3a6d2a09ccb32abf55..5ec7117fb4c06ccddc35f5de89dbbec77e3565ea:/templates/index.html.twig?ds=inline diff --git a/templates/index.html.twig b/templates/index.html.twig index 0c95ed5..75da781 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.name }}

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