summaryrefslogtreecommitdiff
path: root/layouts/cards/section.html
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2025-05-23 20:15:42 +0800
committerEltrac <hi@guhub.cn>2025-05-23 20:15:42 +0800
commit3dc9262d4d543adffbd61e4ac9cf46cd6904930a (patch)
tree8b0a7a7d071414f7dd5f1454332888fb3ccfb1d4 /layouts/cards/section.html
parentb3a510865f78c33e6cb70d64eaf60b65266508fe (diff)
feat: add page counts to stats page
Former-commit-id: 033fa8ccc68db2bbe3456de7a93848c14e611d68
Diffstat (limited to 'layouts/cards/section.html')
-rw-r--r--layouts/cards/section.html8
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 }} <!-- 对该部分内容进行分页 -->