From a0b5484e363f83800ee0a6ec4368c69b4dd31d0f Mon Sep 17 00:00:00 2001 From: nanhaoluo <3075912108@qq.com> Date: Fri, 16 Jan 2026 15:01:24 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=99=BA=E8=83=BD=E6=A3=80=E6=B5=8B?= =?UTF-8?q?=E6=96=87=E7=AB=A0=E7=9B=AE=E5=BD=95=E6=98=AF=E5=90=A6=E9=9C=80?= =?UTF-8?q?=E8=A6=81=E6=B7=BB=E5=8A=A0=E5=BA=8F=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 检测标题是否已有序号(支持阿拉伯数字和中文数字) - 如果超过一半的标题已有序号,则不添加额外编号 - 允许开头有无序号的导言/简介标题 --- sidebar.php | 59 +++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 44 insertions(+), 15 deletions(-) diff --git a/sidebar.php b/sidebar.php index 65eb2e8..91345d3 100644 --- a/sidebar.php +++ b/sidebar.php @@ -542,23 +542,52 @@ $author_desc = get_option('argon_sidebar_author_description'); - + })(); +