From 10431bd8f5ff71690ae4e5444e8d7894fd401ae5 Mon Sep 17 00:00:00 2001 From: eltrac Date: Tue, 7 Apr 2026 14:53:17 +0800 Subject: chore: move templates out of site repo --- layouts/article/section.html | 38 -------------------------------------- 1 file changed, 38 deletions(-) delete mode 100644 layouts/article/section.html (limited to 'layouts/article/section.html') diff --git a/layouts/article/section.html b/layouts/article/section.html deleted file mode 100644 index 5072f416..00000000 --- a/layouts/article/section.html +++ /dev/null @@ -1,38 +0,0 @@ -{{ define "main" }} - {{ $pages := .Pages }} - {{ $categories := slice }} - -
-
-
{{ .Content }}
- - {{ $remainingMonthsToOpen := 3 }} - {{ range $pages.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 }} -
-
-{{ end }} -- cgit v1.2.3