-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.toml
120 lines (112 loc) · 2.91 KB
/
config.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
baseurl = "/"
languageCode = "en-us"
defaultContentLanguage = "zh-cn"
defaultContentLanguageInSubdir = false
hasCJKLanguage = true
theme = "hello-friend"
paginate = 10
enableRobotsTXT = true
# init theme sub module by this command
# git submodule update --init --recursive
[markup.goldmark.renderer]
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 = "最后修改"
rssFullText = true
# custom params
# The values nested under params: will populate the .Site.Params variable for use in templates
canonicalRelLinkBase = 'https://blog.colinx.one'
[languages]
[languages.en]
title = "Colinx Blog"
subtitle = "Colin's Blog"
keywords = "Colin,Blog"
copyright = ""
menuMore = "Show more"
writtenBy = "Written by"
readMore = "Read more"
readOtherPosts = "Read other posts"
newerPosts = "Newer posts"
olderPosts = "Older posts"
minuteReadingTime = "min read"
dateFormatSingle = "2006-01-02"
dateFormatList = "2006-01-02"
[languages.en.params.logo]
logoText = "Colinx Blog"
logoHomeLink = "/"
# or
# path = "/img/your-example-logo.svg"
# alt = "Your example logo alt text"
[languages.en.menu]
[[languages.en.menu.main]]
identifier = "archive"
name = "Archive"
url = "/archive"
[[languages.en.menu.main]]
identifier = "categories"
name = "Categories"
url = "/categories"
[[languages.en.menu.main]]
identifier = "tags"
name = "Tags"
url = "/tags"
[[languages.en.menu.main]]
identifier = "about"
name = "About"
url = "/aboutme"
[languages.zh-cn]
title = "Colinx Blog"
subtitle = "Colin的个人博客"
keywords = "Colin,个人博客,技术,后端,Linux,前端"
copyright = ""
menuMore = "显示更多"
writtenBy = "作者"
readMore = "点击阅读"
readOtherPosts = "阅读更多"
newerPosts = "上一页"
olderPosts = "下一页"
minuteReadingTime = "分钟"
dateFormatSingle = "2006-01-02"
dateFormatList = "2006-01-02"
[languages.zh-cn.params.logo]
logoText = "Colinx Blog"
logoHomeLink = "/"
# or
#
# path = "/img/your-example-logo.svg"
# alt = "Your example logo alt text"
[languages.zh-cn.menu]
[[languages.zh-cn.menu.main]]
identifier = "archive"
name = "文章归档"
url = "/archive"
weight = 1
[[languages.zh-cn.menu.main]]
identifier = "categories"
name = "分类"
url = "/categories"
weight = 2
[[languages.zh-cn.menu.main]]
identifier = "tags"
name = "Tags"
url = "/tags"
weight = 3
[[languages.zh-cn.menu.main]]
identifier = "about"
name = "关于"
url = "/aboutme"
weight = 5
[[languages.zh-cn.menu.main]]
identifier = "subscribe"
name = "订阅"
url = "/subscribe"
weight = 10