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 +++++++++++++++++ layouts/utilities/single.html | 18 ++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 layouts/utilities/list.html create mode 100644 layouts/utilities/single.html (limited to 'layouts/utilities') 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 }} diff --git a/layouts/utilities/single.html b/layouts/utilities/single.html new file mode 100644 index 0000000..7c377f5 --- /dev/null +++ b/layouts/utilities/single.html @@ -0,0 +1,18 @@ +{{ define "header" }} +

{{ .Title }}

+ +{{ end }} + +{{ define "footer" }} + {{ partial "meta-tag_nav.html" . }} +{{ end }} -- cgit v1.2.3