diff options
author | Andinus <andinus@nand.sh> | 2022-06-11 21:06:46 +0530 |
---|---|---|
committer | Andinus <andinus@nand.sh> | 2022-06-11 21:06:46 +0530 |
commit | dcceb30788af8433e8184ab15fe8833f5539145b (patch) | |
tree | 2bcd3ed110096ab0cb06c981064b45f52a3c469c /lib/Crater/Routes/Gallery.rakumod | |
parent | 02f8885f05f09dcb57a358fcd3440eaf679c8c02 (diff) | |
download | crater-dcceb30788af8433e8184ab15fe8833f5539145b.tar.gz |
Gallery: Document code, add title fallback
Diffstat (limited to 'lib/Crater/Routes/Gallery.rakumod')
-rw-r--r-- | lib/Crater/Routes/Gallery.rakumod | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Crater/Routes/Gallery.rakumod b/lib/Crater/Routes/Gallery.rakumod index ede5010..ebf40b4 100644 --- a/lib/Crater/Routes/Gallery.rakumod +++ b/lib/Crater/Routes/Gallery.rakumod @@ -30,7 +30,7 @@ sub gallery-routes( template 'gallery.crotmp', { gallery => $gallery.list(sub-dir => @path), - title => $gallery.title(), + title => $gallery.title() // "Gallery", nav => @nav, show-nav => @path.elems ?? True !! False }; |