X-Git-Url: https://git.rapsys.eu/treebundle/blobdiff_plain/6ac58a47c1fa39b19ca3ad3a6d2a09ccb32abf55..863d7cd4e4fa5ff8935b8575f219be5cfabc0e98:/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 ?