-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.toml
153 lines (132 loc) · 3.16 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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
baseURL = "https://xwlearn.com"
languageCode = "zh-CN"
defaultContentLanguage = "zh-cn"
hasCJKLanguage = true
title = "习吾学"
subtitle = "徐武的技术博客"
theme = "DoIt"
summaryLength = 140
# 每页显示的文章数量用于分页
paginate = 10
# rss 输出数量
rssLimit = 5
enableGitInfo = true
enableEmoji = true
defaultTheme = "auto"
images = ["/images/avatar.png"]
copyright = "This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License."
[permalinks]
posts = "/:slug/"
tags = "/tags/:slug/"
[menu]
[[menu.main]]
identifier = "posts"
pre = ""
post = ""
name="文章"
url="/posts/"
title = ""
weight = 1
[[menu.main]]
identifier = "tags"
pre = ""
post = ""
name="标签"
url="/tags/"
title = ""
weight = 2
[[menu.main]]
identifier = "categories"
pre = ""
post = ""
name="分类"
url="/categories/"
title = ""
weight = 3
[[menu.main]]
identifier = "about"
pre = ""
post = ""
name = "关于"
url="/about/"
title = ""
weight = 4
[[menu.main]]
identifier = "github"
pre = "<i class='fab fa-github fa-fw'></i>"
post = ""
name = ""
url = "https://github.com/imxw/xwlearn/"
title = "GitHub"
weight = 5
[params]
version = "0.2.X"
DateFormat = "2006-01-02"
keywords = ["Linux", "Python", "SRE", "DevOps","技术", "学习"]
gitRepo = "https://github.com/imxw/xwlearn"
[params.home]
rss = 10
[params.home.profile]
enable = true
title = ""
subtitle = "一枚运维工程师的自留地"
avatarURL = "/images/avatar.png"
typeit = true
social = true
[params.home.posts]
enable = true
paginate = 8
defaultHiddenFromHomePage = false
[params.social]
GitHub = "imxw"
Weibo = "1816332817"
Email = "[email protected]"
RSS = true
[params.header]
desktopMode = "fixed"
mobileMode = "auto"
themeChangeMode = "select"
[params.footer]
enable = true
hugo = true
copyright = true
since = 2020
icp = '<a href="https://beian.miit.gov.cn/" target="_blank">京ICP备2021030757号-1</a>'
license = '<a rel="license external nofollow noopener noreffer" href="https://creativecommons.org/licenses/by-nc/4.0/" target="_blank">CC BY-NC 4.0</a>'
[params.page]
fontawesome = true
[params.page.share]
enable = true
Twitter = true
HackerNews = true
Reddit = true
Weibo = true
[params.page.comment]
enable = false
[params.page.comment.twikoo]
enable = false
envId = "TWIKOO_ID"
region = ""
path = ""
visitor = true
commentCount = true
[markup]
# 语法高亮设置 (https://gohugo.io/content-management/syntax-highlighting)
[markup.highlight]
codeFences = true
guessSyntax = true
lineNos = true
lineNumbersInTable = true
noClasses = false
[author]
name = "xuwu"
email = "[email protected]"
link = "https://xwlearn.com"
[frontmatter]
date = [':filename', ':default']
lastmod = ['lastmod', '.git', ':fileModTime', ':default']
publishDate = ['publishDate', 'date', ':filename']
[sitemap]
changefreq = "weekly"
filename = "sitemap.xml"
priority = 0.5