From caa2570c5177246cb59808de4a225d6fee19c524 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Fri, 17 Jun 2022 10:59:19 +0200 Subject: Update --- templates/layouts/categorized_list.html | 104 +++++++++++++++++--------------- templates/layouts/list.html | 46 +++++++------- templates/layouts/page.html | 12 +++- 3 files changed, 88 insertions(+), 74 deletions(-) (limited to 'templates/layouts') diff --git a/templates/layouts/categorized_list.html b/templates/layouts/categorized_list.html index 101f759..206c566 100644 --- a/templates/layouts/categorized_list.html +++ b/templates/layouts/categorized_list.html @@ -1,59 +1,63 @@ -
-
- - $if(notoc)$$else$ - - $endif$ - -
+ $if(notoc)$$else$ + + $endif$ + +
+ $for(list)$ +
+
+
- $if(it.omitted)$ - + + $if(it.description)$ + + $endif$ + +
+ $if(it.layout.is_grid-2)$ + $it.items:partials/grid_card()$ + $elseif(it.layout.is_grid-3)$ + $it.items:partials/grid_card()$ + $elseif(it.layout.is_gallery-2)$ + $it.items:partials/gallery_card()$ + $elseif(it.layout.is_gallery-3)$ + $it.items:partials/gallery_card()$ + $else$ + $it.items:partials/list_card()$ $endif$ - - $endfor$ -
+
+ $if(it.omitted)$ + + $endif$ + + $endfor$
diff --git a/templates/layouts/list.html b/templates/layouts/list.html index 105c7f5..66a08fd 100644 --- a/templates/layouts/list.html +++ b/templates/layouts/list.html @@ -1,27 +1,31 @@ -
-
- -
-
- $if(list_layout.is_grid-2)$ - $list:partials/grid_card()$ - $elseif(list_layout.is_grid-3)$ - $list:partials/grid_card()$ - $elseif(list_layout.is_gallery-2)$ - $list:partials/gallery_card()$ - $elseif(list_layout.is_gallery-3)$ - $list:partials/gallery_card()$ - $else$ - $list:partials/list_card()$ - $endif$ -
+
+
+ $if(list_layout.is_grid-2)$ + $list:partials/grid_card()$ + $elseif(list_layout.is_grid-3)$ + $list:partials/grid_card()$ + $elseif(list_layout.is_gallery-2)$ + $list:partials/gallery_card()$ + $elseif(list_layout.is_gallery-3)$ + $list:partials/gallery_card()$ + $else$ + $list:partials/list_card()$ + $endif$
diff --git a/templates/layouts/page.html b/templates/layouts/page.html index 554ba45..a91d6ad 100644 --- a/templates/layouts/page.html +++ b/templates/layouts/page.html @@ -1,5 +1,11 @@ -
-
+
+
$if(date)$
$date.long$ @@ -10,7 +16,7 @@ $title$ -