From 5ede915c4990584fa0ae7747b9a5ad9a4e93acdd Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sun, 21 Nov 2021 08:08:14 +0100 Subject: Improved list structure again --- templates/layouts/categorized_list.html | 10 +++++----- templates/layouts/list.html | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'templates/layouts') diff --git a/templates/layouts/categorized_list.html b/templates/layouts/categorized_list.html index 6f06a63..7d53cbe 100644 --- a/templates/layouts/categorized_list.html +++ b/templates/layouts/categorized_list.html @@ -4,21 +4,21 @@ $body$ -
+
$for(list)$
- $if(it.description)$ - + $endif$ $if(it.grid)$ -
+
$it.items:partials/grid_card()$
$else$ -
+
$it.items:partials/list_card()$
$endif$ diff --git a/templates/layouts/list.html b/templates/layouts/list.html index a7d72db..f3e5768 100644 --- a/templates/layouts/list.html +++ b/templates/layouts/list.html @@ -4,13 +4,13 @@ $body$ -
+
$if(list_grid)$ -
+
$list:partials/grid_card()$
$else$ -
+
$list:partials/list_card()$
$endif$ -- cgit v1.2.3-54-g00ecf