]> Raphaƫl G. Git Repositories - treebundle/blobdiff - templates/index.html.twig
Replace element path by name key
[treebundle] / templates / index.html.twig
index 68daf1b02b92467d420ffbe57bca6961470ba1a6..75da781419d21f8a8386f4f7f9f418c0eeeaff0d 100644 (file)
@@ -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 ?