From 3c6957467fc401648369905efae98c0a228af752 Mon Sep 17 00:00:00 2001 From: jaseg Date: Sun, 19 Mar 2023 18:57:48 +0100 Subject: Update project link display --- themes/conspiracy/layouts/index.html | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'themes/conspiracy/layouts/index.html') diff --git a/themes/conspiracy/layouts/index.html b/themes/conspiracy/layouts/index.html index 28b5cc5..ab68f27 100644 --- a/themes/conspiracy/layouts/index.html +++ b/themes/conspiracy/layouts/index.html @@ -9,14 +9,17 @@ {{- end }} -

Recently updated projects

- {{ range first 2 (where site.RegularPages "Section" "==" "projects") }} - {{ partial "card.html" . }} - {{- end }} + {{- range site.Params.homepage_categories }} +

{{ .title }}

+ {{- range first .count (where site.RegularPages "Section" "==" .key) }} + {{ partial "card.html" . }} + {{- end }} -

Blog

- {{ range (where site.RegularPages "Section" "==" "blog") }} - {{ partial "card.html" . }} + {{- end }} {{- end }} -- cgit