From ac027192285ad741b3ac1b837e1c363beb8f3791 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sun, 14 Nov 2021 09:28:25 +0100 Subject: Generate special list metadata --- templates/layouts/categorized_list.html | 86 +++++---------------------------- 1 file changed, 12 insertions(+), 74 deletions(-) (limited to 'templates/layouts/categorized_list.html') diff --git a/templates/layouts/categorized_list.html b/templates/layouts/categorized_list.html index ad510ae..aea8863 100644 --- a/templates/layouts/categorized_list.html +++ b/templates/layouts/categorized_list.html @@ -6,80 +6,18 @@ $body$
- $for(pages.all)$ - $if(it.pages)$ -

- $it.title$ -

- $if(it.list_grid)$ - - $else$ - - $endif$ + $for(list)$ +

+ $it.title$ +

+ $if(it.grid)$ +
+ $it.items:partials/grid_card()$ +
+ $else$ +
+ $it.items:partials/list_card()$ +
$endif$ $endfor$
-- cgit v1.2.3-70-g09d2