From a324ba7b649840c16d365b757b19db2849991f11 Mon Sep 17 00:00:00 2001 From: jaseg Date: Mon, 30 Jun 2025 14:48:34 +0200 Subject: WIP --- themes/conspiracy/layouts/home.html | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 themes/conspiracy/layouts/home.html (limited to 'themes/conspiracy/layouts/home.html') diff --git a/themes/conspiracy/layouts/home.html b/themes/conspiracy/layouts/home.html new file mode 100644 index 0000000..f865cd3 --- /dev/null +++ b/themes/conspiracy/layouts/home.html @@ -0,0 +1,25 @@ +{{- define "main" }} +
+

{{ .Title }}

+
+
+ {{- if .Content }} +
+ {{ .Content }} +
+ {{- end }} + + {{ range $config := site.Params.homepage_categories }} +

{{ .title }}

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