Rapsys Git
/
treebundle
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1f5c6c
)
Replace element path by name key
author
Raphaël Gertz
<git@rapsys.eu>
Thu, 14 Nov 2024 06:36:30 +0000
(07:36 +0100)
committer
Raphaël Gertz
<git@rapsys.eu>
Thu, 14 Nov 2024 06:36:30 +0000
(07:36 +0100)
templates/index.html.twig
patch
|
blob
|
history
diff --git
a/templates/index.html.twig
b/templates/index.html.twig
index 68daf1b02b92467d420ffbe57bca6961470ba1a6..75da781419d21f8a8386f4f7f9f418c0eeeaff0d 100644
(file)
--- a/
templates/index.html.twig
+++ b/
templates/index.html.twig
@@
-10,7
+10,7
@@
{% for id, element in album.elements %}
<section>
<header>
- <h3><a href="{{ element.link }}">{{ element.
path
}}</a></h3>
+ <h3><a href="{{ element.link }}">{{ element.
name
}}</a></h3>
</header>
<p>
TODO: miniature if target is a file or image list when directory ?