From cc1220bfd794dff1fc28bd39cafb63c4b1093cf8 Mon Sep 17 00:00:00 2001 From: Jean-Pierre Appel Date: Mon, 25 Dec 2023 17:17:21 -0500 Subject: rewrite layouts --- layouts/index.html | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 layouts/index.html (limited to 'layouts/index.html') diff --git a/layouts/index.html b/layouts/index.html new file mode 100644 index 0000000..de37c3e --- /dev/null +++ b/layouts/index.html @@ -0,0 +1,49 @@ +{{ define "header" }} + +{{ end }} +{{ define "main" }} + +
+
+

Projects

+
    + {{ range first 3 (where .Site.RegularPages "Section" "projects") }} + {{ partial "section_preview.html" . }} + {{ end }} +
+
+
+

Research

+
    + {{ range first 3 (where .Site.RegularPages "Section" "research") }} + {{ partial "section_preview.html" . }} + {{ end }} +
+
+
+

Blog

+
    + {{ range (where .Site.RegularPages "Section" "blog") }} + {{ partial "section_preview.html" . }} + {{ end }} +
+
+
+{{ end }} +{{ define "footer" }} + +{{ end }} -- cgit v1.2.3