From 81618e8bb6f00b3b74c30c1cc75a782cf266efd6 Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Tue, 14 Nov 2023 17:14:20 -0500 Subject: initial commit --- themes/cranky/layouts/_default/list.html | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 themes/cranky/layouts/_default/list.html (limited to 'themes/cranky/layouts/_default/list.html') diff --git a/themes/cranky/layouts/_default/list.html b/themes/cranky/layouts/_default/list.html new file mode 100644 index 0000000..ada7939 --- /dev/null +++ b/themes/cranky/layouts/_default/list.html @@ -0,0 +1,28 @@ +{{ define "title" -}} +{{ .Title | title }} +{{- end }} +{{ define "main" -}} +{{ .Content }} +
+{{- range.Pages }} +
+ + {{ .Title }}
+ {{ .Summary | truncate 220 " ..." }} + + {{- if .Param "authorsinlist" }} + {{ with .Params.authors }} + by + {{ delimit . ", " " and " }} + {{end}} + {{ end -}} +
+{{- end }} +
+{{- end }} -- cgit v1.2.3