From 31cd7a3067a9996b7140aeaefb6c97e08db2f78f Mon Sep 17 00:00:00 2001 From: verdant Date: Sat, 11 Apr 2026 18:27:20 +0800 Subject: update --- layouts/shortcodes/archives-list.html | 57 +++++++++++++++++++---------------- 1 file changed, 31 insertions(+), 26 deletions(-) (limited to 'layouts/shortcodes/archives-list.html') diff --git a/layouts/shortcodes/archives-list.html b/layouts/shortcodes/archives-list.html index b9767f7..738e368 100644 --- a/layouts/shortcodes/archives-list.html +++ b/layouts/shortcodes/archives-list.html @@ -1,30 +1,35 @@ +
+ +

{{ .Site.Title }}

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

归档

- -

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

- - +

归档

+ +

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

+ +
-- cgit v1.2.3