From 54a98d47e08acf33cc27fb4d6689ebe2d6b6edbc Mon Sep 17 00:00:00 2001 From: Zhengchen Tao Date: Mon, 11 May 2026 17:29:16 +0800 Subject: [PATCH] =?UTF-8?q?style:=20TOC=20=E5=85=B3=E9=97=AD=E8=87=AA?= =?UTF-8?q?=E5=8A=A8=E7=BC=96=E5=8F=B7,=E9=81=BF=E5=85=8D=E4=B8=8E?= =?UTF-8?q?=E6=AD=A3=E6=96=87=E6=89=8B=E5=86=99=E7=9A=84=E7=AB=A0=E8=8A=82?= =?UTF-8?q?=E5=8F=B7=E9=87=8D=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 正文 H2/H3 已经手写「一、」「1.1」等编号,TOC 再自动加「1.」「1.1.」 会出现「1.1. 1.1 ...」这种双重前缀。 --- hugo.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hugo.yaml b/hugo.yaml index 2cadded..920adae 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -138,7 +138,7 @@ markup: unsafe: true tableOfContents: endLevel: 4 - ordered: true + ordered: false startLevel: 2 highlight: noClasses: false