From 789a593987be88bc3e16b8ceb7357c24ef9e5aa2 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sun, 14 Nov 2021 16:32:43 +0100 Subject: Optimized layout structure --- templates/layouts/categorized_list.html | 48 ++++++++++++++++----------------- 1 file changed, 23 insertions(+), 25 deletions(-) (limited to 'templates/layouts/categorized_list.html') diff --git a/templates/layouts/categorized_list.html b/templates/layouts/categorized_list.html index 256e9de..20c0ee5 100644 --- a/templates/layouts/categorized_list.html +++ b/templates/layouts/categorized_list.html @@ -1,29 +1,27 @@ -
- -
- $for(list)$ -
-

- $it.title$ -

- $if(it.content)$ - $it.content$ - $endif$ -
- $if(it.grid)$ -
- $it.items:partials/grid_card()$ -
- $else$ -
- $it.items:partials/list_card()$ -
+
+ $for(list)$ +
+

+ $it.title$ +

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