From b176fce4a9ce67ebd419c5ce27b758ad69621c4e Mon Sep 17 00:00:00 2001 From: rohow Date: Tue, 16 Jun 2026 17:37:21 +0800 Subject: [PATCH] refactor(theme): improve archive link resolution logic and dynamic tab naming --- settings.yaml | 4 ++-- templates/modules/activity-bar.html | 17 +++++++++++++---- templates/post.html | 10 ++++++++-- 3 files changed, 23 insertions(+), 8 deletions(-) diff --git a/settings.yaml b/settings.yaml index f9ca1e8..540ace2 100644 --- a/settings.yaml +++ b/settings.yaml @@ -71,7 +71,7 @@ spec: position: up label: 归档 icon: archive - url: /archives + url: "" external: false - enabled: true type: categories @@ -279,7 +279,7 @@ spec: - $formkit: text name: url label: 链接地址 - help: 搜索入口可留空;其他入口留空时不会跳转。 + help: 内置入口可留空并自动使用 Halo 路由;自定义入口留空时不会跳转。 - $formkit: select name: position label: 所在位置 diff --git a/templates/modules/activity-bar.html b/templates/modules/activity-bar.html index d745c62..a1c0994 100644 --- a/templates/modules/activity-bar.html +++ b/templates/modules/activity-bar.html @@ -14,7 +14,13 @@ - +