From 03e63e7bb6ffceb3712bd822a2b03ff94d2ea783 Mon Sep 17 00:00:00 2001 From: BigCoke233 Date: Sat, 6 Dec 2025 16:20:01 +0800 Subject: chore: add deprecation announcment in cards section Former-commit-id: 534f268da3a2a653a13591a06a1dad7eec1474bb --- layouts/cards/section.html | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'layouts/cards/section.html') diff --git a/layouts/cards/section.html b/layouts/cards/section.html index 50723c6e..513a2424 100644 --- a/layouts/cards/section.html +++ b/layouts/cards/section.html @@ -2,8 +2,11 @@
{{ partial "header.html" . }} - {{- $cards := .Site.GetPage "section" "cards" }} - {{- $pages := $cards.Pages }} +
+

「卡片」分区已经弃用,这里的内容不会再更新。

+
+ + {{- $pages := .RegularPages }} {{- $featured := first 6 $pages }} {{- $rest := after 6 $pages }}
-- cgit v1.2.3