-
Notifications
You must be signed in to change notification settings - Fork 0
/
_config.butterfly.yml
1543 lines (1402 loc) · 44.6 KB
/
_config.butterfly.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
# --------------------------------------
# Hexo Butterfly Theme Configuration
# If you have any questions, please refer to the documentation
# Chinese: https://butterfly.js.org/
# English: https://butterfly.js.org/en/
# --------------------------------------
# --------------------------------------
# Navigation Settings
# --------------------------------------
nav:
# Navigation bar logo image
logo:
display_title: true
# Whether to fix navigation bar
fixed: false
menu:
# Home: / || fas fa-home
# List||fas fa-list:
# Music: /music/ || fas fa-music
# Movie: /movies/ || fas fa-video
首页: / || fas fa-house
文章||fas fa-book:
归档: /archives/ || fas fa-box-archive
标签: /tags/ || fas fa-tags
分类: /categories/ || fas fa-folder-open
说说: /shuoshuo/ || fas fa-lightbulb
休闲||fas fa-mug-hot || hide:
图库: /gallery/ || fas fa-images
音乐: /music/ || fas fa-music
视频: /video/ || fas fa-video
电影: /movie/ || fas fa-film
云盘: https://cloud.saop.cc/ || fas fa-cloud
网盘: https://drive.saop.cc/ || fas fa-hard-drive
社交||fas fa-paperclip || hide:
友人帐: /link/ || fas fa-link
留言板: /comments/ || fas fa-comment-dots
赞助墙: /donate/ || fas fa-hand-holding-dollar
RSS订阅: /atom.xml || fas fa-rss
虫洞: https://foreverblog.cn/go.html || fas fa-bore-hole
个站商店虫洞: https://storeweb.cn/s/2032 || fas fa-dice
开往: https://www.travellings.cn/go.html || fas fa-shuffle
关于: /about/ || fas fa-heart
分流||fas fa-code-branch || hide:
主线路: https://blog.saop.cc/ || fas fa-code-commit
Vercel: https://vc.saop.cc/ || fas fa-server
Netlify: https://nf.saop.cc/ || fas fa-server
Cloudflare: https://cf.saop.cc/ || fas fa-server
Fleek: https://fe.saop.cc/ || fas fa-server
GitHub: https://gh.saop.cc/ || fab fa-github-alt
源代码: https://github.com/AdingApkgg/AdingApkgg.github.io || fas fa-code
# --------------------------------------
# Code Blocks Settings
# --------------------------------------
code_blocks:
# Code block theme: darker / pale night / light / ocean / false
theme: light
macStyle: true
# Code block height limit (unit: px)
height_limit: 230
word_wrap: false
# Toolbar
copy: true
language: true
# true: shrink the code blocks | false: expand the code blocks | none: expand code blocks and hide the button
shrink: false
fullpage: true
# Social media links
# Formal:
# icon: link || the description || color
social:
# fab fa-github: https://github.com/xxxxx || Github || '#24292e'
# fas fa-envelope: mailto:[email protected] || Email || '#4a7dbe'
fab fa-github: https://github.com/AdingApkgg || GitHub || '#24292e'
fas fa-envelope: mailto:[email protected] || 邮箱 || '#4a7dbe'
fab fa-weixin: /img/wechat.webp || 微信 || '#1aad19'
fab fa-qq: https://wpa.qq.com/msgrd?v=3&uin=1679456234&site=qq&menu=yes || QQ || '#2aa7e3'
fab fa-bilibili: https://space.bilibili.com/1198037522 || B站 || '#00a4da'
# --------------------------------------
# Image Settings
# --------------------------------------
favicon: /favicon.ico
avatar:
img: /img/avatar.webp
effect: false
# Disable all banner images
disable_top_img: false
# If the banner of page not setting, it will show the default_top_img
default_top_img: false
# The banner image of index page
index_img: transparent
# The banner image of archive page
archive_img:
# Note: tag page, not tags page
tag_img:
# The banner image of tag page, you can set the banner image for each tag
# Format:
# - tag name: xxxxx
tag_per_img:
# Note: category page, not categories page
category_img:
# The banner image of category page, you can set the banner image for each category
# Format:
# - category name: xxxxx
category_per_img:
# The background image of footer
footer_img: transparent
# Website Background
# Can set it to color or image url
background: https://registry.npmmirror.com/js-asuna/latest/files/pic/Asuna/Asuna16x9.webp
cover:
# Disable the cover or not
index_enable: true
aside_enable: true
archives_enable: true
# When cover is not set, the default cover is displayed
default_cover:
# - xxx.jpg
- /img/cover/cover001.webp
- /img/cover/cover002.webp
- /img/cover/cover003.webp
- /img/cover/cover004.webp
- /img/cover/cover005.webp
- /img/cover/cover006.webp
- /img/cover/cover007.webp
- /img/cover/cover008.webp
- /img/cover/cover009.webp
- /img/cover/cover010.webp
- /img/cover/cover011.webp
- /img/cover/cover012.webp
- /img/cover/cover013.webp
- /img/cover/cover014.webp
- /img/cover/cover015.webp
- /img/cover/cover016.webp
- /img/cover/cover017.webp
- /img/cover/cover018.webp
- /img/cover/cover019.webp
- /img/cover/cover020.webp
- /img/cover/cover021.webp
- /img/cover/cover022.webp
- /img/cover/cover023.webp
- /img/cover/cover024.webp
- /img/cover/cover025.webp
- /img/cover/cover026.webp
- /img/cover/cover027.webp
- /img/cover/cover028.webp
- /img/cover/cover029.webp
- /img/cover/cover030.webp
- /img/cover/cover031.webp
- /img/cover/cover032.webp
- /img/cover/cover033.webp
- /img/cover/cover034.webp
- /img/cover/cover035.webp
- /img/cover/cover036.webp
- /img/cover/cover037.webp
- /img/cover/cover038.webp
- /img/cover/cover039.webp
- /img/cover/cover040.webp
- /img/cover/cover041.webp
- /img/cover/cover042.webp
- /img/cover/cover043.webp
- /img/cover/cover044.webp
- /img/cover/cover045.webp
- /img/cover/cover046.webp
- /img/cover/cover047.webp
- /img/cover/cover048.webp
- /img/cover/cover049.webp
- /img/cover/cover050.webp
- /img/cover/cover051.webp
- /img/cover/cover052.webp
- /img/cover/cover053.webp
- /img/cover/cover054.webp
- /img/cover/cover055.webp
- /img/cover/cover056.webp
- /img/cover/cover057.webp
- /img/cover/cover058.webp
- /img/cover/cover059.webp
- /img/cover/cover060.webp
- /img/cover/cover061.webp
- /img/cover/cover062.webp
- /img/cover/cover063.webp
- /img/cover/cover064.webp
- /img/cover/cover065.webp
- /img/cover/cover066.webp
- /img/cover/cover067.webp
- /img/cover/cover068.webp
- /img/cover/cover069.webp
- /img/cover/cover070.webp
- /img/cover/cover071.webp
- /img/cover/cover072.webp
- /img/cover/cover073.webp
- /img/cover/cover074.webp
- /img/cover/cover075.webp
- /img/cover/cover076.webp
- /img/cover/cover077.webp
- /img/cover/cover078.webp
- /img/cover/cover079.webp
- /img/cover/cover080.webp
- /img/cover/cover081.webp
- /img/cover/cover082.webp
- /img/cover/cover083.webp
- /img/cover/cover084.webp
- /img/cover/cover085.webp
- /img/cover/cover086.webp
- /img/cover/cover087.webp
- /img/cover/cover088.webp
- /img/cover/cover089.webp
- /img/cover/cover090.webp
- /img/cover/cover091.webp
- /img/cover/cover092.webp
- /img/cover/cover093.webp
- /img/cover/cover094.webp
- /img/cover/cover095.webp
- /img/cover/cover096.webp
- /img/cover/cover097.webp
- /img/cover/cover098.webp
- /img/cover/cover099.webp
- /img/cover/cover100.webp
- /img/cover/cover101.webp
- /img/cover/cover102.webp
- /img/cover/cover103.webp
- /img/cover/cover104.webp
- /img/cover/cover105.webp
- /img/cover/cover106.webp
- /img/cover/cover107.webp
- /img/cover/cover108.webp
- /img/cover/cover109.webp
- /img/cover/cover110.webp
- /img/cover/cover111.webp
- /img/cover/cover112.webp
- /img/cover/cover113.webp
- /img/cover/cover114.webp
- /img/cover/cover115.webp
- /img/cover/cover116.webp
- /img/cover/cover117.webp
- /img/cover/cover118.webp
- /img/cover/cover119.webp
- /img/cover/cover120.webp
- /img/cover/cover121.webp
- /img/cover/cover122.webp
- /img/cover/cover123.webp
- /img/cover/cover124.webp
- /img/cover/cover125.webp
- /img/cover/cover126.webp
- /img/cover/cover127.webp
- /img/cover/cover128.webp
- /img/cover/cover129.webp
- /img/cover/cover130.webp
- /img/cover/cover131.webp
- /img/cover/cover132.webp
- /img/cover/cover133.webp
- /img/cover/cover134.webp
- /img/cover/cover135.webp
- /img/cover/cover136.webp
- /img/cover/cover137.webp
- /img/cover/cover138.webp
- /img/cover/cover139.webp
- /img/cover/cover140.webp
- /img/cover/cover141.webp
- /img/cover/cover142.webp
- /img/cover/cover143.webp
- /img/cover/cover144.webp
- /img/cover/cover145.webp
- /img/cover/cover146.webp
- /img/cover/cover147.webp
- /img/cover/cover148.webp
- /img/cover/cover149.webp
- /img/cover/cover150.webp
- /img/cover/cover151.webp
- /img/cover/cover152.webp
- /img/cover/cover153.webp
- /img/cover/cover154.webp
- /img/cover/cover155.webp
- /img/cover/cover156.webp
- /img/cover/cover157.webp
- /img/cover/cover158.webp
- /img/cover/cover159.webp
- /img/cover/cover160.webp
- /img/cover/cover161.webp
- /img/cover/cover162.webp
- /img/cover/cover163.webp
- /img/cover/cover164.webp
- /img/cover/cover165.webp
- /img/cover/cover166.webp
- /img/cover/cover167.webp
- /img/cover/cover168.webp
- /img/cover/cover169.webp
- /img/cover/cover170.webp
- /img/cover/cover171.webp
- /img/cover/cover172.webp
- /img/cover/cover173.webp
- /img/cover/cover174.webp
- /img/cover/cover175.webp
- /img/cover/cover176.webp
- /img/cover/cover177.webp
- /img/cover/cover178.webp
- /img/cover/cover179.webp
- /img/cover/cover180.webp
- /img/cover/cover181.webp
- /img/cover/cover182.webp
- /img/cover/cover183.webp
- /img/cover/cover184.webp
- /img/cover/cover185.webp
- /img/cover/cover186.webp
- /img/cover/cover187.webp
- /img/cover/cover188.webp
- /img/cover/cover189.webp
- /img/cover/cover190.webp
- /img/cover/cover191.webp
- /img/cover/cover192.webp
- /img/cover/cover193.webp
- /img/cover/cover194.webp
- /img/cover/cover195.webp
- /img/cover/cover196.webp
- /img/cover/cover197.webp
- /img/cover/cover198.webp
- /img/cover/cover199.webp
- /img/cover/cover200.webp
- /img/cover/cover201.webp
- /img/cover/cover202.webp
- /img/cover/cover203.webp
- /img/cover/cover204.webp
- /img/cover/cover205.webp
- /img/cover/cover206.webp
- /img/cover/cover207.webp
- /img/cover/cover208.webp
- /img/cover/cover209.webp
- /img/cover/cover210.webp
- /img/cover/cover211.webp
- /img/cover/cover212.webp
- /img/cover/cover213.webp
- /img/cover/cover214.webp
- /img/cover/cover215.webp
- /img/cover/cover216.webp
- /img/cover/cover217.webp
- /img/cover/cover218.webp
- /img/cover/cover219.webp
- /img/cover/cover220.webp
- /img/cover/cover221.webp
- /img/cover/cover222.webp
- /img/cover/cover223.webp
- /img/cover/cover224.webp
- /img/cover/cover225.webp
- /img/cover/cover226.webp
- /img/cover/cover227.webp
- /img/cover/cover228.webp
- /img/cover/cover229.webp
- /img/cover/cover230.webp
- /img/cover/cover231.webp
- /img/cover/cover232.webp
- /img/cover/cover233.webp
- /img/cover/cover234.webp
- /img/cover/cover235.webp
- /img/cover/cover236.webp
- /img/cover/cover237.webp
- /img/cover/cover238.webp
- /img/cover/cover239.webp
- /img/cover/cover240.webp
- /img/cover/cover241.webp
- /img/cover/cover242.webp
- /img/cover/cover243.webp
- /img/cover/cover244.webp
- /img/cover/cover245.webp
- /img/cover/cover246.webp
- /img/cover/cover247.webp
- /img/cover/cover248.webp
- /img/cover/cover249.webp
- /img/cover/cover250.webp
- /img/cover/cover251.webp
- /img/cover/cover252.webp
- /img/cover/cover253.webp
- /img/cover/cover254.webp
- /img/cover/cover255.webp
- /img/cover/cover256.webp
- /img/cover/cover257.webp
- /img/cover/cover258.webp
- /img/cover/cover259.webp
- /img/cover/cover260.webp
- /img/cover/cover261.webp
- /img/cover/cover262.webp
- /img/cover/cover263.webp
- /img/cover/cover264.webp
- /img/cover/cover265.webp
- /img/cover/cover266.webp
- /img/cover/cover267.webp
- /img/cover/cover268.webp
- /img/cover/cover269.webp
- /img/cover/cover270.webp
- /img/cover/cover271.webp
- /img/cover/cover272.webp
- /img/cover/cover273.webp
- /img/cover/cover274.webp
- /img/cover/cover275.webp
- /img/cover/cover276.webp
- /img/cover/cover277.webp
- /img/cover/cover278.webp
- /img/cover/cover279.webp
- /img/cover/cover280.webp
- /img/cover/cover281.webp
- /img/cover/cover282.webp
- /img/cover/cover283.webp
- /img/cover/cover284.webp
- /img/cover/cover285.webp
- /img/cover/cover286.webp
- /img/cover/cover287.webp
- /img/cover/cover288.webp
- /img/cover/cover289.webp
- /img/cover/cover290.webp
- /img/cover/cover291.webp
- /img/cover/cover292.webp
- /img/cover/cover293.webp
- /img/cover/cover294.webp
- /img/cover/cover295.webp
- /img/cover/cover296.webp
- /img/cover/cover297.webp
- /img/cover/cover298.webp
- /img/cover/cover299.webp
- /img/cover/cover300.webp
- /img/cover/cover301.webp
- /img/cover/cover302.webp
- /img/cover/cover303.webp
- /img/cover/cover304.webp
# Replace Broken Images
error_img:
flink: /img/friend_404.gif
post_page: /img/404.jpg
# A simple 404 page
error_404:
enable: true
subtitle: "此页面不存在哦(#°Д°)"
background: /img/error-page.png
post_meta:
# Home Page
page:
# Choose: created / updated / both
date_type: both
# Choose: date / relative
date_format: relative
categories: true
tags: true
label: true
post:
# Choose: left / center
position: left
# Choose: created / updated / both
date_type: both
# Choose: date / relative
date_format: relative
categories: true
tags: true
label: true
# --------------------------------------
# Index page settings
# --------------------------------------
# The top_img settings of home page
# default: top img - full screen, site info - middle
# The position of site info, eg: 300px/300em/300rem/10%
index_site_info_top:
# The height of top_img, eg: 300px/300em/300rem
index_top_img_height:
# The subtitle on homepage
subtitle:
enable: true
# Typewriter Effect
effect: true
# Customize typed.js
# https://github.com/mattboldt/typed.js/#customization
typed_option:
# Source - Call the third-party service API (Chinese only)
# It will show the source first, then show the content of sub
# Choose: false/1/2/3
# false - disable the function
# 1 - hitokoto.cn
# 2 - yijuzhan.com
# 3 - jinrishici.com
source: 1
# If you close the typewriter effect, the subtitle will only show the first line of sub
sub:
- "我们终会相遇相知,在那悠远的苍穹"
- "出自《缘之空》"
- "这虽然是游戏,但可不是闹着玩的。"
- "出自《刀剑神域》"
# Article layout on the homepage
# 1: Cover on the left, info on the right
# 2: Cover on the right, info on the left
# 3: Cover and info alternate between left and right
# 4: Cover on top, info on the bottom
# 5: Info displayed on the cover
# 6: Masonry layout - Cover on top, info on the bottom
# 7: Masonry layout - Info displayed on the cover
index_layout: 6
# Display the article introduction on homepage
# 1: description
# 2: both (if the description exists, it will show description, or show the auto_excerpt)
# 3: auto_excerpt (default)
# false: do not show the article introduction
index_post_content:
method: 3
# If you set method to 2 or 3, the length need to config
length: 500
# --------------------------------------
# Post Settings
# --------------------------------------
toc:
post: true
page: false
number: true
expand: false
# Only for post
style_simple: false
scroll_percent: true
post_copyright:
enable: true
decode: false
author_href:
license: CC BY-NC-SA 4.0
license_url: https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh-hans
# Sponsor/reward
reward:
enable: true
text:
QR_code:
# - img: /img/wechat.jpg
# link:
# text: wechat
# - img: /img/alipay.jpg
# link:
# text: alipay
- img: /img/wechatpay.webp
link:
text: 微信
- img: /img/alipay.webp
link:
text: 支付宝
# Post edit
# Easily browse and edit blog source code online.
post_edit:
enable: true
# url: https://github.com/user-name/repo-name/edit/branch-name/subdirectory-name/
# For example: https://github.com/jerryc127/butterfly.js.org/edit/main/source/
url: https://github.com/AdingApkgg/blog/edit/main/source/
# Related Articles
related_post:
enable: true
# Number of posts displayed
limit: 3
# Choose: created / updated
date_type: created
# Choose: 1 / 2 / false
# 1: The 'next post' will link to old post
# 2: The 'next post' will link to new post
# false: disable pagination
post_pagination: 2
# Displays outdated notice for a post
noticeOutdate:
enable: true
# Style: simple / flat
style: flat
# When will it be shown
limit_day: 90
# Position: top / bottom
position: top
message_prev: 此文章距离上次更新已过
message_next: 天,文章的内容可能过时。
# --------------------------------------
# Footer Settings
# --------------------------------------
footer:
owner:
enable: true
since: 2023
custom_text:
# Copyright of theme and framework
copyright: false
# --------------------------------------
# Aside Settings
# --------------------------------------
aside:
enable: true
hide: false
# Show the button to hide the aside in bottom right button
button: true
mobile: true
# Position: left / right
position: right
display:
archive: true
tag: true
category: true
card_author:
enable: true
description: LINK START!
button:
enable: true
icon: fa fa-home
text: 前往主页
link: //saop.cc
card_announcement:
enable: true
content: IE 大哥太强了,这 Bug 不修了我,本站如果出现非正常现象,请 Ctrl+F5 强制刷新,或更换 Chrome,Microsoft Edge,Firefox,Safari 等浏览器使用。<div class="social-button"><a class="button--animated" href="//t.me/FullDiveSAO" rel="external nofollow noreferrer" target="_blank">👉 TG 交流群 👈</a></div>
card_recent_post:
enable: true
# If set 0 will show all
limit: 3
# Sort: date / updated
sort: date
sort_order:
card_newest_comments:
enable: true
sort_order:
limit: 3
# Unit: mins, save data to localStorage
storage: 10
avatar: true
card_categories:
enable: true
# If set 0 will show all
limit: 3
# Choose: none / true / false
expand: none
sort_order:
card_tags:
enable: true
# If set 0 will show all
limit: 20
color: true
# Order of tags, random/name/length
orderby: random
# Sort of order. 1, asc for ascending; -1, desc for descending
order: 1
sort_order:
card_archives:
enable: true
# Type: monthly / yearly
type: monthly
# Eg: YYYY年MM月
format: MMMM YYYY
# Sort of order. 1, asc for ascending; -1, desc for descending
order: -1
# If set 0 will show all
limit: 3
sort_order:
card_post_series:
enable: true
# The title shows the series name
series_title: false
# Order by title or date
orderBy: "date"
# Sort of order. 1, asc for ascending; -1, desc for descending
order: -1
card_webinfo:
enable: true
post_count: false
last_push_date: true
sort_order:
# Time difference between publish date and now
# Formal: Month/Day/Year Time or Year/Month/Day Time
# Leave it empty if you don't enable this feature
runtime_date: 2023/01/06 08:00:00
# --------------------------------------
# Bottom right button
# --------------------------------------
# The distance between the bottom right button and the bottom (default unit: px)
rightside_bottom: 120px
# Conversion between Traditional and Simplified Chinese
translate:
enable: true
# The text of a button
default: 繁
# the language of website (1 - Traditional Chinese/ 2 - Simplified Chinese)
defaultEncoding: 2
# Time delay
translateDelay: 0
# The text of the button when the language is Simplified Chinese
msgToTraditionalChinese: "繁"
# The text of the button when the language is Traditional Chinese
msgToSimplifiedChinese: "簡"
# Read Mode
readmode: true
# Dark Mode
darkmode:
enable: true
# Toggle Button to switch dark/light mode
button: true
# Switch dark/light mode automatically
# autoChangeMode: 1 Following System Settings, if the system doesn't support dark mode, it will switch dark mode between 6 pm to 6 am
# autoChangeMode: 2 Switch dark mode between 6 pm to 6 am
# autoChangeMode: false
autoChangeMode: 1
# Set the light mode time. The value is between 0 and 24. If not set, the default value is 6 and 18
start:
end:
# Show scroll percent in scroll-to-top button
rightside_scroll_percent: true
# Don't modify the following settings unless you know how they work
# Choose: readmode,translate,darkmode,hideAside,toc,chat,comment
# Don't repeat the same value
rightside_item_order:
enable: false
# Default: readmode,translate,darkmode,hideAside
hide:
# Default: toc,chat,comment
show:
# --------------------------------------
# Global Settings
# --------------------------------------
anchor:
# When you scroll, the URL will update according to header id.
auto_update: true
# Click the headline to scroll and update the anchor
click_to_scroll: true
photofigcaption: true
copy:
enable: true
# Add the copyright information after copied content
copyright:
enable: true
limit_count: 150
# Need to install the hexo-wordcount plugin
wordcount:
enable: true
# Display the word count of the article in post meta
post_wordcount: true
# Display the time to read the article in post meta
min2read: true
# Display the total word count of the website in aside's webinfo
total_wordcount: true
# Busuanzi count for PV / UV in site
busuanzi:
site_uv: true
site_pv: true
page_pv: true
# --------------------------------------
# Math
# --------------------------------------
# About the per_page
# if you set it to true, it will load mathjax/katex script in each page
# if you set it to false, it will load mathjax/katex script according to your setting (add the 'mathjax: true' or 'katex: true' in page's front-matter)
math:
# Choose: mathjax, katex
# Leave it empty if you don't need math
use:
per_page: true
hide_scrollbar: false
mathjax:
# Enable the contextual menu
enableMenu: true
# Choose: all / ams / none, This controls whether equations are numbered and how
tags: none
katex:
# Enable the copy KaTeX formula
copy_tex: false
# --------------------------------------
# Search
# --------------------------------------
search:
# Choose: algolia_search / local_search / docsearch
# leave it empty if you don't need search
use: local_search
placeholder:
# Algolia Search
algolia_search:
# Number of search results per page
hitsPerPage: 6
# Local Search
local_search:
# Preload the search data when the page loads.
preload: false
# Show top n results per article, show all results by setting to -1
top_n_per_article: 3
# Unescape html strings to the readable one.
unescape: true
CDN:
# Docsearch
# https://docsearch.algolia.com/
docsearch:
appId:
apiKey:
indexName:
option:
# --------------------------------------
# Share System
# --------------------------------------
share:
# Choose: sharejs / addtoany
# Leave it empty if you don't need share
use: sharejs
# Share.js
# https://github.com/overtrue/share.js
sharejs:
sites: facebook,twitter,wechat,weibo,qq
# AddToAny
# https://www.addtoany.com/
addtoany:
item: facebook,twitter,wechat,sina_weibo,facebook_messenger,email,copy_link
# --------------------------------------
# Comments System
# --------------------------------------
comments:
# Up to two comments system, the first will be shown as default
# Leave it empty if you don't need comments
# Choose: Disqus/Disqusjs/Livere/Gitalk/Valine/Waline/Utterances/Facebook Comments/Twikoo/Giscus/Remark42/Artalk
# Format of two comments system : Disqus,Waline
use: Twikoo,Waline
# Display the comment name next to the button
text: true
# Lazyload: The comment system will be load when comment element enters the browser's viewport.
# If you set it to true, the comment count will be invalid
lazyload: false
# Display comment count in post's top_img
count: true
# Display comment count in Home Page
card_post_count: true
# Disqus
# https://disqus.com/
disqus:
shortname:
# For newest comments widget
apikey:
# Alternative Disqus - Render comments with Disqus API
# https://github.com/SukkaW/DisqusJS
disqusjs:
shortname:
apikey:
option:
# Livere
# https://www.livere.com/
livere:
uid:
# Gitalk
# https://github.com/gitalk/gitalk
gitalk:
client_id:
client_secret:
repo:
owner:
admin:
option:
# Valine
# https://valine.js.org
valine:
appId:
appKey:
avatar: monsterid
# This configuration is suitable for domestic custom domain name users, overseas version will be automatically detected (no need to manually fill in)
serverURLs:
bg:
# Use Valine visitor count as the page view count
visitor: false
option:
# Waline - A simple comment system with backend support fork from Valine
# https://waline.js.org/
waline:
serverURL: https://waline.saop.cc
bg:
# Use Waline pageview count as the page view count
pageview: false
option:
locale:
{
nick: "昵称",
mail: "邮箱",
link: "网址",
placeholder: "填写数字QQ邮箱可以自动获取QQ头像",
requiredMeta: [],
sofa: "评论区空空如也~",
anonymous: "匿名的野猫",
login: "登录(可选)",
}
emoji:
- "//registry.npmmirror.com/@waline/emojis/latest/files/alus"
- "//registry.npmmirror.com/@waline/emojis/latest/files/bilibili"
- "//registry.npmmirror.com/@waline/emojis/latest/files/bmoji"
- "//registry.npmmirror.com/@waline/emojis/latest/files/qq"
- "//registry.npmmirror.com/@waline/emojis/latest/files/tieba"
- "//registry.npmmirror.com/@waline/emojis/latest/files/tw"
- "//registry.npmmirror.com/@waline/emojis/latest/files/weibo"
- "//registry.npmmirror.com/@waline/emojis/latest/files/soul-emoji"
reaction: true
# Utterances
# https://utteranc.es/
utterances:
repo:
# Issue Mapping: pathname/url/title/og:title
issue_term: pathname
# Theme: github-light/github-dark/github-dark-orange/icy-dark/dark-blue/photon-dark
light_theme: github-light
dark_theme: photon-dark
js:
option:
# Facebook Comments Plugin
# https://developers.facebook.com/docs/plugins/comments/
facebook_comments:
app_id:
# optional
user_id:
pageSize: 10
# Choose: social / time / reverse_time
order_by: social
lang: zh_TW
# Twikoo
# https://github.com/imaegoo/twikoo
twikoo:
envId: https://twikoo.saop.cc
region:
# Use Twikoo visitor count as the page view count
visitor: true
option:
# Giscus
# https://giscus.app/
giscus:
repo: AdingApkgg/giscus
repo_id: R_kgDOKBUdzQ
category_id: DIC_kwDOKBUdzc4CYOU9
light_theme: light
dark_theme: dark
js:
option:
# Remark42
# https://remark42.com/docs/configuration/frontend/
remark42:
host: