From c20ea9f6922557db29061a5d53c067ab20c734b9 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sat, 13 Nov 2021 18:03:55 +0100 Subject: Improved list generation, remove index template --- templates/layouts/categorized_list.html | 98 +++++++++++++++++++++++---------- 1 file changed, 69 insertions(+), 29 deletions(-) (limited to 'templates/layouts/categorized_list.html') diff --git a/templates/layouts/categorized_list.html b/templates/layouts/categorized_list.html index a3af43c..ad510ae 100644 --- a/templates/layouts/categorized_list.html +++ b/templates/layouts/categorized_list.html @@ -11,36 +11,76 @@ $body$

$it.title$

-
- $for(it.pages.all)$ - - $if(pages.all.list_read_indicators)$ -
- $endif$ - $if(pages.all.icon)$ - - - - $endif$ -
- $it.title$ -
- $if(it.date)$ - - $endif$ -
- $endfor$ -
+ $if(it.list_grid)$ +
+ $for(it.pages.all)$ + + $if(pages.all.list_read_indicators)$ +
+ $endif$ + $if(pages.all.icon)$ + + + + $endif$ +
+ $if(it.date)$ + + $it.title$ + $else$ + $it.title$ + $endif$ +
+ $if(list_icon)$ + + + + $endif$ +
+ $endfor$ +
+ $else$ +
+ $for(it.pages.all)$ + + $if(pages.all.list_read_indicators)$ +
+ $endif$ + $if(pages.all.icon)$ + + + + $endif$ +
+ $it.title$ +
+ $if(it.date)$ + + $endif$ + $if(list_icon)$ + + + + $endif$ +
+ $endfor$ +
+ $endif$ $endif$ $endfor$ - - -- cgit v1.2.3-70-g09d2