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