From f9a74f5ca7c1e919bba46d99d65a7b3a893a7bd7 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sun, 14 Nov 2021 10:28:18 +0100 Subject: List improvements --- templates/layouts/categorized_list.html | 11 ++++++++--- templates/partials/grid_card.html | 3 +++ templates/partials/list_card.html | 6 ++++++ 3 files changed, 17 insertions(+), 3 deletions(-) (limited to 'templates') diff --git a/templates/layouts/categorized_list.html b/templates/layouts/categorized_list.html index aea8863..256e9de 100644 --- a/templates/layouts/categorized_list.html +++ b/templates/layouts/categorized_list.html @@ -7,9 +7,14 @@ $body$
$for(list)$ -

- $it.title$ -

+
+

+ $it.title$ +

+ $if(it.content)$ + $it.content$ + $endif$ +
$if(it.grid)$
$it.items:partials/grid_card()$ diff --git a/templates/partials/grid_card.html b/templates/partials/grid_card.html index 25c2271..4b24711 100644 --- a/templates/partials/grid_card.html +++ b/templates/partials/grid_card.html @@ -9,7 +9,10 @@ $endif$
$if(it.subtitle)$ + $it.title$ $it.subtitle$ + $elseif(it.category)$ + $it.category$ $it.title$ $elseif(it.date)$
+ $elseif(it.category)$ +
+ + $it.category$ + +
$elseif(it.date)$