From b2af6489d3689f3a64f009d5315afaff3566ecd7 Mon Sep 17 00:00:00 2001 From: Erzbir Date: Tue, 18 Nov 2025 00:24:55 +0800 Subject: [PATCH] feat: add option for whether archives page displays tag --- settings.yaml | 5 +++++ templates/archives.html | 16 ++++++++-------- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/settings.yaml b/settings.yaml index eb9dc8b..d9e3c1e 100644 --- a/settings.yaml +++ b/settings.yaml @@ -28,6 +28,11 @@ spec: - group: page label: 页面配置 formSchema: + - $formkit: checkbox + name: archives_tags + label: 归档页显示文章标签 + value: false + - $formkit: text name: archives_title label: 归档页标题自定义 diff --git a/templates/archives.html b/templates/archives.html index a4b4bb9..5cbc179 100644 --- a/templates/archives.html +++ b/templates/archives.html @@ -27,15 +27,15 @@ Post Title - + + #Tag + +