tweak settings

This commit is contained in:
2022-01-06 22:30:19 +08:00
parent 1a1a0832c4
commit 83941e408d

View File

@@ -3,22 +3,23 @@ languageCode = "en-us"
defaultContentLanguage = "zh-cn"
defaultContentLanguageInSubdir = false
theme = "hello-friend"
paginate = 7
paginate = 10
[markup.goldmark.renderer]
unsafe= true #避免MarkDown内嵌的HTML被优化掉尤其是Typora缩放过的图片
unsafe = true #避免MarkDown内嵌的HTML被优化掉尤其是Typora缩放过的图片
[params]
# dir name of your blog content (default is `content/posts`)
contentTypeName = "posts"
# "light" or "dark"
defaultTheme = "light"
# if you set this to 0, only submenu trigger will be visible
showMenuItems = 5
# Enable to show reading time in minutes for posts
showReadingTime = false
# leave empty to disable, enter display text to enable
lastModDisplay = "最后修改"
# dir name of your blog content (default is `content/posts`)
contentTypeName = "posts"
# "light" or "dark"
defaultTheme = "light"
# if you set this to 0, only submenu trigger will be visible
showMenuItems = 5
# Enable to show reading time in minutes for posts
showReadingTime = false
# leave empty to disable, enter display text to enable
lastModDisplay = "最后修改"
rssFullText = true
[languages]
[languages.en]
@@ -44,7 +45,7 @@ paginate = 7
# path = "/img/your-example-logo.svg"
# alt = "Your example logo alt text"
[languages.en.menu]
[languages.en.menu]
[[languages.en.menu.main]]
identifier = "archive"
name = "Archive"
@@ -62,20 +63,20 @@ paginate = 7
name = "About"
url = "/aboutme"
[languages.zh-cn]
title = "Colinx Blog"
subtitle = "Colin的个人博客"
keywords = "Colin,个人博客"
copyright = ""
menuMore = "显示更多"
writtenBy = "作者"
readMore = "点击阅读"
readOtherPosts = "阅读更多"
newerPosts = "上一页"
olderPosts = "下一页"
minuteReadingTime = "分钟"
dateFormatSingle = "2006-01-02"
dateFormatList = "2006-01-02"
[languages.zh-cn]
title = "Colinx Blog"
subtitle = "Colin的个人博客"
keywords = "Colin,个人博客"
copyright = ""
menuMore = "显示更多"
writtenBy = "作者"
readMore = "点击阅读"
readOtherPosts = "阅读更多"
newerPosts = "上一页"
olderPosts = "下一页"
minuteReadingTime = "分钟"
dateFormatSingle = "2006-01-02"
dateFormatList = "2006-01-02"
[languages.zh-cn.params.logo]
logoText = "Colinx Blog"
@@ -85,7 +86,7 @@ paginate = 7
# path = "/img/your-example-logo.svg"
# alt = "Your example logo alt text"
[languages.zh-cn.menu]
[languages.zh-cn.menu]
[[languages.zh-cn.menu.main]]
identifier = "archive"
name = "归档"
@@ -106,4 +107,3 @@ paginate = 7
identifier = "rss"
name = "RSS"
url = "/index.xml"