From 20c5ad5a7a737d721cb39b75852a79f20502da74 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sun, 31 Jul 2022 10:00:03 +0200 Subject: Simplified "list" list layout code --- templates/layouts/categorized_list.html | 7 ++++++- templates/layouts/list.html | 7 ++++++- templates/layouts/page.html | 13 +++---------- 3 files changed, 15 insertions(+), 12 deletions(-) (limited to 'templates/layouts') diff --git a/templates/layouts/categorized_list.html b/templates/layouts/categorized_list.html index 1a1048a..67dc466 100644 --- a/templates/layouts/categorized_list.html +++ b/templates/layouts/categorized_list.html @@ -47,7 +47,12 @@ $body$ $elseif(it.layout.is_gallery-3)$ $it.items:partials/gallery_card()$ $else$ - $it.items:partials/list_card()$ +
+ $it.items:partials/list_card()$ +
+
+ $it.items:partials/grid_card()$ +
$endif$ $if(it.omitted)$ diff --git a/templates/layouts/list.html b/templates/layouts/list.html index 508ff4c..cf54c4b 100644 --- a/templates/layouts/list.html +++ b/templates/layouts/list.html @@ -24,7 +24,12 @@ $body$ $elseif(list_layout.is_gallery-3)$ $list:partials/gallery_card()$ $else$ - $list:partials/list_card()$ +
+ $list:partials/list_card()$ +
+
+ $list:partials/grid_card()$ +
$endif$ diff --git a/templates/layouts/page.html b/templates/layouts/page.html index 3ba8d54..234e50e 100644 --- a/templates/layouts/page.html +++ b/templates/layouts/page.html @@ -6,22 +6,15 @@ itemid="$url.full$" >
- $if(date)$ - - $endif$ - $if(was_updated)$ + $if(last_update)$ $endif$ $if(draft)$ - - Draft - + Draft $endif$

-- cgit v1.2.3-70-g09d2