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/projects/list.html | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 layouts/projects/list.html (limited to 'layouts/projects/list.html') diff --git a/layouts/projects/list.html b/layouts/projects/list.html new file mode 100644 index 0000000..926b540 --- /dev/null +++ b/layouts/projects/list.html @@ -0,0 +1,17 @@ +{{ define "main" }} + + {{ .Content }} + + + {{ $cardConfig := dict + "fullSummary" false + "showMeta" true + "showTags" true + "showCategories" true + }} + {{ range sort .Pages "Params.end_date" "desc" }} + {{ .Scratch.Set "cardConfig" $cardConfig }} + {{ partial "card.html" . }} + {{ end }} + +{{ end }} -- cgit v1.2.3