diff options
author | Andinus <andinus@nand.sh> | 2022-06-11 15:16:13 +0530 |
---|---|---|
committer | Andinus <andinus@nand.sh> | 2022-06-11 15:16:13 +0530 |
commit | 3e8364c123f9e54e17540c9fbe5cdcc072355079 (patch) | |
tree | 74e17c8352ecc928669553687835869944de922f /templates | |
parent | 7b24df0be78fb9ba59e7ef4c6d7210530a19e98b (diff) | |
download | crater-3e8364c123f9e54e17540c9fbe5cdcc072355079.tar.gz |
Add styles for directory, improve gallery UX
Diffstat (limited to 'templates')
-rw-r--r-- | templates/gallery.crotmp | 2 |
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>>"> |