From 80716c79a7db19d6d95070125e1af7946a9849ec Mon Sep 17 00:00:00 2001 From: Volpeon Date: Tue, 28 Dec 2021 21:18:02 +0100 Subject: Support for more complex layouts --- templates/layouts/categorized_list.html | 68 +++++++++++++++++---------------- 1 file changed, 35 insertions(+), 33 deletions(-) (limited to 'templates/layouts/categorized_list.html') diff --git a/templates/layouts/categorized_list.html b/templates/layouts/categorized_list.html index fd21017..76b8af1 100644 --- a/templates/layouts/categorized_list.html +++ b/templates/layouts/categorized_list.html @@ -1,39 +1,41 @@ - -
- $for(list)$ -
- - $if(it.description)$ - - $endif$ -
- $if(it.layout.is_grid)$ - $it.items:partials/grid_card()$ - $elseif(it.layout.is_gallery)$ - $it.items:partials/gallery_card()$ - $else$ - $it.items:partials/list_card()$ + +
+ $endfor$ +
-- cgit v1.2.3-54-g00ecf