From d91f48c4945acd1b9f76a79d7804580b70b0c2df Mon Sep 17 00:00:00 2001 From: verdant Date: Sun, 31 May 2026 16:36:13 +0800 Subject: Refactor: remove bloated CSS style and nested HTML layouts --- layouts/shortcodes/archives-list.html | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 layouts/shortcodes/archives-list.html (limited to 'layouts/shortcodes') diff --git a/layouts/shortcodes/archives-list.html b/layouts/shortcodes/archives-list.html deleted file mode 100644 index 738e368..0000000 --- a/layouts/shortcodes/archives-list.html +++ /dev/null @@ -1,35 +0,0 @@ -
- -

{{ .Site.Title }}

-
- - -
- -{{ $allPages := where .Site.RegularPages "Type" "in" (slice "posts" "blog") }} -{{ $visiblePages := where $allPages "Params.hidden" "!=" true }} {{ $pagesToShow -:= $visiblePages.ByDate.Reverse }} - -
-

归档

- -

共有 {{ len $pagesToShow }} 篇文章

- - -
-- cgit v1.2.3