summaryrefslogtreecommitdiffstats
path: root/hugo.toml
diff options
context:
space:
mode:
authorverdant <i@glowisle.me>2026-04-11 18:27:20 +0800
committerverdant <i@glowisle.me>2026-04-11 18:27:20 +0800
commit31cd7a3067a9996b7140aeaefb6c97e08db2f78f (patch)
tree752ea978c1e6e1f0dd24cd15d129034a6bb18c34 /hugo.toml
parent92e642b3d9e2df106e6ad3aa38e4be6966d44268 (diff)
downloadblog-31cd7a3067a9996b7140aeaefb6c97e08db2f78f.tar.gz
blog-31cd7a3067a9996b7140aeaefb6c97e08db2f78f.zip
update
Diffstat (limited to 'hugo.toml')
-rw-r--r--hugo.toml13
1 files changed, 10 insertions, 3 deletions
diff --git a/hugo.toml b/hugo.toml
index 6dd4800..e8dd720 100644
--- a/hugo.toml
+++ b/hugo.toml
@@ -24,6 +24,13 @@ unsafe = true
title = true
wrapStandAloneImageWithinParagraph = false
+
+[markup]
+ [markup.tableOfContents]
+ startLevel = 2 # 起始级别
+ endLevel = 3 # 结束级别
+ ordered = false # 是否使用有序列表
+
[markup.goldmark.extensions]
[markup.goldmark.extensions.extras]
[markup.goldmark.extensions.extras.mark]
@@ -90,12 +97,12 @@ tabWidth = 4
url = "/about/"
weight = 6
[params]
- upvote = true
+ upvote = false
upvoteURL = "https://upvote.glowisle.me/"
description = "关于互联网、书籍、生活琐事以及那些一闪而过的念头。计算机技术 & 读书感悟 & 日常随笔。映屿(GlowIsle)"
postSearch = false
groupByYear = true
- toc = false
+ toc = true
showPostCount = true
favicon = "/favicon.png"
hideMadeWithLine = true
@@ -106,4 +113,4 @@ tabWidth = 4
email = "i@glowisle.me"
[params.footer]
- content = "© 2024 - 2026 | Made with ❤️ by Verdant."
+ content = "© 2024 - 2026 | Made with ❤️ by [Verdant](https://verdant.ee)."