-
Notifications
You must be signed in to change notification settings - Fork 2
/
_config.volantis.yml
executable file
·1216 lines (1136 loc) · 53.9 KB
/
_config.volantis.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
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
############################### Volantis ###############################
info:
theme_name: Volantis # This is theme's name.
theme_docs: https:/vlts.cc/ # This is theme's URL.
theme_repo: https://github.com/volantis-x/hexo-theme-volantis
# Debug 调试模式
debug: false # false: 关闭调试模式, env:环境配置检查, pjax:调试pjax,rightMenus: 调试右键, cdn: 调试 CDN System
############################### 默认占位图 ###############################
default:
avatar: volantis-static/media/placeholder/avatar/round/3442075.svg # https://cdn.jsdelivr.net/gh/cdn-x/placeholder@1.0.1/avatar/round/3442075.svg
link: volantis-static/media/placeholder/link/8f277b4ee0ecd.svg # https://cdn.jsdelivr.net/gh/cdn-x/placeholder@1.0.1/link/8f277b4ee0ecd.svg
cover: volantis-static/media/placeholder/cover/76b86c0226ffd.svg # https://cdn.jsdelivr.net/gh/cdn-x/placeholder@1.0.1/cover/76b86c0226ffd.svg
image: volantis-static/media/placeholder/image/2659360.svg # https://cdn.jsdelivr.net/gh/cdn-x/placeholder@1.0.1/image/2659360.svg
############################### CDN System ###############################
cdn_system:
# CDN 优先级 从高到低排序 写入 priority 列表即表示启用(enable)
priority: [custom, local, cdnjs, npm, static]
# ========================================================================
# cdn数据配置文件见 "theme/_cdn.yml", 可以在 source/_data/cdn.yml 覆盖 theme/_cdn.yml
# 变量说明:
# 以下变量只能在 `prefix` 中使用。
# ${site_root} 站点根目录 一般是 "/"
# 以下变量只能在 `format` 中使用。
# ${prefix} CDN 链接前缀
# ${name} package 名称 见 "theme/_cdn.yml"
# ${version} package 版本 见 "theme/_cdn.yml"
# ${file} 文件路径 见 "theme/_cdn.yml"
# ${min_file} 文件路径 ${file} 后添加 .min. (jsdelivr、cdnjs 官方自带压缩)
# ${timestamp} Hexo运行时的时间戳(eg:1661246702300), 可用于静态资源版本控制 format: ${prefix}${file}?v=${timestamp}
system_config:
# 自定义配置 使用 "theme/_cdn.yml" 中的名称作为配置项的键
custom:
fontawesome: https://font.onmicrosoft.cn/font6pro@6.2.0/css/all.min.css
#volantis_app: /js/app.js
# 主题 /js与/css目录 (一般放在本地,可以在此处配置站点CDN),"theme/_cdn.yml" 中以 "volantis_" 开头的名称
# Tip: 在本配置文件中 匹配以 "volantis-local" 开头的链接路径替换为该格式的前缀开头 prefix
local:
# CDN 链接前缀
prefix: ${site_root}
# local CDN 格式
format: ${prefix}${file}
# npm
# https://www.npmjs.com/
# Tip: 在本配置文件中 匹配以 "volantis-npm" 开头的链接路径替换为该格式的前缀开头 prefix
npm:
# CDN 链接前缀
prefix: https://unpkg.com
# npm CDN 格式
format: ${prefix}/${name}@${version}/${file}
# volantis static 静态资源文件 npm 包 CDN 地址
# https://github.com/volantis-x/volantis-static
# Tip: 在本配置文件中 匹配以 "volantis-static" 开头的链接路径替换为该格式的前缀开头 prefix
static:
# CDN 链接前缀
prefix: https://unpkg.com/volantis-static@0.0.1660614606622
# volantis-static CDN 格式
format: ${prefix}/libs/${name}/${file}
# cdnjs
# https://cdnjs.com/
# Tip: 在本配置文件中 匹配以 "volantis-cdnjs" 开头的链接路径替换为该格式的前缀开头 prefix
cdnjs:
# CDN 链接前缀
prefix: https://cdn.bootcdn.net/ajax/libs
# cdnjs CDN 格式
format: ${prefix}/${name}/${version}/${min_file}
# ========================================================================
############################### CSP ###############################
# 内容安全策略( CSP ) meta 标签 http-equiv="Content-Security-Policy"
# https://developer.mozilla.org/zh-CN/docs/Web/HTTP/CSP
# https://content-security-policy.com/
# 也可以设为 false 在 HTTP 标头中设置 https://volantis.js.org/v5/advanced-settings/#设置-HTTP-响应标头
csp:
content: ""
# 可以使用自动程序替换默认的 'unsafe-inline' 和 * 生成更严格的内容安全策略.
# 另可以参考官网的 gulp 方案.
# gulpfile.js https://github.com/volantis-x/community/blob/main/gulpfile.js
########################################################################
# https://web.dev/content-visibility/
# https://www.caniuse.com/?search=content-visibility
content_visibility: false
# 全局页面字符串替换 A => B (可用于临时修改错字等)
replace:
#- https://unpkg.com/ => https://unpkg.onmicrosoft.cn/
#- https://cdn.jsdelivr.net/ => https://jsd.onmicrosoft.cn/
# dns-prefetch preconnect x-dns-prefetch-control
dns_prefetch:
- https://unpkg.onmicrosoft.cn
- https://unpkg.com
- https://cdn.bootcdn.net
# 平滑滚动效果
scroll_smooth: true
############################### Navigation Bar ############################### > start
# 注意事项:建议规范全站路径 URL 最后带一个 "/" 例如 "about/"
navbar:
visiable: always # always, auto
logo: # choose [img] or [icon + title]
img: /favicon.ico
icon:
title:
menu:
- name: 科A作品
icon: fa-solid fa-head-side-brain
rows:
- name: 混沌之脑
icon: fa-solid fa-mind-share
url: /categories/混沌之脑/
- name: 命运石之门
icon: fa-solid fa-cog
url: /categories/命运石之门/
- name: 机器人笔记
icon: fa-solid fa-robot
url: /categories/机器人笔记/
- name: 混沌之子
icon: fa-solid fa-eye
url: /categories/混沌之子/
- name: 超自然9人组
icon: fa-solid fa-star-of-david
url: /categories/超自然9人组/
- name: 匿名代码
icon: fa-solid fa-code
url: https://unpkg.com/sciadvfiles@1.1.3/other/pigeon.webp
- name: 关于本站
icon: fa-solid fa-info
url: /about/
- name: 科A资源站
icon: fa-solid fa-server fa-bounce
url: https://drive.sci-adv.cc/
target: _blank
- name: 开往
icon: fa-solid fa-subway
url: https://travellings.link
target: _blank
- name: 更多
icon: fa-solid fa-ellipsis-v
rows:
- name: 夜间模式
icon: fa-solid fa-moon
toggle: darkmode
target: _blank
- name: 本站源代码
icon: fa-solid fa-code
url: https://github.com/MCSeekeri/sciadv
target: _blank
- name: hr
- name: 科学ADV中文Wiki
icon: fa-solid fa-book
url: https://sci-adv.cc/wiki/%E9%A6%96%E9%A1%B5
target: _blank
- name: devil的CD整理
icon: fa-solid fa-compact-disc
url: https://shimo.im/docs/XjCxcDkPxQwQXXXy/
target: _blank
- name: 未来同人研究所
icon: fa-solid fa-user-edit
url: https://space.bilibili.com/7348022/
target: _blank
- name: 科A短链接服务
icon: fa-solid fa-link
url: https://aka.sci-adv.cc
target: _blank
############################### Navigation Bar ############################### > end
############################### Cover ############################### > start
cover:
height_scheme: half # full, half
layout_scheme: dock # blank (留白), search (搜索), dock (坞), featured (精选), focus (焦点)
display:
home: true
archive: true
others: true # can be written in front-matter 'cover: true'
background: https://unpkg.com/mcseekeri@1.2.6/img/cover/cover6.webp
# background: https://bing.ioliu.cn/v1/rand?w=1920&h=1200
logo: # https://cdn.jsdelivr.net/gh/volantis-x/cdn-org/blog/Logo-Cover@3x.png
title: ''
subtitle: ''
search: '' # search bar placeholder
features:
- name: 归档
icon: fa-solid fa-archive
url: /archives/
- name: 小说
icon: fa-solid fa-file-alt
url: /tags/小说/
- name: 同人
icon: fa-solid fa-user-edit
url: /tags/同人/
- name: 石学
icon: fa-solid fa-books
url: /tags/讨论探究/
- name: 关于
icon: fa-solid fa-user-circle
url: /about/
############################### Cover ############################### > end
pages:
# 友链页面配置
friends:
layout_scheme: traditional # simple: 简单布局, traditional: 传统布局, sites: 网站卡片布局
############################### Article Layout ############################### > start
# 文章布局
article:
# 文章列表页面的文章卡片布局方案
preview:
scheme: landscape # landscape
# pin icon for post
pin_icon: https://cdn.jsdelivr.net/gh/twitter/twemoji@13.0/assets/svg/1f4cc.svg
# auto generate title if not exist
auto_title: true # false, true
# auto generate excerpt if not exist
auto_excerpt: true # false, true
# hide excerpt
hide_excerpt: false
# show split line or not
line_style: dashed # hidden, solid, dashed, dotted
# show author
author: true # true, false
# show readmore button
readmore: auto # auto, always
# 文章详情页面的文章卡片本体布局方案
body:
# 文章顶部信息
# 从 meta_library 中取
top_meta: [author, tags, date, wordcount, walinecount] #启用评论数量需在此添加
# 文章底部信息
# 从 meta_library 中取
bottom_meta: [updated, tags, share]
# ----------------
# 文章页脚组件
footer_widget:
# ----------------
# 参考资料、相关资料等 (for layout: post/docs)
references:
title: 参考资料
icon: fa-solid fa-quote-left
# 在 front-matter 中:
# references:
# - title: 某篇文章
# url: https://
# 即可显示此组件。
# ----------------
# 文章推荐 (for layout: post/docs)
# 推荐算法需要依赖中文分词工具,nodejieba只支持中英文 npm i nodejieba -S
recommended_article:
enable: false
layout: post
title: 推荐阅读
icon: fa-solid fa-bookmark
max_count: 6
placeholder_img: https://lib.sci-adv.cc/favicon.ico
# 不展示文章推荐
# front-matter 使用 skip_recommended_article: true 关闭
# 不在以下文件夹文章中展示文章推荐 根目录是source/
skip_dirs:
# ----------------
# 相关文章,需要安装插件 (for layout: post)
# npm i hexo-related-popular-posts
related_posts:
enable: false
title: 相关文章
icon: fa-solid fa-bookmark
max_count: 5
# 设为空则不使用文章头图
placeholder_img: /favicon.ico
# ----------------
# 版权声明组件 (for layout: post)
copyright:
enable: true
permalink: '本文永久链接是:'
content:
- '本文遵循 署名-非商业性使用-相同方式共享 4.0 国际 (CC BY-NC-SA 4.0) 协议'
- permalink
# 自定义版权组件:精细到文章的版权声明
custom: true # 开启后替代上方内容的版权显示
customData:
default: type4 # 默认授权声明
#############################
# 你可以在文章的 front-matter 覆盖默认版权声明
# 配置示例(均可选):
# copyright:
# type: type3 # 当前文章版权声明类型
# author: 张三 # 本文作者
# ref: # 原文出处
# title: # 原文出处 - 标题
# url: # 原文出处 - 链接
#############################
rules:
type1:
text: <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh#" target="_blank">CC BY-NC-SA 4.0</a>
desc: 署名-非商业性使用-相同方式共享 4.0 国际。
type2:
text: 禁止转载引用
desc: 除非获得原作者的单独授权,任何第三方不得转载!
type3:
text: 原作许可协议
desc: 本文转载自他站,转载或引用本文时,请遵守原作许可协议!
type4:
text: 来自互联网
desc: 本文来自互联网,未知来源,侵权请联系删除。
type5:
text: 允许规范转载
desc: 转载请保留本文转载地址,著作权归作者所有!
type6:
text: 允许付费转载
desc: 您可以联系作者通过付费方式获得授权。
# 还能自行添加更多
# ----------------
# 打赏组件 (for layout: post)
donate:
enable: false
images:
- volantis-static/media/org.volantis/blog/qrcode/github@volantis.png # https://cdn.jsdelivr.net/gh/volantis-x/cdn-org/blog/qrcode/github@volantis.png
- volantis-static/media/org.volantis/blog/qrcode/github@volantis.png # https://cdn.jsdelivr.net/gh/volantis-x/cdn-org/blog/qrcode/github@volantis.png
# meta library
meta_library:
# 默认文章作者(可在 _data/author.yaml 中增加其他作者,并在 front-matter 中设置)
# https://volantis.js.org/advanced-settings/#多人协同
author:
avatar: https://unpkg.com/mcseekeri@1.2.6/avatar/mp.webp
name: Anonymous
url: /
# 文章创建日期
date:
icon: fa-solid fa-calendar-alt
title: '发布于:'
format: 'll' # 日期格式 http://momentjs.com/docs/
# 文章更新日期
updated:
icon: fa-solid fa-edit
title: '更新于:'
format: 'll' # 日期格式 http://momentjs.com/docs/
# 文章分类
category:
icon: fa-solid fa-folder-open
# 文章浏览计数
counter:
icon: fa-solid fa-eye
unit: '次浏览'
# 文章评论数量
walinecount:
icon: fa-solid fa-comment-dots
desc: '条评论' # 条评论
# artalk 文章评论数量
artalkcount:
icon: fa-solid fa-comment-dots
desc: '条评论' # 条评论
# 文章字数和阅读时长
wordcount:
icon_wordcount: fa-solid fa-keyboard
icon_duration: fa-solid fa-hourglass-half
# 文章标签
tags:
icon: fa-solid fa-hashtag
# 分享
share:
- id: qq
img: https://cdn.jsdelivr.net/gh/volantis-x/cdn-org/logo/128/qq.png
- id: qzone
img: https://cdn.jsdelivr.net/gh/volantis-x/cdn-org/logo/128/qzone.png
- id: weibo
img: https://cdn.jsdelivr.net/gh/volantis-x/cdn-org/logo/128/weibo.png
# - id: qrcode # 当id为qrcode时需要安装插件 npm i hexo-helper-qrcode
# img: https://cdn.jsdelivr.net/gh/volantis-x/cdn-org/logo/128/wechat.png
- id: telegram
img: https://cdn.jsdelivr.net/gh/volantis-x/cdn-org/logo/128/telegram.png
############################### Article Layout ############################### > end
############################### Comments ############################### > start
comments:
title: <i class='fa-solid fa-comments'></i> 评论区
subtitle:
service: waline # valine, twikoo, waline, minivaline, disqus, disqusjs, gitalk, vssue, livere, isso, hashover
# Waline
# https://waline.js.org/
waline:
js: https://unpkg.com/@waline/client@v2/dist/waline.js
css: https://unpkg.com/@waline/client@v2/dist/waline.css
placeholder: 欢迎在此发表您对本文的看法,本站评论只需填写昵称和接受回复用的邮箱 # 评论占位提示
meta: [nick,mail,link] # waline comment header info
requiredFields: [nick,mail]
imageUploader:
# 以兰空图床为例,下列填写内容为:
# url: https://xxxxxx/api/v1/upload
# token: Bearer xxxxxxxxxxxxxx
# resp: data.links.url
api: # 图床地址
token: # 图床验证
resp: # 图片地址返回值的字段
pageview: true # 浏览量统计
comment: true # 评论数统计
serverURL: https://comments.sci-adv.cc
recaptchaV3Key: 6Lf9KTAbAAAAALfqwFyJmbRTABDc3MwyCKo696gp
emoji:
- https://cdn.jsdelivr.net/gh/GamerNoTitle/ValineCDN@master/QQ
- https://cdn.jsdelivr.net/gh/GamerNoTitle/ValineCDN@master/Tieba
- https://cdn.jsdelivr.net/gh/GamerNoTitle/ValineCDN@master/Tieba-New
- https://cdn.jsdelivr.net/gh/GamerNoTitle/ValineCDN@master/weibo
- https://cdn.jsdelivr.net/gh/GamerNoTitle/ValineCDN@master/Coolapk
- https://cdn.jsdelivr.net/gh/GamerNoTitle/ValineCDN@master/Heybox
- https://cdn.jsdelivr.net/gh/GamerNoTitle/ValineCDN@master/bilibili2233/
- https://cdn.jsdelivr.net/gh/GamerNoTitle/ValineCDN@master/Menhera-chan
reaction:
- https://unpkg.com/@waline/emojis@1.2.0/tieba/tieba_agree.png
- https://unpkg.com/@waline/emojis@1.2.0/tieba/tieba_doubt.png
- https://unpkg.com/@waline/emojis@1.2.0/tieba/tieba_heart.png
- https://unpkg.com/@waline/emojis@1.2.0/tieba/tieba_lovely.png
- https://unpkg.com/@waline/emojis@1.2.0/tieba/tieba_rage.png
- https://unpkg.com/@waline/emojis@1.2.0/tieba/tieba_cry.png
- https://unpkg.com/@waline/emojis@1.2.0/tieba/tieba_awkward.png
- https://unpkg.com/@waline/emojis@1.2.0/tieba/tieba_vomit.png
############################### Comments ############################### > end
############################### Sidebar ############################### > start
sidebar:
position: right # left right
# 主页、分类、归档等独立页面
for_page: [lastupdate, notice, tagcloud, webinfo]
# layout: docs/post 这类文章页面
for_post: [toc]
# 侧边栏组件库
widget_library:
# ---------------------------------------
# blogger info widget
blogger:
class: blogger
display: [desktop, mobile] # [desktop, mobile]
avatar: https://unpkg.com/mcseekeri@1.2.6/avatar/amadeus.webp
shape: rectangle # circle, rectangle
url: /about/
title: 科学ADV图书馆
subtitle: 致力于科A相关内容的搜集与整理
jinrishici: false # Poetry Today. You can set a string, and it will be displayed when loading fails.
social:
- icon: fa-solid fa-envelope
url: mailto:hiyajo.maho@outlook.jp
- icon: fab fa-github
url: https://github.com/mcseekeri/sciadv
# - icon: fas fa-headphones-alt
# url: https://github.com/MCSeekeri/SGCDN
# ---------------------------------------
# toc widget (valid only in articles)
toc:
class: toc
display: [desktop, mobile] # [desktop, mobile]
sticky: true
header:
icon: fa-solid fa-list
title: 本文目录
list_number: false
min_depth: 2
max_depth: 5
# ---------------------------------------
# music
music:
class: music
display: [desktop, mobile] # [desktop, mobile]
# ---------------------------------------
# category widget
category:
class: category
display: [desktop, mobile]
header:
icon: fa-solid fa-folder-open
title: 文章分类
url: /categories/
# ---------------------------------------
# tagcloud widget
tagcloud:
class: tagcloud
display: [desktop, mobile] # [desktop, mobile]
header:
icon: fa-solid fa-tags
title: 热门标签
url: /tags/
min_font: 18
max_font: 26
color: true
start_color: '#999'
end_color: '#555'
# ---------------------------------------
# qrcode widget
qrcode:
class: qrcode
display: [desktop, mobile] # [desktop, mobile]
height: 64px # Automatic height if not set
images:
- https://cdn.jsdelivr.net/gh/volantis-x/cdn-org/blog/qrcode/github@volantis.png
- https://cdn.jsdelivr.net/gh/volantis-x/cdn-org/blog/qrcode/github@volantis.png
# ---------------------------------------
# webinfo widget
webinfo:
class: webinfo
display: [desktop, mobile]
header:
icon: fa-solid fa-award
title: 站点信息
type:
article:
enable: true
text: '文章数目:'
unit: '篇'
runtime:
enable: true
data: '2021/01/09' # 填写建站日期
text: '已运行时间:'
unit: '天'
wordcount:
enable: true
text: '本站总字数:' # 需要启用 wordcount
unit: '字'
visitcounter:
enable: true
siteuv:
text: '本站访客数:'
unit: '人'
sitepv:
text: '本站总访问量:'
unit: '次'
lastupd:
enable: true
friendlyShow: true # 更友好的时间显示
text: '最后活动时间:'
unit: '日'
notice:
class: text
display: [desktop, mobile] # [desktop, mobile]
header:
icon: fad fa-siren-on
title: 站点公告
content:
- 「然后呢,我,把这个混帐的站点,发布了。」
- 欢迎来到科学ADV图书馆,本站致力于收集科学ADV系列所有衍生小说。
- 站点支持离线访问及作为程序安装到设备上,方便用户查询内容。
- 如果您访问本站遇到了一些问题,请尝试清除浏览器数据之后访问。
- 预祝看的愉快,有问题欢迎前往[关于页面](/about/)进行留言
lastupdate:
class: lastupdate
display: [desktop, mobile]
header:
icon: fa-solid fa-clock WISTERIA
title: 最近更新
# ---------------------------------------
# Artalk widget
artalk:
class: artalk
stickys: true
display: [desktop, mobile]
# ---------------------------------------
# Memos widget
memos_carousel:
class: memos_carousel
display: [desktop, mobile]
header:
icon: fa-solid fa-volume-high
title: 说说
url: /memos/ # 说说页面的地址
url: 'https://s.dusays.com/' # 替换城自己的域名,也可以用杜老师的平台托管
limit: '10' # 展示数量限制
creatorId: '1' # 替换成自己的用户的ID
tag: '' # 要展示的内容的标签
image: 'fa-solid fa-image' # 图片替换成图标
link: 'fa-solid fa-link' # 链接替换成图标
placeholder: '说说加载中...' # 占位符
############################### Sidebar ############################### > end
############################### Tag Plugins ############################### > start
# 内置标签插件的配置
tag_plugins:
# {% note text %}
note: # style for default note:
icon: '\f054'
color: ''
iconfont: 'Font Awesome 6 Pro'
# {% checkbox %}
checkbox:
interactive: false # enable interactive for user
color: '' # color for default checkbox
# {% link title, url, img %}
link:
placeholder: https://cdn.jsdelivr.net/gh/volantis-x/cdn-org/logo/256/safari.png
############################### Tag Plugins ############################### > end
############################### Site Footer ############################### > start
site_footer:
# layout of footer: [aplayer, social, license, info, copyright]
layout: [aplayer, badge, br, analytics, copyright, powered]
social:
- icon: #fas fa-rss
url:
# or
- img:
url:
# or
- avatar:
url:
# site source
source: https://github.com/mcseekeri/sciadv
# analytics using leancloud
analytics: >
<span>本站总访问量为 <span id='busuanzi_value_site_pv'><i class="fa-solid fa-loader fa-spin fa-fw" aria-hidden="true"></i></span> 次</span>
<span>访客数为 <span id='busuanzi_value_site_uv'><i class="fa-solid fa-loader fa-spin fa-fw" aria-hidden="true"></i></span> 人</span>
# site copyright
copyright: '本站内容来源自网络 所有权归作者所有'
# You can add your own property here. (Support markdown, for example: br: '<br>')
br: '<br>'
badge: '[![commit](https://img.shields.io/github/last-commit/MCSeekeri/sciadv?style=for-the-badge)](https://github.com/MCSeekeri/sciadv) [![star](https://img.shields.io/github/stars/MCSeekeri/sciadv?style=for-the-badge)](https://github.com/MCSeekeri/sciadv) [![size](https://img.shields.io/github/repo-size/MCSeekeri/sciadv?style=for-the-badge)](https://github.com/MCSeekeri/sciadv) [![code size](https://img.shields.io/github/languages/code-size/MCSeekeri/sciadv?logo=code%20size&style=for-the-badge)](https://github.com/MCSeekeri/sciadv) [![status](https://img.shields.io/uptimerobot/ratio/m785802121-f726e102d93b206615b80ae4?style=for-the-badge)](https://status.mcseekeri.com/)'
powered: '[![Powered](data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOTcuMTkiIGhlaWdodD0iMzUiIHZpZXdCb3g9IjAgMCAxOTcuMTkgMzUiPjxyZWN0IGNsYXNzPSJzdmdfX3JlY3QiIHg9IjAiIHk9IjAiIHdpZHRoPSIxMjcuMjUiIGhlaWdodD0iMzUiIGZpbGw9IiM1NTU1NTUiLz48cmVjdCBjbGFzcz0ic3ZnX19yZWN0IiB4PSIxMjUuMjUiIHk9IjAiIHdpZHRoPSI3MS45NCIgaGVpZ2h0PSIzNSIgZmlsbD0iIzM4OUFENSIvPjxwYXRoIGNsYXNzPSJzdmdfX3RleHQiIGQ9Ik0xNS43MCAyMkwxNC4yMiAyMkwxNC4yMiAxMy40N0wxNy40OCAxMy40N1ExO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Ljg2IDE5LjkwUTE4Mi4zOCAxOS42MCAxODIuNjcgMTkuMDVRMTgyLjk3IDE4LjUxIDE4Mi45NyAxNy44MEwxODIuOTcgMTcuODBRMTgyLjk3IDE3LjA5IDE4Mi42NyAxNi41NFExODIuMzggMTYgMTgxLjg2IDE1LjcwUTE4MS4zNCAxNS40MCAxODAuNzEgMTUuNDBMMTgwLjcxIDE1LjQwUTE4MC4wNyAxNS40MCAxNzkuNTUgMTUuNzBRMTc5LjA0IDE2IDE3OC43NCAxNi41NFExNzguNDQgMTcuMDkgMTc4LjQ0IDE3LjgwWiIgZmlsbD0iI0ZGRkZGRiIgeD0iMTM4LjI1Ii8+PC9zdmc+)](https://hexo.io)'
############################### Site Footer ############################### > end
############################### Plugins ############################### > start
plugins:
################ required plugins ################
# jquery
globalJquery: false # 全局引入 jquery
# fontawesome
fontawesome: true
################ optional plugins ################
# issues api
sitesjs:
enable: false
friendsjs:
enable: false
contributorsjs:
enable: false
######## Plugins to improve loading speed:
# 预加载
preload:
enable: true
service: flying_pages # instant_page, flying_pages
# 图片懒加载
# https://www.npmjs.com/package/vanilla-lazyload
# tips:
# 这里是主题自带的图片懒加载, 实现方案位于 /scripts/filters/z-lazyload ; srcset 属性的的优先级比 src 属性要高, 注意 srcset 存放了懒加载占位图, src 存放了原图
# 在支持 srcset 的浏览器或者 RSS 阅读器(还会有人使用老旧的阅读器?)上会优先读取 srcset 加载的图片(懒加载占位图), 对于 RSS 中图片丢失变成懒加载占位图的问题, 建议 自行使用脚本移除 srcset 属性 或 关闭图片懒加载 或 在 RSS 中插入 vanilla-lazyload
lazyload:
enable: true
onlypost: true
loadingImg: # https://cdn.jsdelivr.net/gh/volantis-x/cdn-volantis@3/img/placeholder/c617bfd2497fcea598e621413e315c368f8d8e.svg
blurIn: true # 模糊加载效果 (loadingImg为空时有效)
######## Plugins to optimize the experience:
# 代码高亮
code_highlight: highlightjs # highlightjs or prismjs
# highlight.js
highlightjs:
copy_code: true
# 如果开启以下配置, hexo.config.highlight.enable 需要设置为 false ; hexo.config.highlight.enable 设置为 true, 则以下配置无效
# # 不再支持 v11.1.0 以下版本
# js: https://unpkg.com/@highlightjs/cdn-assets@11.5.1/highlight.min.js # Please set hexo.config.highlight.enable = false !!!
# css: https://unpkg.com/@highlightjs/cdn-assets@11.5.1/styles/default.min.css
# # # more: https://www.jsdelivr.com/package/npm/@highlightjs/cdn-assets?path=styles
# prismjs
# https://prismjs.com/
# https://hexo.io/zh-cn/docs/syntax-highlight#PrismJS
prismjs:
copy_code: false
# Please set hexo.config.highlight.enable = false !!! set hexo.config.prismjs.enable = true !!!
js:
- https://unpkg.com/prismjs/components/prism-core.min.js
- https://unpkg.com/prismjs/plugins/autoloader/prism-autoloader.min.js
- https://unpkg.com/prismjs/plugins/line-numbers/prism-line-numbers.min.js
css:
- https://unpkg.com/prismjs/themes/prism-dark.css
- https://unpkg.com/prismjs/plugins/line-numbers/prism-line-numbers.css
# https://scrollrevealjs.org/api/reveal.html
scrollreveal:
enable: true
distance: 32px
duration: 500 # ms
interval: 20 # ms
scale: 1 # 0.1~1
######## Plugins for Count:
# npm i hexo-wordcount
wordcount:
enable: true
busuanzi:
enable: true
######## Plugins for ...
# Button Ripple Effect
nodewaves:
enable: true
# fontawesome V6: https://fontawesome.com/docs/web/style/animate
# fontawesome animation for fontawesome V5
fontawesome_animation:
enable: #true
# Typing Effects
comment_typing:
enable: #true
# Slide Background
# 视差滚动效果 Slide Background
parallax:
enable: false
position: cover # cover: sticky on the cover. fixed: Fixed as background for the site.
shuffle: true # shuffle playlist
duration: 10000 # Duration (ms)
fade: 1500 # fade duration (ms) (Not more than 1500)
images: # For personal use only. At your own risk if used for commercial purposes !!!
- https://unpkg.com/mcseekeri@1.2.6/img/cover/cover1.webp
- https://unpkg.com/mcseekeri@1.2.6/img/cover/cover2.webp
- https://unpkg.com/mcseekeri@1.2.6/img/cover/cover3.webp
- https://unpkg.com/mcseekeri@1.2.6/img/cover/cover4.webp
- https://unpkg.com/mcseekeri@1.2.6/img/cover/cover5.webp
- https://unpkg.com/mcseekeri@1.2.6/img/cover/cover6.webp
- https://unpkg.com/mcseekeri@1.2.6/img/cover/cover7.webp
- https://unpkg.com/mcseekeri@1.2.6/img/cover/cover8.webp
- https://unpkg.com/mcseekeri@1.2.6/img/cover/cover9.webp
- https://unpkg.com/mcseekeri@1.2.6/img/cover/cover10.webp
- https://unpkg.com/mcseekeri@1.2.6/img/cover/cover11.webp
- https://unpkg.com/mcseekeri@1.2.6/img/cover/cover12.webp
- https://unpkg.com/mcseekeri@1.2.6/img/cover/cover13.webp
- https://unpkg.com/mcseekeri@1.2.6/img/cover/cover14.webp
- https://unpkg.com/mcseekeri@1.2.6/img/cover/cover15.webp
- https://unpkg.com/mcseekeri@1.2.6/img/cover/cover16.webp
# APlayer is only available in mainland China.
# APlayer config: https://github.com/metowolf/MetingJS
aplayer:
enable: true
# Required
source: meting # meting:从 MetingJS API 获取音乐数据(API经常不稳定) / local:本地音乐数据
# ============= meting begin =============
server: netease # netease, tencent, kugou, xiami, baidu
type: playlist # song, playlist, album, search, artist
id: 6608242431 # song id / playlist id / album id / search keyword
# Optional
fixed: true # enable fixed mode
theme: '#1BCDFC' # main color
autoplay: false # audio autoplay
order: list # player play order, values: 'list', 'random'
loop: all # player loop play, values: 'all', 'one', 'none'
volume: 0.7 # default volume, notice that player will remember user setting, default volume will not work after user set volume themselves
list_max_height: 320px # list max height
list_folded: true
autoHide: false # hide automaticaly
pace:
enable: true
color: blue # black, blue, green, orange, pink, purple, red, silver, white, yellow
theme: minimal # big-counter, bounce, barber-shop, center-atom, center-circle, center-radar, center-simple, corner-indicator, fill-left, flat-top, flash, loading-bar, mac-osx, material, minimal
# 暗黑模式 darkmode
# 开关按钮:在 navbar.menu 中添加:
# - name: 暗黑模式 # 可自定义
# icon: fas fa-moon # 可自定义
# toggle: darkmode
darkmode:
enable: true
# 旧版 Internet Explorer 淘汰行动
# https://www.microsoft.com/zh-cn/WindowsForBusiness/End-of-IE-support
# 本主题不支持Internet Explorer的任何版本!!!
killOldVersionsOfIE:
enable: true
# 禁用JavaScript提示
# 本页面需要浏览器支持(启用)JavaScript
# 主题中的某些插件必须启用JavaScript才能正常工作,例如开启scrollreveal如果禁用JavaScript会导致卡片消失
killNoScript:
enable: false
# BBtalk https://bb.js.org
bbtalk:
# Set `plugins: ["bbtalk"]` to enable in front-matter
# 不支持 Pjax
appId: 0KzOX4vC7Jsk6vzUGNeEiUaI-gzGzoHsz # your appID
appKey: HwCiWuxfpvKiLm4teCUgTIba # your appKEY
serverURLs: https://bbapi.heson10.com # Request Api 域名
# Memos https://usememos.com
memos:
# Set `plugins: ["memos"]` to enable in front-matter
url: 'https://s.dusays.com/' # 替换成自己的域名,也可以用杜老师的平台托管
limit: '10' # 展示数量限制
id: '1' # 替换成自己的用户的ID
# 友链朋友圈 hexo-circle-of-friends
# https://github.com/Rock-Candy-Tea/hexo-circle-of-friends
# https://fcircle-doc.js.cool/
fcircle:
# Set `plugins: ["fcircle"]` to enable in front-matter
# 支持 Pjax
api: '' # api 地址
message: '与主机通讯中……' # 占位文字
css: 'https://cdn.jsdelivr.net/gh/lmm214/immmmm/themes/hello-friend/static/fcircle-beta.css'
js: 'https://cdn.jsdelivr.net/gh/lmm214/immmmm/themes/hello-friend/static/fcircle-beta.js'
message:
enable: true
css: volantis-static/libs/izitoast/dist/css/iziToast.min.css
js: volantis-static/libs/izitoast/dist/js/iziToast.min.js
icon: # 默认图标,支持对图标添加颜色,可选值:see:/source/css/_style/_plugins/fontcolor.styl
default: fa-solid fa-info-circle light-blue
quection: fa-solid fa-question-circle light-blue
time: # 默认持续时间
default: 5000
quection: 20000
position: 'topRight' # 弹出位置 可选值:topRight, bottomRight, bottomLeft, topLeft, topCenter, bottomCenter, center
transitionIn: 'bounceInLeft' # 弹窗打开动画 可选值:bounceInLeft, bounceInRight, bounceInUp, bounceInDown, fadeIn, fadeInDown, fadeInUp, fadeInLeft, fadeInRight, flipInX
transitionOut: 'fadeOutRight' # 弹窗关闭动画 可选值:fadeOut, fadeOutUp, fadeOutDown, fadeOutLeft, fadeOutRight, flipOutX
titleColor: 'var(--color-text)' # 标题颜色
messageColor: 'var(--color-text)' # 消息颜色
backgroundColor: 'var(--color-card)' # 默认背景色
zindex: 2147483647 # 层级
copyright: # 是否在复制时弹出版权提示(非右键下的操作提示)
enable: false
title: '知识共享许可协议'
message: '请遵守 CC BY-NC-SA 4.0 协议。'
icon: 'far fa-copyright light-blue'
aplayer: # 是否开启音乐通知;播放、暂停、失败 时的图标
enable: true
play: fa-solid fa-play
pause: fa-solid fa-pause
rightmenu:
enable: true # 是否开启右键模块的消息通知
notice: true
# 聊天功能
chat_service: #tidio # or gitter
# Tidio
# https://www.tidio.com/
tidio:
id: cfeex4okbrrdpt6edk1w3hfsbymjft8x
# Gitter
# https://gitter.im
gitter:
room: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# swiper
# https://www.swiper.com.cn/
swiper:
enable: #true
# AI摘要
# https://github.com/zhheo/Post-Abstract-AI
tianliGPT:
enable: false
key: 5Q5mpqRK5DkwT1X9Gi5e
wordLimit: 1000 # 摘要字数限制 (⚠️危险:更改此变量损失已消耗过的key,因为你提交的内容发生了变化。)
typewriter: true # 打字机效果
############################### Plugins ############################### > end
############################### Rightmenu ############################### > start
### 自定义右键
rightmenus:
enable: false
# 右键菜单项及加载顺序
# 内容示例:plugins.[组名], menus.[组名], hr(分割线,推荐去线留白), music(音乐控制器)
order:
- plugins.navigation
- hr
- plugins.inputBox
- plugins.seletctText
- plugins.elementCheck
- plugins.elementImage
- menus.link
- hr
- menus.darkMode
- plugins.articlePage
- music
############################
# - {id: '', name: '', icon: '', link: '', event: '', group: ''}
# id: 唯一值
# name: 用于菜单名称显示
# icon: 用于菜单图标显示
# link: 跳转链接
# event: 事件,当输入内容不为内置事件时,作 JavaScript 代码执行
# group: 菜单项所处分组名称
# 注:
# 1. link/event 二选一,同时出现时仅处理 link
# 2. 内置事件列表: copyText, copyLink, copyPaste, copyAll, copyCut, copyImg, printMode, readMode
# 3. 内置组列表:navigation, inputBox, seletctText, elementCheck, elementImage, articlePage
# 4. plugins 列允许自定义组内项目
# 5. menus 列允许自定义组及其内容
# 6. 除 navigation 外的内置组,在显示时会隐藏含 link 属性的菜单项
###########################
# 基础项设置
options:
# 图标前缀 fa-solid, fa-regular, fa-light, fa-thin, fa-duotone, fa-brands
iconPrefix: fa-solid
# 例外,在 articlePage 组显示时(文章页)时依旧显示含 link 属性的菜单项
articleShowLink: true
# 当设定全局音乐播放器时,是否一直显示音乐控制菜单。false:仅当音乐播放时启用
musicAlwaysShow: true
# 右键内置组,预置实现
plugins:
# 导航组件
# 横向排列,共用一行,仅显示图标 (原则上支持的数量不限)
navigation:
- {id: 'left', name: '转到上一页', icon: 'fa-solid fa-arrow-left', event: 'history.back()', group: 'navigation'}
- {id: 'right', name: '转到下一页', icon: 'fa-solid fa-arrow-right', event: 'history.forward()', group: 'navigation'}
- {id: 'redo', name: '刷新当前页面', icon: 'fa-solid fa-redo', event: 'window.location.reload()', group: 'navigation'}
- {id: 'up', name: '回到顶部', icon: 'fa-solid fa-arrow-up', event: 'VolantisApp.scrolltoElement(volantis.dom.bodyAnchor)', group: 'navigation'}
#- {id: 'home', name: '回到首页', icon: 'fa-solid fa-home', link: '/', group: 'navigation'}
# 文本输入框相关组件
# 生效于 input/textarea,粘贴、剪切、全选
inputBox:
- {id: 'copyPaste', name: '粘贴文本', icon: 'fa-solid fa-paste', event: 'copyPaste', group: 'inputBox'}
- {id: 'copyAll', name: '全选文本', icon: 'fa-solid fa-object-ungroup', event: 'copyAll', group: 'inputBox'}
- {id: 'copyCut', name: '剪切文本', icon: 'fa-solid fa-cut', event: 'copyCut', group: 'inputBox'}
# 文本选中类组件
# 生效于右键选中文本,__text__ 为选中的文本。
seletctText:
- {id: 'copyText', name: '复制文本', icon: 'fa-solid fa-copy', event: 'copyText', group: 'seletctText'}
- {id: 'searchWord', name: '站内搜索', icon: 'fa-solid fa-search', event: 'OpenSearch(__text__)', group: 'seletctText'}
- {id: 'bingSearch', name: '必应搜索', icon: 'fa-solid fa-search', event: 'window.open(`https://cn.bing.com/search?q=${__text__}`)', group: 'seletctText'}
- {id: 'googleSearch', name: '谷歌搜索', icon: 'fa-solid fa-search', event: 'window.open(`https://www.google.com/search?q=${__text__}`)', group: 'seletctText'}
# 链接判断组件
# 生效于链接处的右键行为,__link__ 为链接地址
elementCheck:
- {id: 'openTab', name: '新标签页打开', icon: 'fa-solid fa-external-link-square-alt', event: 'window.open(__link__)', group: 'elementCheck'}
- {id: 'copyLink', name: '复制链接地址', icon: 'fa-solid fa-link', event: 'copyLink', group: 'elementCheck'}
# 图片判断类组件
# 生效于图片类的右键行为,__link__ 为链接地址
elementImage:
- {id: 'copyImg', name: '复制图片', icon: 'fa-solid fa-image', event: 'copyImg', group: 'elementImage'}
- {id: 'googleImg', name: '谷歌识图', icon: 'fa-solid fa-images', event: 'window.open(`https://www.google.com.hk/searchbyimage?image_url=${__link__}`)', group: 'elementImage'}
# 文章页面组件
# 生效于 post.article 页面
articlePage:
- {id: 'printMode', name: '打印页面', icon: 'fa-solid fa-print', event: 'printMode', group: 'articlePage'}
- {id: 'readMode', name: '阅读模式', icon: 'fa-solid fa-book-open', event: 'readMode', group: 'articlePage'}
# 右键自定义菜单区域
menus:
link:
- {id: 'source_docs', name: '本站源码', icon: 'fa-solid fa-code-branch', link: 'https://github.com/mcseekeri/sciadv', group: 'link'}
darkMode:
- {id: 'darkMode', name: '暗黑模式', icon: 'fa-solid fa-moon', event: 'volantis.dark.toggle()', group: 'darkMode'}
###
############################### Rightmenu ############################### > end
############################### Search ############################### > start
# To use hexo search, you need to install the following plugins:
# npm i hexo-generator-json-content
search:
enable: true
service: hexo # hexo, algolia, meilisearch
algolia:
searchAsYouType: true # If false, triggers the search only on submit.
hitsPerPage: 5 # Set the number of hits per page.
placeholder: 'Search...' # The placeholder text of the input.
meilisearch:
placeholder: 'Search...'
searchKey: ''
indexName: ''
hostUrl: ''
############################### Search ############################### > end
############################### Color Scheme ############################### > start
# Accessibility: 背景色和前景色要有足够的对比度 https://web.dev/color-contrast/
# https://ant.design/docs/spec/colors-cn
color_scheme:
# ------------
# 通用颜色
common:
# 主题色
theme: '#3dd9b6'
# 链接色