Skip to content

Commit 5b4478d

Browse files
author
NightVoyager
committed
更新配置:添加 mainSections,更新 giscus 仓库名
1 parent 6591679 commit 5b4478d

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

config.toml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,8 @@ hasCJKLanguage = true
129129

130130
# 页面全局配置
131131
[params]
132+
# 主页显示的内容 section
133+
mainSections = ["posts"]
132134
# 网站描述(用于 SEO)
133135
description = "夜航星的个人博客,分享认知心理学、学习方法、数据分析、编程技术等内容"
134136
# 网站关键词(用于 SEO)
@@ -303,10 +305,10 @@ hasCJKLanguage = true
303305
[params.page.comment.giscus]
304306
enable = true
305307
# owner/repo
306-
repo = "AustinXT/austinxt.github.io"
307-
repoId = "R_kgDOGHvQeQ"
308+
repo = "AustinXT/AustinXT.github.io"
309+
repoId = ""
308310
category = "Announcements"
309-
categoryId = "DIC_kwDOGHvQec4CZxYg"
311+
categoryId = ""
310312
mapping = "pathname"
311313
strict = "0"
312314
reactionsEnabled = "1"
@@ -388,4 +390,4 @@ hasCJKLanguage = true
388390
distance = 100
389391
ignoreLocation = false
390392
useExtendedSearch = false
391-
ignoreFieldNorm = false
393+
ignoreFieldNorm = false

0 commit comments

Comments
 (0)