From edc1f4261cdbfe15f6680cb5a38abc4f09df1a4e Mon Sep 17 00:00:00 2001 From: Patrick Spek Date: Wed, 15 Mar 2023 15:20:57 +0100 Subject: Overhaul cookbook index --- layouts/recipes/list.html | 33 ++++++++++++++++++++------------- 1 file changed, 20 insertions(+), 13 deletions(-) (limited to 'layouts') diff --git a/layouts/recipes/list.html b/layouts/recipes/list.html index 1a6bdf9..de18df0 100644 --- a/layouts/recipes/list.html +++ b/layouts/recipes/list.html @@ -1,17 +1,24 @@ {{- define "main" }}

{{ .Title }}

{{ .Content }} - +{{- range sort .Pages "Title" }} +
+
+ {{- with .Params.preview }} + + {{- end }} +
+
+

+ {{ .Title }} +

+
    + {{- range sort .Params.tags }} +
  • {{ . }}
  • + {{- end }} +
+ {{ .Content }} +
+
+{{- end }} {{- end }} -- cgit v1.1