diff options
| author | Eltrac <hi@guhub.cn> | 2025-05-23 20:15:42 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2025-05-23 20:15:42 +0800 |
| commit | 033fa8ccc68db2bbe3456de7a93848c14e611d68 (patch) | |
| tree | 8b0a7a7d071414f7dd5f1454332888fb3ccfb1d4 /layouts/cards/section.html | |
| parent | 525eb0af18fe8721cf195bc46e3b1b68a81ed646 (diff) | |
feat: add page counts to stats page
Diffstat (limited to 'layouts/cards/section.html')
| -rw-r--r-- | layouts/cards/section.html | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/layouts/cards/section.html b/layouts/cards/section.html index 1e7254e3..7e24facc 100644 --- a/layouts/cards/section.html +++ b/layouts/cards/section.html @@ -1,14 +1,6 @@ {{ define "main" }} <article class="card-list"> {{ partial "header.html" . }} - <div class="cards-statistics markdown-body"> - <table> - <tr> - <td>卡片数量</td> - <td><span class="number-pill">{{ len .Pages }}</span></td> - </tr> - </table> - </div> <div class="cards-section outbox small"> {{- $cards := .Site.GetPage "section" "cards" }} <!-- 获取 "cards" 部分的内容 --> {{- $paginator := .Paginate $cards.Pages 10 }} <!-- 对该部分内容进行分页 --> |
