diff options
| author | Jean-Pierre Appel <jeanpierre.appel01@gmail.com> | 2023-12-25 17:17:21 -0500 |
|---|---|---|
| committer | Jean-Pierre Appel <jeanpierre.appel01@gmail.com> | 2023-12-25 17:17:21 -0500 |
| commit | cc1220bfd794dff1fc28bd39cafb63c4b1093cf8 (patch) | |
| tree | 8d51983970fc62457ed97599d784cfa150b5c766 /layouts/blog/list.html | |
| parent | a181759e4a108c35fcf6898abbf17f2a424d85dc (diff) | |
rewrite layouts
Diffstat (limited to 'layouts/blog/list.html')
| -rw-r--r-- | layouts/blog/list.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/layouts/blog/list.html b/layouts/blog/list.html new file mode 100644 index 0000000..926b540 --- /dev/null +++ b/layouts/blog/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 }} |
