-
Notifications
You must be signed in to change notification settings - Fork 0
/
hugo.yaml
243 lines (215 loc) · 5.11 KB
/
hugo.yaml
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
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
languageCode: zh
theme: PaperMod
pagination:
paperSize: 5
enableRobotsTXT: true
buildDrafts: false
buildFuture: true
buildExpired: true
enableEmoji: true
enableGitInfo: true
minify:
disableXML: false
minifyOutput: true
tdewolff:
html:
keepWhitespace: false
js:
keepVarNames: false
precision: 0
css:
keepCSS2: true
svg:
keepComments: false
json:
keepNumbers: false
xml:
keepWhitespace: false
params:
env: production
keywords: [致之, zzzhizhi, 博客, Blog]
images: ["<link or path of image for opengraph, twitter-cards>"]
DateFormat: "2006-01-02"
defaultTheme: auto
disableThemeToggle: false
ShowReadingTime: true
ShowShareButtons: false
ShowPostNavLinks: true
ShowBreadCrumbs: true
ShowCodeCopyButtons: true
ShowWordCount: true
ShowFullTextinRSS: true
ShowRssButtonInSectionTermList: true
UseHugoToc: true
disableSpecial1stPost: false
disableScrollToTop: false
comments: true
hidemeta: false
hideSummary: false
showToc: true
tocopen: true
assets:
disableHLJS: true
favicon: true
disableFingerprinting: false
bundle: true
homeInfoParams:
Title: "Hi there \U0001F44B"
Content: Welcome to my blog
analytics:
google:
SiteVerificationTag: "XYZabc"
bing:
SiteVerificationTag: "XYZabc"
yandex:
SiteVerificationTag: "XYZabc"
cover:
hidden: true
hiddenInList: true
hiddenInSingle: true
fuseOpts:
isCaseSensitive: false
shouldSort: true
location: 0
distance: 1000
threshold: 0.4
minMatchCharLength: 0
limit: 10
keys: ["title", "permalink", "summary", "content"]
defaultContentLanguage: zh
defaultContentLanguageInSubdir: true
languages:
zh:
languageName: "中文"
contentDir: "content/zh"
weight: 1
title: "致之 | zzzhizhi"
description: "致之的博客"
params:
author: "致之"
label:
text: "首页"
icon: "apple-touch-icon.jpg"
iconHeight: 35
profileMode:
enabled: true
title: "致之"
subtitle: "写代码是热爱,写到世界充满爱!"
imageUrl: "apple-touch-icon.jpg"
buttons:
- name: "博客"
url: "posts"
- name: "标签"
url: "tags"
homeInfoParams:
Title: "你好 👋"
Content: "欢迎来到我的博客"
socialIcons:
- name: github
url: "https://github.com/zzzhizhiw"
- name: bilibili
url: "https://space.bilibili.com/437297385"
- name: email
url: "mailto:[email protected]"
- name: rss
url: "index.xml"
editPost:
URL: "https://github.com/zzzhizhiw/zzzhizhi-blog/tree/main/content/zh"
Text: "编辑"
appendFilePath: true
menu:
main:
- identifier: "search"
name: "搜索"
url: "search"
weight: 1
- identifier: "archives"
name: "归档"
url: "archives"
weight: 2
- identifier: "categories"
name: "分类"
url: "categories"
weight: 3
- identifier: "tags"
name: "标签"
url: "tags"
weight: 4
en:
languageName: "English"
contentDir: "content/en"
weight: 2
title: "zzzhizhi | 致之"
description: "zzzhizhi's blog"
params:
author: "zzzhizhi"
label:
text: "Home"
icon: "apple-touch-icon.jpg"
iconHeight: 35
profileMode:
enabled: true
title: "zzzhizhi"
subtitle: "Coding is love, coding to the world is full of love!"
imageUrl: "apple-touch-icon.jpg"
buttons:
- name: "Posts"
url: "posts"
- name: "Tags"
url: "tags"
homeInfoParams:
Title: "Hi there 👋"
Content: "Welcome to my blog"
socialIcons:
- name: github
url: "https://github.com/zzzhizhiw"
- name: bilibili
url: "https://space.bilibili.com/437297385"
- name: email
url: "mailto:[email protected]"
- name: rss
url: "index.xml"
editPost:
URL: "https://github.com/zzzhizhiw/zzzhizhi-blog/tree/main/content/en"
Text: "Edit"
appendFilePath: true
menu:
main:
- identifier: "search"
name: "Search"
url: "search"
weight: 1
- identifier: "archives"
name: "Archives"
url: "archives"
weight: 2
- identifier: "categories"
name: "Categories"
url: "categories"
weight: 3
- identifier: "tags"
name: "Tags"
url: "tags"
weight: 4
outputs:
home:
- HTML
- RSS
- JSON
markup:
highlight:
noClasses: false
codeFences: true
guessSyntax: true
lineNos: true
lineNumbersInTable: true
style: monokai
goldmark:
renderer:
unsafe: true
tableOfContents:
startLevel: 1
endLevel: 3
ordered: false
build:
useResourceCacheWhen: always