From bb2fb7edb4c101880e4b7f5162a87c6b501a8286 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Thu, 14 Nov 2024 07:36:30 +0100 Subject: [PATCH 1/1] Replace element path by name key --- templates/index.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/index.html.twig b/templates/index.html.twig index 68daf1b..75da781 100644 --- a/templates/index.html.twig +++ b/templates/index.html.twig @@ -10,7 +10,7 @@ {% for id, element in album.elements %}
-

{{ element.path }}

+

{{ element.name }}

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