mirror of
https://github.com/Colin-XKL/Colinx-Blog.git
synced 2026-01-11 18:21:28 +08:00
tweak settings
This commit is contained in:
186
config.toml
186
config.toml
@@ -3,107 +3,107 @@ languageCode = "en-us"
|
|||||||
defaultContentLanguage = "zh-cn"
|
defaultContentLanguage = "zh-cn"
|
||||||
defaultContentLanguageInSubdir = false
|
defaultContentLanguageInSubdir = false
|
||||||
theme = "hello-friend"
|
theme = "hello-friend"
|
||||||
paginate = 7
|
paginate = 10
|
||||||
|
|
||||||
[markup.goldmark.renderer]
|
[markup.goldmark.renderer]
|
||||||
unsafe= true #避免MarkDown内嵌的HTML被优化掉,尤其是Typora缩放过的图片
|
unsafe = true #避免MarkDown内嵌的HTML被优化掉,尤其是Typora缩放过的图片
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
# dir name of your blog content (default is `content/posts`)
|
# dir name of your blog content (default is `content/posts`)
|
||||||
contentTypeName = "posts"
|
contentTypeName = "posts"
|
||||||
# "light" or "dark"
|
# "light" or "dark"
|
||||||
defaultTheme = "light"
|
defaultTheme = "light"
|
||||||
# if you set this to 0, only submenu trigger will be visible
|
# if you set this to 0, only submenu trigger will be visible
|
||||||
showMenuItems = 5
|
showMenuItems = 5
|
||||||
# Enable to show reading time in minutes for posts
|
# Enable to show reading time in minutes for posts
|
||||||
showReadingTime = false
|
showReadingTime = false
|
||||||
# leave empty to disable, enter display text to enable
|
# leave empty to disable, enter display text to enable
|
||||||
lastModDisplay = "最后修改"
|
lastModDisplay = "最后修改"
|
||||||
|
rssFullText = true
|
||||||
|
|
||||||
[languages]
|
[languages]
|
||||||
[languages.en]
|
[languages.en]
|
||||||
title = "Colinx Blog"
|
title = "Colinx Blog"
|
||||||
subtitle = "Colin's Blog"
|
subtitle = "Colin's Blog"
|
||||||
keywords = ""
|
keywords = ""
|
||||||
copyright = ""
|
copyright = ""
|
||||||
menuMore = "Show more"
|
menuMore = "Show more"
|
||||||
writtenBy = "Written by"
|
writtenBy = "Written by"
|
||||||
readMore = "Read more"
|
readMore = "Read more"
|
||||||
readOtherPosts = "Read other posts"
|
readOtherPosts = "Read other posts"
|
||||||
newerPosts = "Newer posts"
|
newerPosts = "Newer posts"
|
||||||
olderPosts = "Older posts"
|
olderPosts = "Older posts"
|
||||||
minuteReadingTime = "min read"
|
minuteReadingTime = "min read"
|
||||||
dateFormatSingle = "2006-01-02"
|
dateFormatSingle = "2006-01-02"
|
||||||
dateFormatList = "2006-01-02"
|
dateFormatList = "2006-01-02"
|
||||||
|
|
||||||
[languages.en.params.logo]
|
[languages.en.params.logo]
|
||||||
logoText = "Colinx Blog"
|
logoText = "Colinx Blog"
|
||||||
logoHomeLink = "/"
|
logoHomeLink = "/"
|
||||||
# or
|
# or
|
||||||
#
|
#
|
||||||
# path = "/img/your-example-logo.svg"
|
# path = "/img/your-example-logo.svg"
|
||||||
# alt = "Your example logo alt text"
|
# alt = "Your example logo alt text"
|
||||||
|
|
||||||
[languages.en.menu]
|
[languages.en.menu]
|
||||||
[[languages.en.menu.main]]
|
[[languages.en.menu.main]]
|
||||||
identifier = "archive"
|
identifier = "archive"
|
||||||
name = "Archive"
|
name = "Archive"
|
||||||
url = "/archive"
|
url = "/archive"
|
||||||
[[languages.en.menu.main]]
|
[[languages.en.menu.main]]
|
||||||
identifier = "categories"
|
identifier = "categories"
|
||||||
name = "Categories"
|
name = "Categories"
|
||||||
url = "/categories"
|
url = "/categories"
|
||||||
[[languages.en.menu.main]]
|
[[languages.en.menu.main]]
|
||||||
identifier = "tags"
|
identifier = "tags"
|
||||||
name = "Tags"
|
name = "Tags"
|
||||||
url = "/tags"
|
url = "/tags"
|
||||||
[[languages.en.menu.main]]
|
[[languages.en.menu.main]]
|
||||||
identifier = "about"
|
identifier = "about"
|
||||||
name = "About"
|
name = "About"
|
||||||
url = "/aboutme"
|
url = "/aboutme"
|
||||||
|
|
||||||
[languages.zh-cn]
|
[languages.zh-cn]
|
||||||
title = "Colinx Blog"
|
title = "Colinx Blog"
|
||||||
subtitle = "Colin的个人博客"
|
subtitle = "Colin的个人博客"
|
||||||
keywords = "Colin,个人博客"
|
keywords = "Colin,个人博客"
|
||||||
copyright = ""
|
copyright = ""
|
||||||
menuMore = "显示更多"
|
menuMore = "显示更多"
|
||||||
writtenBy = "作者"
|
writtenBy = "作者"
|
||||||
readMore = "点击阅读"
|
readMore = "点击阅读"
|
||||||
readOtherPosts = "阅读更多"
|
readOtherPosts = "阅读更多"
|
||||||
newerPosts = "上一页"
|
newerPosts = "上一页"
|
||||||
olderPosts = "下一页"
|
olderPosts = "下一页"
|
||||||
minuteReadingTime = "分钟"
|
minuteReadingTime = "分钟"
|
||||||
dateFormatSingle = "2006-01-02"
|
dateFormatSingle = "2006-01-02"
|
||||||
dateFormatList = "2006-01-02"
|
dateFormatList = "2006-01-02"
|
||||||
|
|
||||||
[languages.zh-cn.params.logo]
|
[languages.zh-cn.params.logo]
|
||||||
logoText = "Colinx Blog"
|
logoText = "Colinx Blog"
|
||||||
logoHomeLink = "/"
|
logoHomeLink = "/"
|
||||||
# or
|
# or
|
||||||
#
|
#
|
||||||
# path = "/img/your-example-logo.svg"
|
# path = "/img/your-example-logo.svg"
|
||||||
# alt = "Your example logo alt text"
|
# alt = "Your example logo alt text"
|
||||||
|
|
||||||
[languages.zh-cn.menu]
|
[languages.zh-cn.menu]
|
||||||
[[languages.zh-cn.menu.main]]
|
[[languages.zh-cn.menu.main]]
|
||||||
identifier = "archive"
|
identifier = "archive"
|
||||||
name = "归档"
|
name = "归档"
|
||||||
url = "/archive"
|
url = "/archive"
|
||||||
[[languages.zh-cn.menu.main]]
|
[[languages.zh-cn.menu.main]]
|
||||||
identifier = "categories"
|
identifier = "categories"
|
||||||
name = "分类"
|
name = "分类"
|
||||||
url = "/categories"
|
url = "/categories"
|
||||||
[[languages.zh-cn.menu.main]]
|
[[languages.zh-cn.menu.main]]
|
||||||
identifier = "tags"
|
identifier = "tags"
|
||||||
name = "标签"
|
name = "标签"
|
||||||
url = "/tags"
|
url = "/tags"
|
||||||
[[languages.zh-cn.menu.main]]
|
[[languages.zh-cn.menu.main]]
|
||||||
identifier = "about"
|
identifier = "about"
|
||||||
name = "关于"
|
name = "关于"
|
||||||
url = "/aboutme"
|
url = "/aboutme"
|
||||||
[[languages.zh-cn.menu.main]]
|
[[languages.zh-cn.menu.main]]
|
||||||
identifier = "rss"
|
identifier = "rss"
|
||||||
name = "RSS"
|
name = "RSS"
|
||||||
url = "/index.xml"
|
url = "/index.xml"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user