From fde3ebeb30424401555e0506100126004562c330 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Wed, 22 Dec 2021 07:57:02 +0100 Subject: More compact list templates --- templates/layouts/categorized_list.html | 62 +++++++++------------------------ 1 file changed, 17 insertions(+), 45 deletions(-) (limited to 'templates/layouts/categorized_list.html') diff --git a/templates/layouts/categorized_list.html b/templates/layouts/categorized_list.html index 50555f8..e0bd1db 100644 --- a/templates/layouts/categorized_list.html +++ b/templates/layouts/categorized_list.html @@ -13,55 +13,27 @@ $body$ $if(it.description)$ $endif$ - $if(it.layout.is_grid)$ -
+
+ $if(it.layout.is_grid)$ $it.items:partials/grid_card()$ - $if(it.omitted)$ - -
-
- $it.omitted$ more items -
- - - -
-
- $endif$ -
- $elseif(it.layout.is_gallery)$ - - $else$ -
+ $else$ $it.items:partials/list_card()$ - $if(it.omitted)$ - - + + $endif$ +
$endfor$
-- cgit v1.2.3-70-g09d2