X-Git-Url: https://git.rapsys.eu/treebundle/blobdiff_plain/6ac58a47c1fa39b19ca3ad3a6d2a09ccb32abf55..d3798da0c79794f2355b3002b36faf7e8e8fc95e:/templates/index.html.twig?ds=sidebyside 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 ?