From 7ee4eff516985967d9b4d610012918387764c831 Mon Sep 17 00:00:00 2001 From: Eltrac Date: Thu, 27 Nov 2025 22:37:21 +0800 Subject: docs: split posts into essays and other posts --- layouts/struct/section.html | 37 ------------------------------------- 1 file changed, 37 deletions(-) delete mode 100644 layouts/struct/section.html (limited to 'layouts/struct/section.html') diff --git a/layouts/struct/section.html b/layouts/struct/section.html deleted file mode 100644 index 183dec14..00000000 --- a/layouts/struct/section.html +++ /dev/null @@ -1,37 +0,0 @@ -{{ define "main" }} -
- {{ partial "header.html" . }} -
-
{{ .Content }}
- - {{ $remainingMonthsToOpen := 3 }} - {{ range (where site.RegularPages "Type" "eq" "struct").GroupByDate "2006" -}} -
- {{ partial "components/section-title" (dict - "Left" .Key - "Right" (T "archivePage.postCountAnnual" (len .Pages)) - )}} - - {{ range .Pages.GroupByDate "January" }} -
- -

- {{ .Key }} - {{ T "archivePage.postCountMonthly" (len .Pages) }} -

-
-
    - {{ range .Pages }} - {{ partial "items/post-small" . }} - {{ end }} -
-
- {{ $remainingMonthsToOpen = sub $remainingMonthsToOpen 1 }} - {{ end }} -
- {{ end }} -
-
- {{ partial "footer.html" . }} -{{ end }} -- cgit v1.2.3