From 6cc49d3ec7df3e17ed318fb9956ab8928e9d0268 Mon Sep 17 00:00:00 2001 From: Josh Gao Date: Sat, 8 Apr 2023 17:57:23 +0800 Subject: [PATCH] minor update to toc configuration --- _config.next.yml | 6 +++--- source/_posts/2023-04-08-oxford-5000-pitch.md | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/_config.next.yml b/_config.next.yml index 8b38f09..8320cc0 100644 --- a/_config.next.yml +++ b/_config.next.yml @@ -188,11 +188,11 @@ toc: # Automatically add list number to toc. number: true # If true, all words will placed on next lines if header width longer then sidebar width. - wrap: true + wrap: true # controlled only by top level # If true, all level of TOC in a post will be displayed, rather than the activated part of it. - expand_all: false + expand_all: false # controlled only by top level # Maximum heading depth of generated toc. - max_depth: 6 + max_depth: 3 # --------------------------------------------------------------- diff --git a/source/_posts/2023-04-08-oxford-5000-pitch.md b/source/_posts/2023-04-08-oxford-5000-pitch.md index c990ee2..6f43217 100644 --- a/source/_posts/2023-04-08-oxford-5000-pitch.md +++ b/source/_posts/2023-04-08-oxford-5000-pitch.md @@ -7,10 +7,10 @@ comments: true copyright: false toc: enable: true - number: 'yes' + number: true wrap: true expand_all: true - max_depth: 4 + max_depth: 3 categories: - 英语学习 abbrlink: 279fbed9