From dcceb30788af8433e8184ab15fe8833f5539145b Mon Sep 17 00:00:00 2001 From: Andinus Date: Sat, 11 Jun 2022 21:06:46 +0530 Subject: Gallery: Document code, add title fallback --- lib/Crater/Routes/Gallery.rakumod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Crater/Routes/Gallery.rakumod') 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 }; -- cgit 1.4.1-2-gfad0