From 92e3b5f49f6f5336530988e7839ab3ed283b86e4 Mon Sep 17 00:00:00 2001 From: jaseg Date: Sun, 19 Mar 2023 00:53:31 +0100 Subject: Big site update --- themes/conspiracy/layouts/index.html | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 themes/conspiracy/layouts/index.html (limited to 'themes/conspiracy/layouts/index.html') diff --git a/themes/conspiracy/layouts/index.html b/themes/conspiracy/layouts/index.html new file mode 100644 index 0000000..28b5cc5 --- /dev/null +++ b/themes/conspiracy/layouts/index.html @@ -0,0 +1,22 @@ +{{- define "main" }} +
+

{{ .Title }}

+
+
+ {{- if .Content }} +
+ {{ .Content }} +
+ {{- end }} + +

Recently updated projects

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

Blog

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