summary refs log tree commit diff stats
path: root/templates/gallery.crotmp
diff options
context:
space:
mode:
Diffstat (limited to 'templates/gallery.crotmp')
-rw-r--r--templates/gallery.crotmp2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/gallery.crotmp b/templates/gallery.crotmp
index 253339e..6cc7fbf 100644
--- a/templates/gallery.crotmp
+++ b/templates/gallery.crotmp
@@ -14,7 +14,7 @@
     <div id="gallery">
       <@gallery : $i>
         <?{ $i.<type> eq 'directory' }>
-        <div class="directory"><$i.<text>></div>
+        <div><a href="./<$i.<text>>"><p class="directory"><$i.<text>></p></a></div>
         </?>
         <?{ $i.<type> eq 'img' }>
         <img alt="<$i.<alt>>" src="/resources/img/<$i.<src>>">