From 1d8cb94552f45c35ffc4e2c8f06932e649a39923 Mon Sep 17 00:00:00 2001 From: Eltrac Date: Wed, 30 Apr 2025 15:31:03 +0800 Subject: fix: invalid lookup rule for category term page by the way, I separated normal term page and category term page --- layouts/categories/term.html | 30 ++++++++++++++++++++++++++++++ layouts/term/term.html | 7 ------- 2 files changed, 30 insertions(+), 7 deletions(-) create mode 100644 layouts/categories/term.html diff --git a/layouts/categories/term.html b/layouts/categories/term.html new file mode 100644 index 00000000..a1ed5c51 --- /dev/null +++ b/layouts/categories/term.html @@ -0,0 +1,30 @@ +{{ define "main" }} +
+ {{ partial "components/post-page-header.html" . }} + {{ partial "components/breadcrumbs.html" . }} + + {{ with .Params.description }} +
+ {{ . | markdownify }} +
+
+ {{ end }} + +
+ +
+
+ {{ partial "footer.html" . }} +{{ end }} diff --git a/layouts/term/term.html b/layouts/term/term.html index 7d17833a..a042d583 100644 --- a/layouts/term/term.html +++ b/layouts/term/term.html @@ -3,13 +3,6 @@ {{ partial "components/post-page-header.html" . }} {{ partial "components/breadcrumbs.html" . }} - {{ with .Params.description }} -
- {{ . | markdownify }} -
-
- {{ end }} -