From 08843807299c0c23f2125eb1fd6947d1ea03fcba Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sat, 20 Nov 2021 18:39:28 +0100 Subject: Improved list structure --- templates/layouts/categorized_list.html | 21 ++++++++------------- templates/partials/grid_card.html | 2 +- 2 files changed, 9 insertions(+), 14 deletions(-) (limited to 'templates') diff --git a/templates/layouts/categorized_list.html b/templates/layouts/categorized_list.html index 690ab68..6f06a63 100644 --- a/templates/layouts/categorized_list.html +++ b/templates/layouts/categorized_list.html @@ -7,23 +7,18 @@ $body$
$for(list)$
-
-
-

- $it.title$ -

- $if(it.omitted)$$it.omitted$ more$endif$ -
- $if(it.description)$ - $it.description$ - $endif$ -
+ + $if(it.description)$ + + $endif$ $if(it.grid)$ -
+
$it.items:partials/grid_card()$
$else$ -
+
$it.items:partials/list_card()$
$endif$ diff --git a/templates/partials/grid_card.html b/templates/partials/grid_card.html index 449b25c..e1b7f78 100644 --- a/templates/partials/grid_card.html +++ b/templates/partials/grid_card.html @@ -30,7 +30,7 @@
$if(it.post_icon)$ - + $endif$ -- cgit v1.2.3-54-g00ecf