From a84c60e14adce8f2912916c4c1cc67b4093b7f2a Mon Sep 17 00:00:00 2001 From: Eltrac Date: Wed, 24 Sep 2025 23:53:24 +0800 Subject: remove: cards from term page --- layouts/_partials/term/term-cards.html | 11 ----------- layouts/term.html | 1 - 2 files changed, 12 deletions(-) delete mode 100644 layouts/_partials/term/term-cards.html diff --git a/layouts/_partials/term/term-cards.html b/layouts/_partials/term/term-cards.html deleted file mode 100644 index f9cd4c1a..00000000 --- a/layouts/_partials/term/term-cards.html +++ /dev/null @@ -1,11 +0,0 @@ -{{ $cards := where .Pages "Section" "eq" "cards" }} -{{ if gt (len $cards) 0 }} -

{{ T "termPage.cards" }}

-
-
- {{ range $cards }} - {{ partial "items/card" (dict "context" . "summary" true) }} - {{ end }} -
-
-{{ end }} diff --git a/layouts/term.html b/layouts/term.html index ca87a2a2..f0d29bb4 100644 --- a/layouts/term.html +++ b/layouts/term.html @@ -5,7 +5,6 @@ {{ partial "term/term-header" . }}
{{ partial "term/term-posts" . }} - {{ partial "term/term-cards" . }} {{ partial "term/term-books" . }}
-- cgit v1.2.3