aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/layouts/projects/list.html
diff options
context:
space:
mode:
authorJean-Pierre Appel <jeanpierre.appel01@gmail.com>2023-12-25 17:17:21 -0500
committerJean-Pierre Appel <jeanpierre.appel01@gmail.com>2023-12-25 17:17:21 -0500
commitcc1220bfd794dff1fc28bd39cafb63c4b1093cf8 (patch)
tree8d51983970fc62457ed97599d784cfa150b5c766 /layouts/projects/list.html
parenta181759e4a108c35fcf6898abbf17f2a424d85dc (diff)
rewrite layouts
Diffstat (limited to 'layouts/projects/list.html')
-rw-r--r--layouts/projects/list.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/layouts/projects/list.html b/layouts/projects/list.html
new file mode 100644
index 0000000..926b540
--- /dev/null
+++ b/layouts/projects/list.html
@@ -0,0 +1,17 @@
+{{ define "main" }}
+
+ {{ .Content }}
+
+ <menu>
+ {{ $cardConfig := dict
+ "fullSummary" false
+ "showMeta" true
+ "showTags" true
+ "showCategories" true
+ }}
+ {{ range sort .Pages "Params.end_date" "desc" }}
+ {{ .Scratch.Set "cardConfig" $cardConfig }}
+ {{ partial "card.html" . }}
+ {{ end }}
+ </menu>
+{{ end }}