aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/layouts/_default/list.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default/list.html')
-rw-r--r--layouts/_default/list.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
new file mode 100644
index 0000000..e65e0a3
--- /dev/null
+++ b/layouts/_default/list.html
@@ -0,0 +1,23 @@
+{{ define "header" }}
+ <h1>{{ .Title | markdownify }}</h1>
+{{ end }}
+{{ define "main" }}
+
+ {{ .Content }}
+
+ <menu>
+ {{ $cardConfig := dict
+ "fullSummary" false
+ "showMeta" false
+ "showTags" false
+ "showCategories" false
+ }}
+ {{ range sort .Pages "Params.end_date" "desc" }}
+ {{ .Scratch.Set "cardConfig" $cardConfig }}
+ {{ partial "card.html" . }}
+ {{ end }}
+ </menu>
+{{ end }}
+{{ define "footer" }}
+{{ partial "meta-tag_nav.html" . }}
+{{ end }}