-
Notifications
You must be signed in to change notification settings - Fork 1
/
_config.reimu.yml
566 lines (512 loc) · 17.7 KB
/
_config.reimu.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
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
########################################
# Basic Configuration
########################################
# main menu navigation
# for more icon information, please visit https://github.com/D-Sketon/hexo-theme-reimu/issues/30
menu:
- name: home
url: /
icon: # default use taichi icon, you can use a hexadecimal representation of fontawesome or icon_font, like 'f0c1'
- name: archives
url: /archives
icon:
- name: about
url: /about
icon:
- name: friend
url: /friend
icon:
banner: "/images/banner.webp" # which means themes/reimu/source/images/banner.webp
# You can also write it in the form of the following url
# banner: "https://example.com"
# If you want to use the srcset attribute, please enable it
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" # which means 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" # which means 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
# 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>
footer:
since: 2020 # 2020-current year
powered: true
count: true # show word count and reading time
busuanzi: true
icon:
url: "../images/taichi.png" # this path is relative to the css/style.css, so it needs to go up one level to reach the images folder
rotate: true
mask: true # whether to use the images as a mask
# Sidebar
sidebar: right
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
widgets:
# - category
# - tag
# - tagcloud
# - archive
# - recent_posts
# Widget behavior
archive_type: "monthly"
show_count: false
recent_posts_limits: 5
########################################
# CSS
########################################
anchor_icon: # default use '#' icon, you can use a hexadecimal representation of fontawesome or icon_font, like 'f0c1'
reimu_cursor: true
# set to false to enable fontawesome
icon_font: 4552607_tq6stt6tcg
# https://fonts.google.com/
font:
article:
- Mulish
- Noto Serif SC
code:
# - Ubuntu Mono
# - Source Code Pro
# - JetBrains Mono
dark_mode:
enable: false # set to true to make your website default to dark mode
########################################
# Markdown Display
########################################
math:
enable: false
# if you want to use katex
# It's better to use https://github.com/D-Sketon/hexo-renderer-markdown-it-plus for better performance
# If you don't want to use it, please set `autoRender` to true to enable browser rendering
katex:
enable: true
autoRender: false # whether to render the math in the browser, disabled by default
# if you want to use mathjax
# mathjax does not need any hexo plugins (no support for server rendering currently)
mathjax:
enable: false
options: # see https://docs.mathjax.org/en/latest/web/configuration.html
{
tex:
{
tags: "ams",
useLabelIds: true,
inlineMath: [["$", "$"], ['\\(', '\\)']],
displayMath: [["$$", "$$"], ['\\[', '\\]']],
processEscapes: true,
processEnvironments: true,
autoload: { color: [], colorv2: ["color"] },
packages: { "[+]": ["noerrors"] },
},
options:
{
skipHtmlTags:
["script", "noscript", "style", "textarea", "pre", "code"],
ignoreHtmlClass: "tex2jax_ignore",
processHtmlClass: "tex2jax_process",
},
loader: { load: ["input/asciimath", "[tex]/noerrors"] },
}
# mermaid url https://github.com/knsv/mermaid
# need https://github.com/webappdevelp/hexo-filter-mermaid-diagrams
mermaid:
enable: false
########################################
# Analytics
########################################
baidu_analytics: false
google_analytics: false
clarity: false
########################################
# Comment system
########################################
# 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/
# version 2.15.8
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: light # this option is invalid, because the theme is set by the theme itself
lang: zh-CN
########################################
# Search
########################################
# need https://github.com/LouisBarranqueiro/hexo-algoliasearch
# please add the following config in your _config.yml
# algolia:
# appId: 'your applicationID'
# apiKey: 'your apiKey'
# adminApiKey: 'your adminApiKey'
# indexName: 'your indexName'
# chunkSize: 5000
# fields:
# - content:strip:truncate,0,500
# - excerpt:strip
# - gallery
# - permalink
# - photos
# - slug
# - tags
# - title
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
########################################
# Animation
########################################
# Loader animation
preloader:
enable: true
text: 少女祈祷中...
icon: # default use inline svg for fast speed, you can use a image url, like '/images/taichi.png'
# 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
# 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
########################################
# Extended features
########################################
# Clipboard configuration
clipboard:
success: 复制成功(*^▽^*)
fail: 复制失败 (゚⊿゚)ツ
copyright: # whether to add a copyright for the clipped content
enable: false
count: 50 # The number of characters when the copyright is displayed
content: 本文版权:本博客所有文章除特别声明外,均采用 BY-NC-SA 许可协议。转载请注明出处!
# show categories card on home page
home_categories:
enable: false
content:
- categories: # string (single-layer category) or array (multi-layer category)
cover: # empty means random cover
# whether to display the notification when the article is outdated
outdate:
enable: false
daysAgo: 180 # The number of days after which the article is considered outdated
message: 本文最后更新于 {time},请注意文中内容可能已经发生变化。
# Sponsor
sponsor:
enable: false
tip: 请作者喝杯咖啡吧!
icon:
url: "../images/taichi.png" # this path is relative to the css/style.css, so it needs to go up one level to reach the images folder
rotate: true
mask: true # whether to use the images as a mask
qr:
# - name: 支付宝
# src: "/sponsor/alipay.jpg"
# - name: 微信
# src: "/sponsor/wechat.png"
# ICP 备案
icp:
icpnumber: # ICP备案号
beian: # 网安备案号
recordcode: # 网安备案链接中的recordcode参数
# show the copyright below each article
article_copyright:
enable: false
content:
author: true
link: true
title: false
date: false
updated: false
license: true
# Back To Top
top:
enable: true
icon:
url: "../images/taichi.png" # this path is relative to the css/style.css, so it needs to go up one level to reach the images folder
rotate: true
mask: true # whether to use the images as a mask
########################################
# Experimental features
########################################
# 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: []
# https://github.com/CodeByZach/pace
pace:
enable: true
# Experimental
service_worker:
enable: false
# Experimental
live2d:
enable: false
########################################
# Vendor
########################################
# Dependent cdn links
# If you change the version of a js library, be sure to modify the corresponding integrity value
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
katex:
src: webcache|[email protected]/dist/katex.min.js
integrity: sha384-7zkQWkzuo3B5mTepMUcHkMB5jZaolc2xDwL6VFqjFALcbeS9Ggm/Yr2r3Dy4lfFg
katex_auto_render:
src: webcache|[email protected]/dist/contrib/auto-render.min.js
integrity: sha384-43gviWU0YVjaDtb/GhzOouOXtZMP/7XUzwPTstBeZFe/+rCMvRwr4yROQP43s0Xk
mathjax:
src: webcache|[email protected]/es5/tex-mml-chtml.js
integrity: sha384-Wuix6BuhrWbjDBs24bXrjf4ZQ5aFeFWBuKkFekO2t8xFU0iNaLQfp2K6/1Nxveei
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