From f8541ef965ca22e746b523eb418e47cb4f78f2d8 Mon Sep 17 00:00:00 2001 From: Arne Rief Date: Fri, 9 Jan 2026 12:24:05 +0100 Subject: Upgrade to new template system from Hugo v0.146.0 --- layouts/_default/list.html | 39 --------------------------------------- 1 file changed, 39 deletions(-) delete mode 100644 layouts/_default/list.html (limited to 'layouts/_default/list.html') diff --git a/layouts/_default/list.html b/layouts/_default/list.html deleted file mode 100644 index f952e56..0000000 --- a/layouts/_default/list.html +++ /dev/null @@ -1,39 +0,0 @@ -{{- define "main" }} -
-
-

- {{ .Title }} -

- {{- with .Content }} -
- {{ . }} -
- {{- else }} - {{- $description := or .Description .Summary (lang.Translate "list_description" .Title | default (printf "All posts in %s" .Title)) }} -

- {{ $description }} -

- {{- end }} -
- -
- {{- /* 15 posts per site */ -}} - {{- $paginator := .Paginate .Pages 15 }} - {{- with $paginator.Pages }} -
    - {{- range . }} -
  • - {{- partial "list/post-card.html" (dict "post" .) }} -
  • - {{- end }} -
- {{ else }} -

- {{ lang.Translate "list_empty" | default "No posts found in this section." }} -

- {{- end }} -
- - {{- partial "list/pagination.html" $paginator }} -
-{{- end }} -- cgit v1.2.3