summary refs log tree commit diff stats
path: root/templates
diff options
context:
space:
mode:
authorAndinus <andinus@nand.sh>2022-06-11 15:16:13 +0530
committerAndinus <andinus@nand.sh>2022-06-11 15:16:13 +0530
commit3e8364c123f9e54e17540c9fbe5cdcc072355079 (patch)
tree74e17c8352ecc928669553687835869944de922f /templates
parent7b24df0be78fb9ba59e7ef4c6d7210530a19e98b (diff)
downloadcrater-3e8364c123f9e54e17540c9fbe5cdcc072355079.tar.gz
Add styles for directory, improve gallery UX
Diffstat (limited to 'templates')
-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>>">