From aa4c54317b51dc14ba65d2e091b701ae6640ee80 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Thu, 16 Jun 2022 13:42:26 +0200 Subject: WIP: Adding metadata --- templates/layouts/categorized_list.html | 98 +++++++++++++++++---------------- templates/layouts/list.html | 40 ++++++++------ templates/layouts/page.html | 22 +++++--- 3 files changed, 87 insertions(+), 73 deletions(-) (limited to 'templates/layouts') diff --git a/templates/layouts/categorized_list.html b/templates/layouts/categorized_list.html index 7667615..101f759 100644 --- a/templates/layouts/categorized_list.html +++ b/templates/layouts/categorized_list.html @@ -1,55 +1,59 @@ -
- - $if(notoc)$$else$ - - $endif$ + $if(notoc)$$else$ + + $endif$ -
- $for(list)$ -
-
- - $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()$ +
+ $if(it.omitted)$ + $endif$ -
- $if(it.omitted)$ - - $endif$ - - $endfor$ + + $endfor$ +
- + diff --git a/templates/layouts/list.html b/templates/layouts/list.html index ebbc2d4..105c7f5 100644 --- a/templates/layouts/list.html +++ b/templates/layouts/list.html @@ -1,23 +1,27 @@ -
- -
-
- $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 75ea3be..f64e50b 100644 --- a/templates/layouts/page.html +++ b/templates/layouts/page.html @@ -1,11 +1,17 @@ -
+ + -- cgit v1.2.3-54-g00ecf