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/all-posts.html | 36 ------------------------------------ 1 file changed, 36 deletions(-) delete mode 100644 layouts/_default/all-posts.html (limited to 'layouts/_default/all-posts.html') diff --git a/layouts/_default/all-posts.html b/layouts/_default/all-posts.html deleted file mode 100644 index 4a94ab6..0000000 --- a/layouts/_default/all-posts.html +++ /dev/null @@ -1,36 +0,0 @@ -{{ define "main" }} -
-
-

- {{ .Title }} -

- {{- with .Content }} -
- {{ . }} -
- {{- else }} - {{- $description := or .Description (lang.Translate "posts_all_description" | default "All posts on this website, from newest to oldest.") }} -

- {{ $description }} -

- {{- end }} -
- - {{ $allPosts := where site.RegularPages "Params.excludeFromLists" "!=" true }} - {{- if $allPosts }} -
-
    - {{- range $allPosts.ByDate.Reverse }} -
  • - {{ partial "list/post-card.html" (dict "post" . "show_section" true) }} -
  • - {{- end }} -
-
- {{ else }} -

- {{ lang.Translate "posts_empty" | default "This site does not have any posts yet." }} -

- {{- end }} -
-{{ end }} -- cgit v1.2.3