-
Notifications
You must be signed in to change notification settings - Fork 20
/
_config.yml
430 lines (394 loc) · 13 KB
/
_config.yml
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
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
# main menu navigation
menu:
home: /
archives: /archives
about: /about
friend: /friend
banner: "/images/banner.webp" # themes/reimu/source/images/banner.webp
# You can also write it in the form of the following url
# banner: "https://example.com"
banner_srcset:
enable: false
srcset:
- src: "/images/banner-600w.webp"
media: "(max-width: 479px)"
- src: "/images/banner-800w.webp"
media: "(max-width: 799px)"
- src: "/images/banner.webp"
media: "(min-width: 800px)"
favicon: "/images/favicon.ico" # themes/reimu/source/images/favicon.ico
# You can also write it in the form of the following url
# favicon: "https://example.com"
avatar: "avatar.webp" # source/_data/avatar/avatar.webp
# Open Graph
# see https://hexo.io/docs/helpers#open-graph
open_graph:
enable: true
options:
#twitter_card: <twitter:card>
#twitter_id: <twitter:creator>
#twitter_site: <twitter:site>
#twitter_image: <twitter:image>
#google_plus: <g+:profile_link>
#fb_admins: <fb:admin_id>
#fb_app_id: <fb:app_id>
default_og_image: /images/banner.webp # the default og:image for Open Graph, support absolute path
# Content
excerpt_link: Read More
# RSS
# need https://github.com/hexojs/hexo-generator-feed
rss: atom.xml
# analytics
baidu_analytics: false
google_analytics: false
clarity: false
# Footer copyright
copyright:
# Need help choosing? Please see...
# https://creativecommons.org/choose/
# https://choosealicense.com/
# You can use pug like below...
# copyright: |-
# <div style="flex-direction:column;align-items: center;"><a rel="license" href="http://creativecommons.org/licenses/by/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by/4.0/88x31.png" /></a>
# All website licensed under <a href="https://creativecommons.org/licenses/by/4.0/" target="_blank">CC BY 4.0</a></div>
article_copyright:
enable: false
content:
author: true
link: true
title: false
date: false
updated: false
license: true
# Sidebar
sidebar: right
widgets:
# - category
# - tag
# - tagcloud
# - archive
# - recent_posts
# Widget behavior
archive_type: "monthly"
show_count: false
recent_posts_limits: 5
social:
# email: mailto:[email protected]
# github: https://github.com/yourname
# google: https://plus.google.com/yourname
# twitter: https://twitter.com/yourname
# facebook: https://www.facebook.com/yourname
# instagram: https://www.instagram.com/yourname
# linkedin: https://www.linkedin.com/in/yourname
# pinterest: https://www.pinterest.com/yourname
# youtube: https://www.youtube.com/channel/yourname
# vimeo: https://vimeo.com/yourname
# flickr: https://www.flickr.com/photos/yourname
# dribbble: https://dribbble.com/yourname
# behance: https://www.behance.net/yourname
# bilibili: https://space.bilibili.com/yourname
# weibo: https://weibo.com/yourname
# zhihu: https://www.zhihu.com/people/yourname
# reddit: https://www.reddit.com/user/yourname
# tumblr: https://yourname.tumblr.com
# medium: https://medium.com/@yourname
# deviantart: https://yourname.deviantart.com
# stackoverflow: https://stackoverflow.com/users/yourname
# keybase: https://keybase.io/yourname
# telegram: https://t.me/yourname
# discord: https://discordapp.com/users/yourname
# steam: https://steamcommunity.com/id/yourname
footer:
since: 2020 # 2020-current_year
powered: true
count: true
busuanzi: true
# need https://github.com/CHENXCHEN/hexo-renderer-markdown-it-plus
# use katex
math:
enable: false
# need https://github.com/webappdevelp/hexo-filter-mermaid-diagrams
mermaid: ## mermaid url https://github.com/knsv/mermaid
enable: false
# valine comment system. https://valine.js.org
# version 1.5.1
# notify and verify have been deprecated
valine:
enable: false # if you want to use valine,please set this value is true
appId: # leancloud application app id
appKey: # leancloud application app key
pageSize: 10 # comment list page size
avatar: mp # gravatar style https://valine.js.org/#/avatar
lang: zh-cn # i18n: zh-cn/en
placeholder: Just go go # valine comment input placeholder(like: Please leave your footprints )
guest_info: nick,mail,link #valine comment header info
recordIP: true # whether to record the IP address of the commenters
highlight: true # whether to highlight the code blocks
visitor: false # whether to display the number of visitors
# https://waline.js.org/
waline:
enable: false
serverURL:
lang: zh-CN
locale: {} # https://waline.js.org/guide/features/i18n.html#%E8%87%AA%E5%AE%9A%E4%B9%89%E8%AF%AD%E8%A8%80
emoji:
- https://unpkg.com/@waline/[email protected]/weibo
- https://unpkg.com/@waline/[email protected]/alus
- https://unpkg.com/@waline/[email protected]/bilibili
- https://unpkg.com/@waline/[email protected]/qq
- https://unpkg.com/@waline/[email protected]/tieba
- https://unpkg.com/@waline/[email protected]/tw-emoji
meta:
- nick
- mail
- link
requiredMeta:
- nick
- mail
wordLimit: 0
pageSize: 10
pageview: true
# https://twikoo.js.org
twikoo:
enable: false
envId: # 腾讯云环境填 envId;Vercel 环境填地址(https://xxx.vercel.app)
region:
# https://github.com/gitalk/gitalk/blob/master/readme-cn.md
gitalk:
enable: false
clientID:
clientSecret:
repo:
owner:
admin:
md5: false
# https://giscus.app/zh-CN
giscus:
enable: false
repo:
repoId:
category:
categoryId:
mapping: mapping
strict: 0
reactionsEnabled: 1
emitMetadata: 0
inputPosition: bottom
commentTheme: preferred_color_scheme
lang: zh-CN
# need https://github.com/thom4parisot/hexo-algolia
# please add the following config in your _config.yml
# algolia:
# applicationID: 'your applicationID'
# apiKey: 'your apiKey'
# adminApiKey: 'your adminApiKey'
# indexName: 'your indexName'
# chunkSize: 5000
algolia_search:
enable: false
hits:
per_page: 10
labels:
input_placeholder: "搜索....."
hits_empty: "未发现与 「${query}」相关内容"
hits_stats: "找到${hits}条结果(用时 ${time} ms)"
# need https://github.com/wzpan/hexo-generator-search
# please add the following config in your _config.yml
# search:
# path: search.json # The filename must be search.json
# field: post
# content: true
generator_search:
enable: false
preloader:
enable: true
text: 少女祈祷中...
# text: Loading...
# https://github.com/CodeByZach/pace
pace:
enable: true
clipboard:
success: 复制成功(*^▽^*)
fail: 复制失败 (゚⊿゚)ツ
copyright:
enable: false
count: 50 # The number of characters when the copyright is displayed
content: 本文版权:本博客所有文章除特别声明外,均采用 BY-NC-SA 许可协议。转载请注明出处!
# see https://github.com/D-Sketon/aos.js
animation:
enable: true
options:
header:
title: slide-up
subTitle: slide-down
home:
post: fade-up
widget: fade-up
sidebar: fade-up
article:
whole: fade-up
date: zoom-in
category: zoom-in
tag: zoom-in
comment: zoom-in
reading: zoom-in
nav: fade-up
archive:
whole: fade-up
tag: zoom-in
category: zoom-in
section: fade-up
nav: fade-up
dark_mode:
enable: false
# see https://github.com/D-Sketon/mouse-firework
firework:
enable: true
options:
excludeElements: ["a", "button"]
particles:
- shape: circle
move: ["emit"]
easing: easeOutExpo
colors: ["#ff5252", "#ff7c7c", "#ffafaf", "#ffd0d0"]
number: 20
duration: [1200, 1800]
shapeOptions:
radius: [16, 32]
alpha: [0.3, 0.5]
- shape: circle
move: ["diffuse"]
easing: easeOutExpo
colors: ["#ff0000"]
number: 1
duration: [1200, 1800]
shapeOptions:
radius: 20
alpha: [0.2, 0.5]
lineWidth: 6
# Experimental, may have a lot of bugs, open with caution!
pjax:
enable: false
# Experimental
# https://github.com/GoogleChromeLabs/quicklink
quicklink:
enable: false
# The `requestIdleCallback` timeout, in milliseconds.
timeout: 3000
# Whether or not the URLs within the options.el container should be treated as high priority.
# When true, quicklink will attempt to use the fetch() API if supported (rather than link[rel=prefetch]).
priority: true
# Determine if a URL should be prefetched.
# Only support string
ignores: []
# Experimental
service_worker:
enable: false
# Experimental
live2d:
enable: false
reimu_cursor: true
outdate:
enable: false
daysAgo: 180 # The number of days after which the article is considered outdated
message: 本文最后更新于 {time},请注意文中内容可能已经发生变化。
icon_font: 4552607_tq6stt6tcg
# https://fonts.google.com/
font:
article:
- Mulish
- Noto Serif SC
code:
# - Ubuntu Mono
# - Source Code Pro
# - JetBrains Mono
# ICP 备案
icp:
icpnumber: # ICP备案号
beian: # 网安备案号
recordcode: # 网安备案链接中的recordcode参数
sponsor:
enable: false
tip: 请作者喝杯咖啡吧!
qr:
# - name: 支付宝
# src: "/sponsor/alipay.jpg"
# - name: 微信
# src: "/sponsor/wechat.png"
# Dependent cdn links
vendor:
cdn_jsdelivr_gh: https://cdn.jsdelivr.net/gh/
cdn_jsdelivr_npm: https://cdn.jsdelivr.net/npm/
fastly_jsdelivr_gh: https://fastly.jsdelivr.net/gh/
fastly_jsdelivr_npm: https://fastly.jsdelivr.net/npm/
unpkg: https://unpkg.com/
webcache: https://npm.webcache.cn/
js:
clipboard:
src: webcache|[email protected]/dist/clipboard.min.js
integrity: sha384-J08i8An/QeARD9ExYpvphB8BsyOj3Gh2TSh1aLINKO3L0cMSH2dN3E22zFoXEi0Q
lazysizes:
src: webcache|[email protected]/lazysizes.min.js
integrity: sha384-3gT/vsepWkfz/ff7PpWNUeMzeWoH3cDhm/A8jM7ouoAK0/fP/9bcHHR5kHq2nf+e
photoswipe:
src: webcache|[email protected]/dist/photoswipe.esm.min.js
integrity: sha384-WkkO3GCmgkC3VQWpaV8DqhKJqpzpF9JoByxDmnV8+oTJ7m3DfYEWX1fu1scuS4+s
photoswipe_lightbox:
src: webcache|[email protected]/dist/photoswipe-lightbox.esm.min.js
integrity: sha384-DiL6M/gG+wmTxmCRZyD1zee6lIhawn5TGvED0FOh7fXcN9B0aZ9dexSF/N6lrZi/
valine:
src: webcache|[email protected]/dist/Valine.min.js
integrity: sha384-3ma91AExDeMAZ1rjTjaP8V2A2obQE+s5ltKRwYlwdpArz9xVbp0tF3b0VV2ACNPn
waline:
src: webcache|@waline/[email protected]/dist/waline.mjs
integrity: sha384-9sbqJjrfGjbkI6/PI4nU/MvBfEmkkPC4YK9I4zBeMIf1CVCZdCMH/KinBEAZII/5
twikoo:
src: webcache|[email protected]/dist/twikoo.all.min.js
integrity: sha384-lDHsr5aZmkMS0eKnsUu6e9RWP+dRmn7sgjRAKGOAoXfMyzbUK6Qi86zZK7R+KvRV
gitalk:
src: webcache|[email protected]/dist/gitalk.min.js
integrity: sha384-kspnZUWBoSWwoJHa0hBCXYbHGbhvU/lcEH5O8eVbSDhbPwsiVUTp/aGX/z/5EuMA
busuanzi:
src: webcache|[email protected]/bsz.pure.mini.js
integrity: sha384-0M75wtSkhjIInv4coYlaJU83+OypaRCIq2SukQVQX04eGTCBXJDuWAbJet56id+S
algolia:
src: webcache|[email protected]/dist/algoliasearch-lite.umd.js
integrity: sha384-xvLS0jfKuoREs7pqkRI/OI8GcqohO5S+jQz7ZBtQXnsXmD+9jDOOY4cL6dCPzlrk
instantsearch:
src: webcache|[email protected]/dist/instantsearch.production.min.js
integrity: sha384-hHJCflT4KBLQyHfKO9vpstIcFKn/Y+KHTORelMMEn7mOp2AVPp+7fr03dLgZiV3J
pace:
src: webcache|[email protected]/pace.min.js
integrity: sha384-k6YtvFUEIuEFBdrLKJ3YAUbBki333tj1CSUisai5Cswsg9wcLNaPzsTHDswp4Az8
mermaid:
src: webcache|[email protected]/dist/mermaid.min.js
integrity: sha384-aG3Gai4tbCHF0iXo48HwLoOZyut7mBl50oMC9GD1m75xyHfJDv6w8hD/kZRD47aJ
firework:
src: webcache|[email protected]/dist/index.umd.js
integrity: sha384-vkGvf25gm1C1PbcoD5dNfc137HzNL/hr1RKA5HniJOaawtvUmH5lTVFgFAruE9Ge
pjax:
src: webcache|[email protected]/dist/index.umd.js
integrity: sha384-xneY1WY8hOfUzswrE4CrYq35N4BdVcxqxwHPr9zawE/jMSCxD+jAPU55x/jj3wlf
live2d:
base: fastly_jsdelivr_gh|D-Sketon/plugin-live2d/
js: fastly_jsdelivr_gh|D-Sketon/plugin-live2d/js/live2d-autoload.js
md5:
src: webcache|[email protected]/js/md5.min.js
integrity: sha384-JmVtRz6RWiXnA14QbIOJzPuU3MidULOpBP66deeLLyyoF4Tr/gZlbkHkL6vTthxH
quicklink:
src: webcache|[email protected]/dist/quicklink.umd.js
integrity: sha384-aD7FsuQkS1ohgFKY41fJfeA+Wd/QRNnrOd9Bs58K3FzKdJJv8yPnYU8Tnp5z1agS
css:
photoswipe: webcache|[email protected]/dist/photoswipe.css
katex: webcache|[email protected]/dist/katex.min.css
waline: webcache|@waline/[email protected]/dist/waline.css
gitalk: webcache|gitalk/dist/gitalk.css
fontawesome:
high_priority:
- webcache|@fortawesome/[email protected]/css/regular.min.css
- webcache|@fortawesome/[email protected]/css/solid.min.css
low_priority:
- webcache|@fortawesome/[email protected]/css/brands.min.css
- webcache|@fortawesome/[email protected]/css/v5-font-face.min.css
- webcache|@fortawesome/[email protected]/css/v4-font-face.min.css
aos: webcache|@reimujs/[email protected]/dist/aos.css