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 ++++------------------------ templates/layouts/deep_categorized_list.html | 54 ----------------- templates/layouts/list.html | 64 +-------------------- 3 files changed, 14 insertions(+), 190 deletions(-) delete mode 100644 templates/layouts/deep_categorized_list.html (limited to 'templates/layouts') 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$
diff --git a/templates/layouts/deep_categorized_list.html b/templates/layouts/deep_categorized_list.html deleted file mode 100644 index eec16c9..0000000 --- a/templates/layouts/deep_categorized_list.html +++ /dev/null @@ -1,54 +0,0 @@ -
- - - -
- - diff --git a/templates/layouts/list.html b/templates/layouts/list.html index b4647a1..7a9d573 100644 --- a/templates/layouts/list.html +++ b/templates/layouts/list.html @@ -8,71 +8,11 @@ $body$
$if(list_grid)$ $else$ $endif$
-- cgit v1.2.3-70-g09d2