From 269433c6f84ce631d38fd7ffaed04ed3f7c2bf4f Mon Sep 17 00:00:00 2001 From: Volpeon Date: Tue, 20 Apr 2021 21:45:36 +0200 Subject: Support project previews --- templates/base.html | 15 +++++++-------- templates/layouts/index.html | 29 +++++++++++++++++------------ 2 files changed, 24 insertions(+), 20 deletions(-) (limited to 'templates') diff --git a/templates/base.html b/templates/base.html index 794f83f..4ebd507 100644 --- a/templates/base.html +++ b/templates/base.html @@ -63,18 +63,17 @@ ${layouts/categorized_list()} ${layouts/page()} $endif$ - - - - - - - - diff --git a/templates/layouts/index.html b/templates/layouts/index.html index f97588d..d1821f2 100644 --- a/templates/layouts/index.html +++ b/templates/layouts/index.html @@ -50,9 +50,9 @@ $body$ -
+
- + @@ -64,17 +64,22 @@ $body$
-
+
$for(subsections.projects.pages)$ - -
- $it.category.name$ - $it.title$ -
- - - -
+
+ $if(it.preview)$ + + $endif$ + +
+ $it.category.name$ + $it.title$ +
+ + + +
+
$endfor$
-- cgit v1.2.3-54-g00ecf