diff options
| author | BigCoke233 <hi@guhub.cn> | 2025-12-06 16:20:01 +0800 |
|---|---|---|
| committer | BigCoke233 <hi@guhub.cn> | 2025-12-06 16:20:01 +0800 |
| commit | 03e63e7bb6ffceb3712bd822a2b03ff94d2ea783 (patch) | |
| tree | 07e3193bdb7f6db2a41a5a71efcb0da00d44c0f1 /layouts/cards | |
| parent | 60af9a08c84edcd38ab0a2ebb7bd54eb536a8290 (diff) | |
chore: add deprecation announcment in cards section
Former-commit-id: 534f268da3a2a653a13591a06a1dad7eec1474bb
Diffstat (limited to 'layouts/cards')
| -rw-r--r-- | layouts/cards/section.html | 7 |
1 files changed, 5 insertions, 2 deletions
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 @@ <article> {{ partial "header.html" . }} - {{- $cards := .Site.GetPage "section" "cards" }} - {{- $pages := $cards.Pages }} + <div class="bg-red-200 text-red b-1 b-solid b-red px-4 py-2 rd-md"> + <p>「卡片」分区已经弃用,这里的内容不会再更新。</p> + </div> + + {{- $pages := .RegularPages }} {{- $featured := first 6 $pages }} {{- $rest := after 6 $pages }} <div class="grid md:grid-cols-2 gap-4 my-4"> |
