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