From 6c29f5c74aff7bc382b3379c2ea6e82a157b0c0f Mon Sep 17 00:00:00 2001 From: Pierre-Olivier Mercier Date: Thu, 4 Jun 2026 16:32:02 +0900 Subject: [PATCH] Add default list layout for sections and taxonomies Fixes Hugo warnings about missing layout files for "section" and "taxonomy" kinds. --- layouts/_default/list.html | 40 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 layouts/_default/list.html diff --git a/layouts/_default/list.html b/layouts/_default/list.html new file mode 100644 index 0000000..97a18b9 --- /dev/null +++ b/layouts/_default/list.html @@ -0,0 +1,40 @@ + + + {{ partial "head.html" . }} + + +
+ {{ partial "nav.html" . }} {{ partial "breadcrumbs.html" . }} + +
+
+
+

{{ .Title }}

+
+ + {{ with .Content }} +
{{ . }}
+ {{ end }} + +
    + {{ range .Pages }} +
  • +

    {{ .Title }}

    + {{ with .Description }}

    {{ . }}

    {{ end }} +
  • + {{ end }} +
+
+ +
+ +
+ + + {{ partial "footer.html" . }} {{ partial "scripts.html" . }} + +