From 2dead666540586544c7628022ac71c60e4f27902 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sun, 14 Nov 2021 16:42:53 +0100 Subject: Improved semantic structure --- templates/layouts/categorized_list.html | 38 +++++++++++++++++---------------- 1 file changed, 20 insertions(+), 18 deletions(-) (limited to 'templates/layouts/categorized_list.html') diff --git a/templates/layouts/categorized_list.html b/templates/layouts/categorized_list.html index 20c0ee5..adeb762 100644 --- a/templates/layouts/categorized_list.html +++ b/templates/layouts/categorized_list.html @@ -1,27 +1,29 @@ - +
$for(list)$ -
-

- $it.title$ -

- $if(it.content)$ - $it.content$ +
+
+

+ $it.title$ +

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