From ba64ff3fe7e8429e47d158a60a2160773a687906 Mon Sep 17 00:00:00 2001 From: Eltrac Date: Fri, 9 May 2025 09:14:23 +0800 Subject: refactor: move article series display to taxonomy page Former-commit-id: d7fd4969ef4b583cf7a6f31d66ed98555b91760d --- layouts/categories/taxonomy.html | 23 ++++++++++++++++++++++- layouts/partials/components/welcome.html | 22 ---------------------- 2 files changed, 22 insertions(+), 23 deletions(-) delete mode 100644 layouts/partials/components/welcome.html diff --git a/layouts/categories/taxonomy.html b/layouts/categories/taxonomy.html index 5b6748d0..22c99a6d 100644 --- a/layouts/categories/taxonomy.html +++ b/layouts/categories/taxonomy.html @@ -3,8 +3,29 @@ {{ partial "header.html" . }} {{ partial "components/postnav.html" . }} + + {{ if eq .Site.Language.Lang "zh" }} +
+
+ {{ range .Site.Params.series }} + +
+ +
+
+

{{ .name }}

+
+
+ {{ end }} +
+
+ {{ end }} + - {{ partial "components/welcome.html" . }} {{ $featured := slice "稻草人周刊" "年终总结" "揽物日志" "极客死亡计划书" }}

周期性刊物

diff --git a/layouts/partials/components/welcome.html b/layouts/partials/components/welcome.html deleted file mode 100644 index f8d6bfa0..00000000 --- a/layouts/partials/components/welcome.html +++ /dev/null @@ -1,22 +0,0 @@ -{{ if eq .Site.Language.Lang "zh" }} -
-
-
- {{ range .Site.Params.series }} - -
- -
-
-

{{ .name }}

-
-
- {{ end }} -
-
-
-{{ end }} -- cgit v1.2.3