-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfig.yml.bak
278 lines (246 loc) · 6.97 KB
/
config.yml.bak
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
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
baseURL: https://blog.laais.cn
# baseURL: https://www.sulvblog.cn # 绑定的域名
languageCode: zh-cn # en-us
title: SivanLaai's Blog
theme: PaperMod # 主题名字,和themes文件夹下的一致
enableInlineShortcodes: true #允许内联短码
enableEmoji: true # 允许使用 Emoji 表情,建议 true
enableRobotsTXT: true # 允许爬虫抓取到搜索引擎,建议 true
hasCJKLanguage: true # 自动检测是否包含 中文日文韩文 如果文章中使用了很多中文引号的话可以开启
buildDrafts: true
buildFuture: false
buildExpired: false
#googleAnalytics: UA-123-45 # 谷歌统计
# Copyright: Sulv
paginate: 8 # 每页显示的文章数
minify:
disableXML: true
# minifyOutput: true
permalinks: #浏览器链接显示方式
post: "/:title/"
# post: "/:year/:month/:day/:title/"
defaultContentLanguage: zh # 最顶部首先展示的语言页面
defaultContentLanguageInSubdir: false
languages:
zh:
languageName: "中文"
weight: 1
homeInfoParams:
Title: SivanLaai
Content: Blossem finally
profileMode:
enabled: false
title: SivanLaai
subtitle: "Blossem finally!<br/>👏🏼欢迎光临<br/>"
imageUrl: "avatar.png" #图片放在static/img/Q.gif
imageTitle:
imageWidth: 150
imageHeight: 150
buttons:
- name: 总结
url: posts/experience
- name: 阅读
url: posts/read
- name: 生活
url: posts/life
menu:
main:
- identifier: posts
name: 文章
url: posts
weight: 1
- identifier: archives
name: 时间轴
url: archives
weight: 1
- identifier: categories
name: 分类
url: categories
weight: 2
- identifier: tags
name: 标签
url: tags
weight: 3
- identifier: about
name: ️关于
url: about
weight: 5
- identifier: friends
name: 友链
url: friends
weight: 6
- identifier: search
name: "🔍"
url: search
weight: 7
en:
languageName: "en"
# contentDir: content/english
weight: 2
homeInfoParams:
Title: SivanLaai
Content: Blossem finally
profileMode:
enabled: true
title: SivanLaai
subtitle: "Blossem finally!<br/>👏🏼Welcome<br/>"
imageUrl: "avatar.png" #图片放在static/img/Q.gif
imageTitle:
imageWidth: 150
imageHeight: 150
buttons:
- name: Share
url: posts/experience
- name: Reading
url: posts/read
- name: Life
url: posts/life
menu:
main:
- identifier: posts
name: Posts
url: posts
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
- identifier: about
name: ️About
url: about
weight: 5
- identifier: friends
name: Friends
url: friends
weight: 6
- identifier: search
name: "🔍"
url: search
weight: 7
outputs:
home:
- HTML
- RSS
- JSON
params:
env: production # to enable google analytics, opengraph, twitter-cards and schema.
# description: "这是一个纯粹的博客......"
year: 2018
author: SivanLaai
# author: ["Me", "You"] # multiple authors
defaultTheme: auto # defaultTheme: light or dark
disableThemeToggle: false
DateFormat: "2006-01-02"
ShowShareButtons: true
ShowReadingTime: true
# disableSpecialistPost: true
displayFullLangName: true
ShowPostNavLinks: true
ShowBreadCrumbs: true
ShowCodeCopyButtons: true
hideFooter: false # 隐藏页脚
ShowWordCount: true
VisitCount: true
ShowLastMod: true #显示文章更新时间
ShowToc: true # 显示目录
TocOpen: false # 自动展开目录
math: true # 解析数学公式
comments: true
# twikoo评论
waline:
serverUrl: "WALINE_SERVER_URL"
socialIcons:
- name: github
url: "https://github.com/SivanLaai"
- name: QQ
url: "tencent://message/?uin=328265858&Site=&Menu=yes"
- name: email
url: "mailto:[email protected]"
- name: RSS
url: "index.xml"
# editPost:
# URL: "https://github.com/adityatelange/hugo-PaperMod/tree/exampleSite/content"
# Text: "Suggest Changes" # edit text
# appendFilePath: true # to append file path to Edit link
label:
text: "SivanLaai's Blog"
icon: "avatar.png"
#icon: "https://www.sulvblog.cn/Q.gif"
iconHeight: 35
# analytics: #谷歌分析
# google:
# SiteVerificationTag: "XYZabc"
assets:
favicon: "favicon.ico"
favicon16x16: "favicon-16x16.png"
favicon32x32: "favicon-16x16.png"
apple_touch_icon: "apple-touch-icon.png"
safari_pinned_tab: "safari-pinned-tab.svg"
cover:
hidden: true # hide everywhere but not in structured data
hiddenInList: true # hide on list pages and home
hiddenInSingle: true # hide on single page
fuseOpts:
isCaseSensitive: false
shouldSort: true
location: 0
distance: 1000
threshold: 0.4
minMatchCharLength: 0
keys: ["title", "permalink", "summary", "content"]
twikoo:
version: 1.4.11
taxonomies:
category: categories
tag: tags
series: series
markup:
goldmark:
renderer:
unsafe: true # HUGO 默认转义 Markdown 文件中的 HTML 代码,如需开启的话
highlight:
# anchorLineNos: true
codeFences: true
guessSyntax: true
lineNos: true
# noClasses: false
# style: monokai
#style: darcula
style: darcula
# codeFences:代码围栏功能,这个功能一般都要设为 true 的,不然很难看,就是干巴巴的-代码文字,没有颜色。
# guessSyntax:猜测语法,这个功能建议设置为 true, 如果你没有设置要显示的语言则会自动匹配。
# hl_Lines:高亮的行号,一般这个不设置,因为每个代码块我们可能希望让高亮的地方不一样。
# lineNoStart:行号从编号几开始,一般从 1 开始。
# lineNos:是否显示行号,我比较喜欢显示,所以我设置的为 true.
# lineNumbersInTable:使用表来格式化行号和代码,而不是 标签。这个属性一般设置为 true.
# noClasses:使用 class 标签,而不是内嵌的内联样式
privacy:
vimeo:
disabled: false
simple: true
twitter:
disabled: false
enableDNT: true
simple: true
instagram:
disabled: false
simple: true
youtube:
disabled: false
privacyEnhanced: true
services:
instagram:
disableInlineCSS: true
twitter:
disableInlineCSS: true
exclude:
- tag hide # 不包含标签为hide的文章
- category hide # 不包含分类为hide的文章