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/layouts/index.html | 29 +++++++++++++++++------------ 1 file changed, 17 insertions(+), 12 deletions(-) (limited to 'templates/layouts/index.html') 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-70-g09d2