aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorolOwOlo <26087907+olOwOlo@users.noreply.github.com>2020-08-06 01:40:39 +0800
committerolOwOlo <26087907+olOwOlo@users.noreply.github.com>2020-08-06 01:40:39 +0800
commitb8513a182d835460b54362911434ef8137541214 (patch)
tree3d48707cd98f7bc436f6f065a0977da7a11900d8
parentc41507e19997e6b959f8e0d7e76f8bd496955fd9 (diff)
docs(exampleSite/config.toml): update default config
-rw-r--r--exampleSite/config.toml11
1 files changed, 9 insertions, 2 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index e6c5785..a9e84ab 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -64,7 +64,7 @@ copyright = "" # default: author.name ↓ # 默认为下面配
description = "Hugo theme even example site."
# paginate of archives, tags and categories # 归档、标签、分类每页显示的文章数目,建议修改为一个较大的值
- archivePaginate = 5
+ archivePaginate = 50
# show 'xx Posts In Total' in archive page ? # 是否在归档页显示文章的总数
showArchiveCount = false
@@ -155,7 +155,7 @@ copyright = "" # default: author.name ↓ # 默认为下面配
appKey = '你的appKey'
notify = false # mail notifier , https://github.com/xCss/Valine/wiki
verify = false # Verification code
- avatar = 'mm'
+ avatar = 'mm'
placeholder = '说点什么吧...'
visitor = false
@@ -202,6 +202,13 @@ copyright = "" # default: author.name ↓ # 默认为下面配
[privacy.youtube]
privacyEnhanced = true
+# see https://gohugo.io/getting-started/configuration-markup
+[markup]
+ [markup.tableOfContents]
+ startLevel = 1
+ [markup.goldmark.renderer]
+ unsafe = true
+
# 将下面这段配置取消注释可以使 hugo 生成 .md 文件
# Uncomment these options to make hugo output .md files.
#[mediaTypes]