-
Notifications
You must be signed in to change notification settings - Fork 0
/
_config.yml
665 lines (600 loc) · 27.8 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
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
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
# main menu navigation url and icon
# 配置菜单导航的名称、路径和图标icon.
menu:
Index:
url: /
icon: fas fa-home
Tags:
url: /tags
icon: fas fa-tags
Categories:
url: /categories
icon: fas fa-bookmark
Archives:
url: /archives
icon: fas fa-archive
About:
url: /about
icon: fas fa-user-circle
Contact:
url: /contact
icon: fas fa-comments
# Friends:
# url: /friends
# icon: fas fa-address-book
# 二级菜单写法如下
Medias:
icon: fas fa-list
children:
# - name: 音乐
# url: /musics
# icon: fas fa-music
- name: 书单
url: /books
icon: fas fa-book
- name: 电影
url: /movies
icon: fas fa-film
- name: 相册
url: /galleries
icon: fas fa-image
- name: 游戏
url: /games
icon: fas fa-file-alt
# Website start time.
# 站点运行开始时间.
time:
enable: false
year: 2019 # 年份
month: 06 # 月份
date: 28 # 日期
hour: 00 # 小时
minute: 00 # 分钟
second: 00 # 秒
# Index cover carousel configuration.
# 首页封面轮播图的相关配置.
cover:
showPrevNext: true # 是否显示左右切换按钮. Whether to display the left and right toggle buttons.
showIndicators: false # 是否显示指示器. # Whether to display the indicators
autoLoop: true # 是否自动轮播. Whether it is automatically rotated.
duration: 120 # 切换延迟时间. Switching delay time.
intervalTime: 50 # 自动切换下一张的间隔时间. Automatically switch the interval of the next one.
useConfig: false # 是否使用配置文件, 在 _data/covers.json 下配置推荐文章, false则使用主题在文章中的配置 cover coverImg
# useConfig 使用方式: 将主题 hexo-theme-matery/source/_data/covers.json 移动到 my-blog/source/_data/下修改配置即可
# index page dream text,
# 配置首页显示"梦想"的语句.
dream:
enable: false
showTitle: true
title: 我的梦想
text: 不是每个人都应该像我这样去建造一座水晶大教堂,但是每个人都应该拥有自己的梦想,设计自己的梦想,追求自己的梦想,实现自己的梦想。梦想是生命的灵魂,是心灵的灯塔,是引导人走向成功的信仰。有了崇高的梦想,只要矢志不渝地追求,梦想就会成为现实,奋斗就会变成壮举,生命就会创造奇迹。——罗伯·舒乐
# Whether to display the musics.
# 是否在首页显示音乐.
music:
enable: true
title: #非吸底模式有效
enable: false
show: 音乐是个好东西
autoHide: true # hide automaticaly
server: tencent # require music platform netease, tencent, kugou, xiami, baidu
type: playlist # require song, playlist, album, search, artist
id: 694251243 # require song id / playlist id / album id / search keyword
fixed: true # 开启吸底模式
autoplay: false # 是否自动播放
theme: '#42b983'
loop: 'all' # 音频循环播放, 可选值: 'all', 'one', 'none'
order: 'random' # 音频循环顺序, 可选值: 'list', 'random'
preload: 'auto' # 预加载,可选值: 'none', 'metadata', 'auto'
volume: 0.5 # 默认音量,请注意播放器会记忆用户设置,用户手动设置音量后默认音量即失效
listFolded: false # 列表默认折叠
hideLrc: true # 隐藏歌词
# Whether to display the videos.
# 是否在首页显示视频.
video:
enable: false
showTitle: true
title: 精彩视频
url: # url和iframeUrl其中一个必填
iframeUrl: #在bilibili或者爱奇艺分享时选择iframe,然后填那个url来这里,sample: //player.bilibili.com/player.html?aid=669520137&bvid=BV1oa4y1L7mw&cid=234543483&page=1
pic:
thumbnails:
height: # 如:400
autoplay: false # 是否自动播放
theme: '#42b983'
loop: false # 是否循环播放
preload: 'auto' # 预加载,可选值: 'none', 'metadata', 'auto'
volume: 0.7
# Whether to display the title of the recommended posts
# 是否显示推荐文章的标题
recommend:
enable: false
showTitle: false
useConfig: false # 是否使用配置文件, 在 _data/recommends.json 下配置推荐文章, false则会走主题配置的 top 属性
# useConfig 使用方式: 将主题 hexo-theme-matery/source/_data/recommends.json 移动到 my-blog/source/_data/下修改配置即可
# Configure website favicon and LOGO
# 配置网站favicon和网站LOGO
favicon: /auther2.png
logo: /auther2.png
# The configuration of the second button in the home banner,
# including the display name of the button, the font awesome icon, and the hyperlink to the button.
# 首页 banner 中的第二个按钮的配置,包括按钮的显示名称、font awesome图标和按钮的超链接.
indexbtn:
enable: false
name: Github
icon: fab fa-github-alt
url: https://github.com/blinkfox/hexo-theme-matery
# The configurations of the second line of home banner
# icon/button will not show up if you leave the corresponding socialLink empty
# 首页 banner 中的第二行个人信息配置,留空即不启用
socialLink:
enable: true
github: # https://github.com/theingz
email: # [email protected]
facebook: # https://www.facebook.com/xxx
twitter: # https://twitter.com/xxx
qq: # 934320370
weibo: # https://weibo.com/xxx
zhihu: # https://www.zhihu.com/xxx
rss: false # true、false
# Whether to activate the Post TOC, and Configure which title types are supported by TOC support.
# You can add `toc: false` to the Front-matter of a post to turn off the TOC.
# 是否激活文章 TOC 功能,并配置TOC支持选中哪些标题类型,这是全局配置。
# 可以在某篇文章的 Front-matter 中再加上`toc: false`,使该篇文章关闭TOC目录功能
toc:
enable: true
heading: h2, h3, h4
collapseDepth: 0 # 目录默认展开层级
showToggleBtn: true # 是否显示切换TOC目录展开收缩的按钮
# 代码块相关
code:
lang: true # 代码块是否显示名称
copy: true # 代码块是否可复制
shrink: false # 代码块是否可以收缩
break: false # 代码是否折行
# 是否激活文章末尾的打赏功能,默认激活(你替换为的你自己的微信、支付宝二维码图片、或者使用网络图片也可以).
reward:
enable: false
title: 你的赏识是我前进的动力
wechat: /medias/reward/wechat.png
alipay: /medias/reward/alipay.jpg
# Whether to activate the copyright information of the blog and author when copying the post content.
# minCharNumber: Approve copyright information by copying at least how many characters.
# 是否激活复制文章时追加博客和作者的版权信息.
copyright:
enable: false
minCharNumber: 120 # 至少复制多少个字符就追加版权信息.
description: 本文章著作权归作者所有,任何形式的转载都请注明出处。
# Whether to activate the mathjax, this is a global configuration, but the post still does not open the mathjax rendering.
# Considering that the mathjax loading is time consuming,
# you also need to add `mathjax: true` to the Front-matter of the post that needs to be rendered.
# 是否激活mathjax数学公式,这是全局配置,但文章仍然不会都开启mathjax渲染,
# 考虑到mathjax加载比较耗时,你还需要在需要渲染的文章的Front-matter中再加上`mathjax: true`才行.
mathjax:
enable: false
cdn: https://cdn.bootcss.com/mathjax/2.7.5/MathJax.js?config=TeX-AMS-MML_HTMLorMML
# Post word count, reading duration, site total word count.
# Before you activate, please confirm that you have installed the hexo-wordcount plugin,
# install the plugin command: `npm i --save hexo-wordcount`.
# 文章字数统计、阅读时长、总字数统计等
# 文章信息--若要开启文章字数统计,需要安装 hexo-wordcount 插件,安装命令: `npm i --save hexo-wordcount`
postInfo:
date: true # 发布日期
update: false # 更新日期
wordCount: false # 文章字数统计
totalCount: false # 站点总文章字数
min2read: false # 文章阅读时长
readCount: false # 文章阅读次数
# Whether to activate the 'love' effect of clicking on the page.
# 是否激活点击页面的'爱心'效果,默认激活.
clicklove:
enable: false
# profile in about page, including avatars, career, and personal introductions.
# 在”关于”页面中配置个人信息,包括头像、职业和个人介绍.
profile:
avatar: /auther2.png
career: Software Engineer
introduction: 在一次听公开课的时候,一个从业者说一个人要是无事可做那就写“部落格”,台湾腔一开始还没有听懂是啥,才知道是指的 blog 。
# config my projects informations in about page.
# If you don't want to display this `My Projects` content, you can deactivate or delete this configuration.
# 在“关于”页面配置"我的项目"信息,如果你不需要这些信息则可以将其设置为不激活或者将其删除.
myProjects:
enable: true
data:
# hexo-theme-matery:
# icon: fas fa-file-alt
# iconBackground: 'linear-gradient(to bottom right, #66BB6A 0%, #81C784 100%)'
# url: http://github.com/blinkfox/hexo-theme-matery
# desc: This is a Hexo blog theme with 'Material Design' and responsive design.
# Fenix:
# icon: fas fa-database
# iconBackground: 'linear-gradient(to bottom right, #F06292 0%, #EF5350 100%)'
# url: https://github.com/blinkfox/fenix
# desc: 这是 Spring Data JPA 复杂或动态 SQL 查询的扩展库。
# typora-vue-theme:
# icon: fas fa-file-alt
# iconBackground: 'linear-gradient(to bottom right, #29B6F6 0%, #1E88E5 100%)'
# url: https://github.com/blinkfox/typora-vue-theme
# desc: This is a typora theme inspired by Vue document style.
Polygenic-tree:
icon: fas fa-file-alt
iconBackground: 'linear-gradient(to bottom right, #29B6F6 0%, #1E88E5 100%)'
url: https://gitee.com/theing/bio_tools
desc: 这是一个自动进行多基因联合构树的程序,配合多线程可在很短的时间内进行多基因的联合构树,使近半个月的工作量缩短至30分钟内完成。
# config my skills informations in about page.
# If you don't want to display this `My Skills` content, you can deactivate or delete this configuration.
# 在“关于”页面配置"我的技能"信息,如果你不需要这些信息则可以将其设置为不激活或者将其删除.
mySkills:
enable: false
data:
Java:
background: 'linear-gradient(to right, #FF0066 0%, #FF00CC 100%)'
percent: 85%
JavaScript:
background: 'linear-gradient(to right, #9900FF 0%, #CC66FF 100%)'
percent: 80%
HTML5:
background: 'linear-gradient(to right, #2196F3 0%, #42A5F5 100%)'
percent: 80%
CSS:
background: 'linear-gradient(to right, #00BCD4 0%, #80DEEA 100%)'
percent: 70%
SQL:
background: 'linear-gradient(to right, #4CAF50 0%, #81C784 100%)'
percent: 90%
程序设计:
background: 'linear-gradient(to right, #FFEB3B 0%, #FFF176 100%)'
percent: 75%
# config gallery of my photos in about page.
# If you don't want to display this `Gallery` content, you can deactivate or delete this configuration.
# 在“关于”页面配置"我的相册"图片,如果你不需要这些信息则可以将其设置为不激活或者将其删除.
myGallery:
enable: true
data:
- /medias/featureimages/0.jpg
- /medias/featureimages/1.jpg
- /medias/featureimages/2.jpg
# Whether to display post-calender in the `archive` page
# 设置在归档页面中是否显示'文章日历'控件
postCalendar: true
# 不建议使用gittalk,gitment这样权限过高的oauth app,因为它们能够 读写 授权者 所有的公共仓库 ,也就是说拿到你的授权 Token 的人,可以将你的 GitHub 公共仓库删空(这是github权限分的不够细的锅),如果恶意攻击者想获取使用者的 AccessToken,只需要在代码中加上一个 ajax 请求即可。原贴地址:https://www.v2ex.com/t/535608。建议大家看完。(我没有在用gittalk/gitment的网站上评论过,但根据v2ex网友的提示,如果网站自行修改了 gitalk.js 脚本 或者反代了 github api,就很容易拿到你的 Token )
# https://github.com/utterance/utterances 是个 GitHub App,它的权限仅限于某个仓库。像 hugo hexo 这种静态页面类型的博客,clientID/clientSecret 泄露是不可避免的。我认为较好的解决方式是像 utteras 这种 GitHubApp,只有一个仓库的读写权限,将破坏降到最小。
# valine是使用的免费的leancloud开发版资源,即使数据丢了leancloud也不用负任何的责任。此外valine的src目录已在1.4.0后停止更新。。。薛定谔的开源。
# 当初多说国内最大都倒了,livere不一定靠谱。
# disqus被墙了。
# 畅言需要备案。
# the Gitalk config,default disabled
# Gitalk 评论模块的配置,默认为不激活
gitalk:
enable: false
owner:
repo:
oauth:
clientId:
clientSecret:
admin:
# the Gitment config,default disabled
# Gitment 评论模块的配置,默认为不激活
gitment:
enable: false
owner:
repo:
oauth:
clientId:
clientSecret:
# disqus config, default disabled
# Disqus评论模块的配置,默认为不激活
disqus:
enable: false
shortname:
# Livere comment configuration, the default is not activated
# Livere 来必力评论模块的配置,默认为不激活
livere:
enable: false
uid:
# The configuration of the Valine comment module is not activated by default.
# To use it, activate the configuration item and set appId and appKey.
# Valine 评论模块的配置,默认为不激活,如要使用,就请激活该配置项,并设置 appId 和 appKey.
valine:
enable: true
appId: c9A3NJapA0GqVqdjIanTXvWV-gzGzoHsz
appKey: siVPq9lDAGz8yClxLOmoMo6I
notify: true
verify: true
visitor: true
avatar: 'mm' # Gravatar style : mm/identicon/monsterid/wavatar/retro/hide
pageSize: 10
placeholder: '随便说点什么吧!' # Comment Box placeholder
background: /medias/comment_bg.png
coolpushkey:
# The configuration of the MiniValine comment module is not activated by default.
# To use it, activate the configuration item.
# MiniValine 评论模块的配置,默认为不激活,如要使用,就请激活该配置项
# See: https://github.com/MiniValine/MiniValine
minivaline:
enable: false
# 更多选项 https://minivaline.js.org/docs/cn/#/Options 按照yml格式继续填写即可 (除了 [el] 选项)
# emoticonUrl 等列表选项 可参考 https://github.com/MiniValine/hexo-next-minivaline
# 下面是一个例子:
serverURL: https://minivaline.your-domain.top
# 自己以前的配置
# minivaline:
# enable: false
# appId: c9A3NJapA0GqVqdjIanTXvWV-gzGzoHsz # Your leancloud application appid
# appKey: siVPq9lDAGz8yClxLOmoMo6I # Your leancloud application appkey
# mode: DesertsP # DesertsP or xCss
# placeholder: Write a Comment # Comment box placeholder
# math: true # Support MathJax.
# md: true # Support Markdown.
# enableQQ: false # Enable QQ avatar API.
# NoRecordIP: false # Do not record commenter IP.
# visitor: true # Article reading statistics.
# maxNest: 6 # Sub-comment maximum nesting depth.
# pageSize: 6 # Pagination size.
# adminEmailMd5: de8a7aa53d07e6b6bceb45c64027763d # The MD5 of Admin Email to show Admin Flag.[Just Only DesertsP Style mode]
# tagMeta: # The String Array of Words to show Flag.[Just Only xCss Style mode]
# - 管理员
# - 小伙伴
# - 访客
# master: # The MD5 String Array of master Email to show master Flag.[Just Only xCss Style mode]
# - de8a7aa53d07e6b6bceb45c64027763d
# friends: # The MD5 String Array of friends Email to show friends Flag.[Just Only xCss Style mode]
# - b5bd5d836c7a0091aa8473e79ed4c25e
# - adb7d1cd192658a55c0ad22a3309cecf
# - 3ce1e6c77b4910f1871106cb30dc62b0
# - cfce8dc43725cc14ffcd9fb4892d5bfc
# # MiniValine's display language depends on user's browser or system environment
# # If you want everyone visiting your site to see a uniform language, you can set a force language value
# # Available values: en | zh-CN | (and many more)
# # More i18n info: https://github.com/MiniValine/minivaline-i18n
# lang:
# # Expression Url.
# # https://github.com/MiniValine/MiniValine/blob/master/.github/FAQ.md#how-to-customize-emoticons
# emoticonUrl:
# - https://cdn.jsdelivr.net/npm/alus@latest
# - https://cdn.jsdelivr.net/gh/MiniValine/qq@latest
# - https://cdn.jsdelivr.net/gh/MiniValine/Bilibilis@latest
# - https://cdn.jsdelivr.net/gh/MiniValine/tieba@latest
# - https://cdn.jsdelivr.net/gh/MiniValine/twemoji@latest
# - https://cdn.jsdelivr.net/gh/MiniValine/weibo@latest
changyan:
enable: false
appId:
conf:
# Whether to display fork me on github icon and link, default true, You can change it to your repo address
# 配置是否在 header 中显示 fork me on github 的图标,默认为true,你可以修改为你的仓库地址.
githubLink:
enable: false
url: https://github.com/blinkfox/hexo-theme-matery
title: Fork Me
# The configuration of the Twikoo comment module is not activated by default.
# To use it, activate the configuration item and set envId.
# Twikoo 评论模块的配置,默认为不激活,如要使用,就请激活该配置项,并设置环境 ID envId.
# See: https://twikoo.js.org
twikoo:
enable: false
envId: twikoo-1gs9l0fb17e7897a # 环境 ID,搭建教程:https://twikoo.js.org/quick-start.html
# region: ap-guangzhou # 环境地域,默认为 ap-shanghai
# path: 'window.location.pathname' # 自定义文章路径
# The password verification feature of read post. To use this feature,
# activate the configuration item and write the 'password' key and Cipher in the post's Front-matter.
# Note: In order to ensure that the original password will not be leaked to the web page,
# the password of the article must be encrypted by 'SHA256' so that it will not be cracked.
# 阅读文章的密码验证功能,如要使用此功能请激活该配置项,并在对应文章的Front-matter中写上'password'的键和加密后的密文即可.
# 请注意:为了保证密码原文不会被泄露到网页中,文章的密码必须是通过'SHA256'加密的,这样就不会被破解.
verifyPassword:
enable: false
promptMessage: 请输入访问本文章的密码
errorMessage: 密码错误,将返回主页!
# busuanzi(http://busuanzi.ibruce.info/) website statistics
# 不蒜子(http://busuanzi.ibruce.info/) 网站统计
busuanziStatistics:
enable: true
totalTraffic: true # 总访问量
totalNumberOfvisitors: true # 总人次
# Add google analytics configuration
# 添加 Google Analytics 配置
googleAnalytics:
enable: false
id:
# Add baidu analytics configuration
# 添加 baidu Analytics 配置
baiduAnalytics:
enable: false
id:
# 百度搜索资源平台提交链接
baiduPush: false
# The used front-end library can be replaced with the corresponding CDN address as needed,
# If the specific version is not specified below, you can use the latest version.
# 使用到的前端库,可按需替换成对应的CDN地址,如果下面未指定具体的版本号,使用最新的版本即可.
# 注:jsdelivr可以自动帮你生成.min版的js和css,所以你在设置js及css路径中可以直接写.min.xxx
libs:
css:
matery: /css/matery.css
mycss: /css/my.css
fontAwesome: /libs/awesome/css/all.css # V5.11.1
materialize: /libs/materialize/materialize.min.css # 1.0.0
aos: /libs/aos/aos.css
animate: /libs/animate/animate.min.css # V3.5.1
lightgallery: /libs/lightGallery/css/lightgallery.min.css # V1.6.11
aplayer: /libs/aplayer/APlayer.min.css
dplayer: /libs/dplayer/DPlayer.min.css
gitalk: /libs/gitalk/gitalk.css
jqcloud: /libs/jqcloud/jqcloud.css
tocbot: /libs/tocbot/tocbot.css
prism: /libs/prism/prism.css
js:
matery: /js/matery.js
jquery: /libs/jquery/jquery.min.js
materialize: /libs/materialize/materialize.min.js # 1.0.0
masonry: /libs/masonry/masonry.pkgd.min.js # v4.0.0
aos: /libs/aos/aos.js
scrollProgress: /libs/scrollprogress/scrollProgress.min.js
lightgallery: /libs/lightGallery/js/lightgallery-all.min.js # V1.6.11
clicklove: /libs/others/clicklove.js
busuanzi: /libs/others/busuanzi.pure.mini.js
aplayer: /libs/aplayer/APlayer.min.js
dplayer: /libs/dplayer/DPlayer.min.js
crypto: /libs/cryptojs/crypto-js.min.js
echarts: /libs/echarts/echarts.min.js
gitalk: /libs/gitalk/gitalk.min.js
valine: /libs/valine/Valine.min.js # 若想保持最新版,请替换为 https://unpkg.com/valine/dist/Valine.min.js 默认为 /libs/valine/Valine.min.js
minivaline: /libs/minivaline/MiniValine.js # latest
twikoo: /libs/twikoo/twikoo.all.min.js # 若想保持最新版,请替换为 https://cdn.jsdelivr.net/npm/twikoo/dist/twikoo.all.min.js 默认为 /libs/twikoo/twikoo.all.min.js
jqcloud: /libs/jqcloud/jqcloud-1.0.4.min.js
tocbot: /libs/tocbot/tocbot.min.js
canvas_nest: /libs/background/canvas-nest.js
ribbon: /libs/background/ribbon.min.js
ribbonRefresh: /libs/background/ribbon-refresh.min.js
ribbon_dynamic: /libs/background/ribbon-dynamic.js
instantpage: /libs/instantpage/instantpage.js
# The post featured images that needs to be displayed when there is no image.
# 无文章特色图片时需要显示的文章特色图片.
featureImages:
- /medias/featureimages/0.jpg
- /medias/featureimages/1.jpg
- /medias/featureimages/2.jpg
- /medias/featureimages/3.jpg
- /medias/featureimages/4.jpg
- /medias/featureimages/5.jpg
- /medias/featureimages/6.jpg
- /medias/featureimages/7.jpg
- /medias/featureimages/8.jpg
- /medias/featureimages/9.jpg
- /medias/featureimages/10.jpg
- /medias/featureimages/11.jpg
- /medias/featureimages/12.jpg
- /medias/featureimages/13.jpg
- /medias/featureimages/14.jpg
- /medias/featureimages/15.jpg
- /medias/featureimages/16.jpg
- /medias/featureimages/17.jpg
- /medias/featureimages/18.jpg
- /medias/featureimages/19.jpg
- /medias/featureimages/20.jpg
- /medias/featureimages/21.jpg
- /medias/featureimages/22.jpg
- /medias/featureimages/23.jpg
# default configs that the default policy for every articles/posts
# default 配置文章的默认转载规则
# you can define reprint policy for a single article in the front-matter of the specific md file using this key: reprintPolicy
# 您可以使用在文章md文件的 front-matter 中指定 reprintPolicy 来给单个文章配置转载规则
# 可用的转载规则有(available reprint policies are):
# 这些转载规则的意义请参考(you can refer to this link FMI):https://creativecommons.org/choose/?lang=zh
# cc_by(知识共享署名 4.0 国际许可协议 Creative Commons Attribution-NoDerivatives 4.0 International License)
# cc_by_nd(知识共享署名-禁止演绎 4.0 国际许可协议 Creative Commons Attribution-NoDerivatives 4.0 International License)
# cc_by_sa(知识共享署名-相同方式共享 4.0 国际许可协议 Creative Commons Attribution-ShareAlike 4.0 International License)
# cc_by_nc(知识共享署名-非商业性使用 4.0 国际许可协议 Creative Commons Attribution-NoDerivatives 4.0 International License)
# cc_by_nc_nd(知识共享署名-非商业性使用-禁止演绎 4.0 国际许可协议 Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License)
# cc_by_nc_sa(知识共享署名-非商业性使用-相同方式共享 4.0 国际许可协议 Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License)
# cc0(CC0 1.0 通用 (CC0 1.0) 公共领域贡献 CC0 1.0 Universal (CC0 1.0) Public Domain Dedication) https://creativecommons.org/publicdomain/zero/1.0/deed.zh
# noreprint(不允许转载 not allowed to reprint)
# pay(付费转载 pay for reprinting)
reprint:
enable: true # whether enable reprint section 是否启用“转载规则限定模块”
default: cc_by
# DaoVoice online contact
daovoice:
enable: false
app_id:
# Tidio online contact
tidio:
enable: false
public_key:
# 腾讯兔小巢,见https://txc.qq.com/
tuxiaochao:
enable: false
productId:
#背景canvas-nest
canvas_nest:
enable: true
color: 0,0,255 # 线条颜色, 默认: '0,0,0' ;三个数字分别为(R,G,B),注意用,分割
pointColor: 0,0,255 # 交点颜色, 默认: '0,0,0' ;三个数字分别为(R,G,B),注意用,分割
opacity: 0.7 # 线条透明度(0~1), 默认: 0.5
zIndex: -1 # 背景的 z-index 属性,css 属性用于控制所在层的位置, 默认: -1.
count: 150 # 线条的总数量, 默认: 99
# 背景静止彩带.
ribbon:
enable: false
size: 150 # 彩带大小, 默认: 90.
alpha: 0.6 # 彩带透明度 (0 ~ 1), 默认: 0.6.
zIndex: -1 # 背景的z-index属性,css属性用于控制所在层的位置, 默认: -1.
clickChange: true # 设置是否每次点击都更换彩带.
# 背景动态彩带.
ribbon_dynamic:
enable: true
# sharejs文章分享模块.
# 支持顺序,可选项目为twitter, facebook, google, qq, qzone, wechat, weibo, douban, linkedin.
sharejs:
enable: true
sites: twitter,facebook,google,qq,qzone,wechat,weibo,douban,linkedin
# addthis文章分享模块.
addthis:
enable: false
pubid: # 前往https://www.addthis.com/获取
# 打字效果副标题.
# 如果有符号 ‘ ,请在 ’ 前面加上 \
subtitle:
enable: true
loop: true # 是否循环
showCursor: true # 是否显示光标
startDelay: 300 # 开始延迟
typeSpeed: 100 # 打字速度
backSpeed: 50 # 删除速度
sub:
- 从来没有真正的绝境, 只有心灵的迷途
- Never really desperate, only the lost of the soul
# 手机二级菜单.
navMenu:
mleft: false # 二级侧栏子菜单是否对齐左边
bgColor: " " # 二级侧栏子菜单背景颜色,留空即为全局背景色
# 网页预加载.
instantpage:
enable: true
# banner 是否每日切换.
# 若为 false, 则 banner 默认为 /medias/banner/0.jpg
banner:
enable: false
#ICP备案信息尾部显示
icp:
enable: false
url: # 备案链接
text: # 备案信息
# CDN访问加速
# 第一次使用本功能,一定要先配置url,再`hexo cl && hexo g && hexo d`部署到GitHub的仓库,注意!必须是GitHub的仓库!
# 如果必须要使用国内的coding或者gitee,可以采用双部署,同时将网站部署到两个仓库(其中一个必须是GitHub的仓库)
# URL配置规则(例子如下): https://cdn.jsdelivr.net/gh/你的GitHub用户名/你的仓库名
# 如果想关闭此功能,将 url地址 注释或删除即可!
#
# 注:配置了此项,就代表着本地调试的时候,网站依然会去GitHub请求资源(原来的资源),本地调试的时候记得将 此项配置 注释或者删除掉
# 更多关于访问速度优化,请查看:https://blog.sky03.cn/posts/42790.html
# 注:jsdelivr可以自动帮你生成.min版的js和css,所以你在上面设置js及css路径中可以直接写.min.xxx
jsDelivr:
url: # https://cdn.jsdelivr.net/gh/skyls03/skyls03.github.io
# 网站背景图
background:
enable: false
url: "https://cdn.jsdelivr.net/gh/Tokisaki-Galaxy/res/site/medias/background.jpg"
# 说说 https://artitalk.js.org/
artitalk:
enable: false
appId: # xxxxx
appKey: # xxxxxx
# 哔哔功能配置
# 登陆leancloud创建应用。进入应用后,点击创建 Class,将「 Class 名称」命名为 content
# 点击刚刚创建的content Class,点击添加列并创建名称为content的列,类型为String,注意列注释也要填写(随意填)
# 记录appid,masterkey,api域名
# 输入:hexo new page bb
# hexo就在source文件夹下创建了bb/index.md。
# 修改index.md的frontmater下的layout为bb:
# ---
# title: 黑石说
# layout: bb
# ---
# 里面的文字可以自己随意加,会显示在哔哔的上方。
# 关注公众号 "黑石哔哔",发送: //bindCurrentUser:你的APPID,你的MASTERKEY,你的RESTAPI
# 可用leancloud国际版,国际版api为 https://appid前八位.api.lncldglobal.com
bbtime:
enable: false
appId: # 你的appId
appKey: # 你的appKey
serverURLs: # https://你的api