-
Notifications
You must be signed in to change notification settings - Fork 0
/
_config.solitude.yml
990 lines (932 loc) · 29.9 KB
/
_config.solitude.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
# ---------------------------
# Hexo Theme Solitude
# Author: Ever Fu
# Github: https://github.com/everfu/hexo-theme-solitude
#
# Guide: https://solitude.js.org
# You can get more detailed help from the guide
# 指南:https://solitude.js.org
# 你可以从指南中获取更详细的帮助
#
# sponsor: https://ko-fi.com/everfu
# 赞助:https://afdian.com/a/everfu
# ---------------------------
# --------------------------- start ---------------------------
# Site information
# 网站信息
site:
name:
class: text # text / i_class / img
custom: Solitude # Solitude / fas fa-ghost / /img/pwa/favicon.ico
icon: /img/pwa/favicon.ico # Site icon / 网站图标
# --------------------------- end ---------------------------
# --------------------------- start ---------------------------
# Navigation bar
# 导航栏
nav:
# Left Box
# 左侧盒子
group:
# project: # name
# Solitude: https://github.com/everfu/hexo-theme-solitude || /img/pwa/favicon.ico # name: url || icon
# Menu
# 菜单
menu:
# Home: / # name: link
# Article: # name
# Archives: /archives/ || fas fa-folder-closed # item name: link || icon
# Categories: /categories/ || fas fa-clone
# Tags: /tags/ || fas fa-tags
# Friends:
# Moments: /moments/ || fas fa-wifi
# Links: /links/ || fas fa-user-group
# Treasure: javascript:travelling() || fas fa-gift
# Myself:
# Equipment: /equipment/ || fas fa-laptop
# Toobox: /tlink/ || fas fa-toolbox
# Music: /music/ || fas fa-music
# About: /about/
# Right button
# 右侧按钮
right:
random: false # Random article / 随机文章按钮
custom:
# - name: Start # name
# url: https://www.travellings.cn/go.html # Jump link
# icon: fas fa-train # Icon
# onclick: # Click event
# id: travellings_button # id
# --------------------------- end ---------------------------
# --------------------------- start ---------------------------
# Home Top Banner
# 首页顶部
hometop:
enable: false
banner:
title: # Tranquility <br>and love life / 宁静致远 <br> 热爱生活 # Title
url: Hexo Theme Solitude
icon:
# HTML: # name
# img: https://i.postimg.cc/vBWVnY8q/html.png # url
# color: "#e9572b" # color
# JS:
# img: https://i.postimg.cc/3N10Ltv2/js.png
# color: "#f7cb4f"
# Docker:
# img: https://i.postimg.cc/8Pk6Fg24/docker.png
# color: "#57b6e6"
# Flutter:
# img: https://i.postimg.cc/hPC7T3gB/flutter.png
# color: "#ffffff"
# WebPack:
# img: https://i.postimg.cc/dVLZBmtT/webpack.png
# color: "#2e3a41"
# Git:
# img: https://i.postimg.cc/nhgjwjCS/git.png
# color: "#df5b40"
group:
# 热门: /tags/Fire/ || fas fa-fire || linear-gradient(to right,#f65,#ffbf37)
recommendList:
sup: 置顶
title: Solitude 官方文档
url: https://solitude.js.org/
img: /img/default.avif
color: "none"
# Article Top Banner
# 文章推荐轮播图
carousel: false
# --------------------------- end ---------------------------
# --------------------------- start ---------------------------
# Aside
# 侧边栏
aside:
# Values: about (info card), newestPost (latest article), allInfo (website information), flip (official account QR code), newest_comment (latest comment)
# 值: about(信息卡), newestPost(最新文章), allInfo(网站信息), flip(官方账号二维码), newest_comment(最新评论)
# Sticky: Fixed position / noSticky: Not fixed position
# Sticky: 固定位置 / noSticky: 不固定位置
home: # on the homepage
noSticky: "about"
Sticky: "allInfo"
post: # on the article page
noSticky: "about"
Sticky: "newestPost"
page: # on the page
noSticky: "about"
Sticky: "newestPost,allInfo"
# 菜单栏位置(0: 左 1: 右)
position: 1 # Sidebar positioning(0: left 1: right)
# --------------------------- start ---------------------------
# Information card
# 信息卡
card:
style: 0 # 0: default 1: style 1 2: style 2
author:
img: /img/avatar.avif # url
sticker: # url, 24x24 size
url: /about/ # link / 点击头像跳转链接
background: # https://s3.qjqq.cn/47/663af296b85f4.webp!color # Background image(Invalid if style is 0)
# Content(Invalid if style is 0)
# 内容(Style 0 无效)
content: # 这是我的博客 / This is my Blog
content2: # 一个热爱生活的人 / A person who loves life
# Style 2 is invalid
# Style 2 无效
sayhello:
morning: ✨ Good morning. It's a new day
noon: It's time for a midday break
afternoon: Tea time. 🍵
night: early bedtime
goodnight: Good night 😴
# Style 2 is invalid, Triggered when sayhello is clicked.
# Style 2 无效, 点击 sayhello 时触发
sayhello2:
# - You'll make it.
# - You're gonna make it.
# - Good luck, stranger.
# social
# 社交信息图标
information:
# Github: https://github.com/everfu || fab fa-github # Name: link || icon
# Bilibili: https://space.bilibili.com/1329819902 || fab fa-bilibili
# --------------------------- end ---------------------------
# --------------------------- start ---------------------------
# Sidebar QR code component
# 侧边栏二维码组件
flip:
favicon: # url (favicon)
face: # url (QR code)
backface: # url (QR code)
backcolor: "var(--efu-blue)" # Background color
# --------------------------- end ---------------------------
# --------------------------- start ---------------------------
# recent comments(⚠️ Comments need to be configured first.)
# 最新评论(⚠️ 需要先配置评论)
newest_comment:
enable: true
storage: .5 # 缓存时间 1: 1天 / .5 : 半天 / Cache time 1: 1 day .5 : half a day
limit: 5 # 评论数 / Number of comments
# --------------------------- end ---------------------------
# --------------------------- start ---------------------------
# article table of contents
# 文章目录
toc:
post: true
page: false
vague: true
# --------------------------- end ---------------------------
# --------------------------- start ---------------------------
# Tags
# 标签
tags:
enable: false
limit: 20 # Number of tags displayed
# Highlighted tags
highlight_list:
# - Hexo
# --------------------------- end ---------------------------
# --------------------------- start ---------------------------
# Archive
# 归档
archive:
enable: false
type: "month" # month: by month / year: by year
# --------------------------- end ---------------------------
# --------------------------- start ---------------------------
# Site Info
# 网站信息
siteinfo:
# Number of articles
# 文章数量
postcount: true
# Total number of words
# 总字数
wordcount: false
# PV
pv: true
# UV
uv: true
# Last update date
# 最后更新日期
updatetime: true
# Website creation time
# 网站创建时间
runtimeenable: true
# Format: yyyy-MM-dd hh-mm-ss
# 格式: yyyy-MM-dd hh-mm-ss
runtime: "2023-04-20 00:00:00"
# --------------------------- end ---------------------------
# --------------------------- end ---------------------------
# --------------------------- start ---------------------------
# Home page article configuration information
# 首页文章配置信息
index_post_list:
direction: column # row / column
column: 2 # 2: 2 columns 3: 3 columns
# 1: 1 post.description / 1: 使用自己写的文章摘要
# 2: 2 Automatically get descriptions or screenshots / 2: 自动获取描述或截图
# 3: 3 Use only interception / 3: 仅使用截取
# false: Do not display / false: 不显示
content: false
# The length of the screenshot content
# 截图内容长度
length: 500
# left: on the left : left / right: on the right : right / both: both sides : both
# left: 左侧 : left / right: 右侧 : right / both: 两侧 : both
cover: both
# --------------------------- end ---------------------------
# --------------------------- start ---------------------------
# Page default settings
# 页面默认设置
page:
# 404 page
# 404 页面
error: true
# Tags page
# 标签页面
tags: true
# Categories page
# 分类页面
categories: true
# list: Sort List / 1: Follow HomeList
# list: 排序列表 / 1: 跟随首页列表
archives: 0
# Default value
# 默认值
default:
# Default image when no cover is set
# 未设置封面时的默认图片
cover:
# - /img/default.png # 默认图片 / default cover
# --------------------------- end ---------------------------
# --------------------------- start ---------------------------
# Post default settings
# 文章默认设置
post:
default:
# The cover of the article is displayed
# 文章封面显示
top_cover: true
# Default image when no cover is set
# 未设置封面时的默认图片
cover:
# - # 默认图片 / default cover
# Location
# 位置
locate: China
# Copyright
# 版权
copyright:
enable: true
author:
url: /about/ # Author link
# Default icon is not filled in
# 不填显示默认图标
img:
# License
# 许可证
license: CC BY-NC-SA 4.0
# License link
# 许可证链接
licenurl: https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh
# Article meta information
# 文章元信息
meta:
# Release date
# 发布日期
date: false
# Update date
# 更新日期
updated: false
# Location
# 位置
locate: false
# Number of words
# 字数
wordcount: false
# uv
readtime: false
# pv
pv: false
# Comment count
# 评论数
comment: false
# Reward
# 打赏
award:
enable: false
appreciators: /about/ # Reward page
# Reward Title
# 打赏标题
title: # Thanks for your appreciation. / 感谢您的赞赏
desc: # Because of your support, I realize the value of writing articles. / 由于您的支持,我才能够实现写作的价值。
# Reward list
# 打赏列表
list:
# - name: Github Sponsor
# qcode: https://s3.qjqq.cn/47/661ba900c4bc1.webp!color
# url: https://github.com/sponsors/everfu
# color: var(--efu-black)
# Share icon
# 分享图标
share:
enable: false
list:
# - qq
# - weibo
# - twitter
# - facebook
# - telegram
# - whatsapp
# - linkedin
# - link
# - qrcode
rss: # /atom.xml
# Article reading progress
# 文章封面取色
covercolor:
enable: false
# local: local color / api: api color
mode: local
# api address / api 地址
api: https://api.qjqq.cn/api/Imgcolor?img=
# Storage / 缓存时间
time: 43200000
footer:
enable: false
desc: # Articles from Ever Fu. / 文章来自 Ever Fu # description
button: # Button
enable: true
name: # Learn more / 了解更多
url: /about/
# --------------------------- end ---------------------------
# --------------------------- start ---------------------------
# Custom Theme Color
theme_color:
dark: "#ffc848" # Dark mode
dark_op: "#f2b94b23" # Dark mode transparent
dark_op_deep: "#f2b94bdd" # Dark mode transparent dark
dark_none: "#f2b94b00" # Dark mode transparent colorless
light: "#425AEF" # Light mode
light_op: "#4259ef23" # Light mode transparent
light_op_deep: "#4259efdd" # Light mode transparent dark
light_none: "#4259ef01" # Light mode transparent colorless
# --------------------------- end ---------------------------
# --------------------------- start ---------------------------
# display mode
# 显示模式
display_mode:
# auto: automatic switching(Recognize the current theme mode of the device) / dark: dark mode / light: light mode
# auto: 自动切换(识别设备当前主题模式) / dark: 深色模式 / light: 浅色模式
type: auto
# After opening, the dark mode will display the starry sky background
# 开启后深色模式会显示星空背景
universe: false
# --------------------------- end ---------------------------
# --------------------------- start ---------------------------
# Related articles
# 相关文章
related_post:
enable: false
limit: 2
# created: release date / updated: update date
# created: 发布日期 / updated: 更新日期
date_type: created
# --------------------------- end ---------------------------
# --------------------------- start ---------------------------
# Footer
# 页脚
footer:
# Information social icon
information:
author: false # img url / false
left:
# Github: https://github.com/everfu || fab fa-github # Name: link || icon
# Mail: mailto:o@efu.me || fab fa-envelope
right:
# Bilibili: https://space.bilibili.com/1329819902 || fab fa-bilibili
# Douyin: https://v.douyin.com/iJsLc8jt/ || fab fa-tiktok
group:
# Navigation:
# Archives: /archives/
# Categories: /categories/
# Tags: /tags/
# Arrangement:
# Cookies: /cookies/
# Privacy: /privacy/
# Copyright: /copyright/
# Random link
# 随机友链
randomlink: false # Random link
# License
license: # https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh # License
# Footer information text
# 页脚信息文字
# Please do not delete the theme information, this is respect for the author
# 请不要删除主题信息,这是对作者的尊重
links:
- name: Theme
url: https://github.com/everfu/hexo-theme-solitude
# - name: RSS
# url: /atom.xml
# --------------------------- end ---------------------------
# --------------------------- start ---------------------------
# 404 page
# 404 页面
errorpage:
img: /img/404.avif
text: =awa= Page NotFound # Text
recommendList: true
# --------------------------- end ---------------------------
# --------------------------- start ---------------------------
# Says Page
# 即可短文
says:
enable: false
home_mini: false
page: /essay/
style: 1
strip: 30
# --------------------------- end ---------------------------
# --------------------------- start ---------------------------
# Recent comments Page
# 最近评论页面
recent_comments:
enable: false
limit: 50 # ⚠️waline 仅支持最大50条评论 / ⚠️waline only supports a maximum of 50 comments
cache: 0.2 # 1 = 1天 / 1 = 1 day
page: /recentcomments/ # 最近评论页面 / recent comments page
img: /img/recent_c.avif # 中控台显示图片(不填不显示) / image displayed in the console
# --------------------------- end ---------------------------
# --------------------------- start ---------------------------
# Danmaku Page
# 弹幕留言页面
envelope:
enable: false
line: 10 # 显示行数
speed: 20 # 播放速度
hover: true # 鼠标悬停暂停
loop: true # 循环播放
page: /message/ # 留言板页面 / message board page
# --------------------------- end ---------------------------
# --------------------------- start ---------------------------
# This part of the content uses metingjs,
# can only use NetEase Cloud Music, QQ Music and other music platforms supported by the mainland China region,
# the subsequent consideration of the use of JSON files to store music information and customize the implementation of the third-party API does not depend on the page.
# Music Page
meting_api: "https://meting.qjqq.cn/?server=:server&type=:type&id=:id&auth=:auth&r=:r" # Custom API
music:
enable: false
# 歌单 ID / 单曲 ID
id: 1994908354
# 服务商:netease / qq / xiami / kugou / baidu
server: netease
# 类型:playlist / song
type: playlist
# 默认音量
volume: 0.8
# 是否自动播放
mutex: true
# Capsule music
# 音乐胶囊
capsule:
enable: false
# 歌单 ID / 单曲 ID
id: 8407304077
# 服务商:netease / qq / xiami / kugou / baidu
server: netease
# 类型:playlist / song
type: playlist
# --------------------------- end ---------------------------
# --------------------------- start ---------------------------
# Quick Menu
# Open with shift + ?
# 快捷菜单
# 使用 shift + ? 打开
keyboard:
enable: false
list:
# - name: Close Keyboard
# key: K
# func: keyboard
# - name: Open Console
# key: A
# sco: showConsole
# - name: Play/Pause Music
# key: M
# sco: musicToggle
# - name: Open Links
# key: L
# url: /links/
# --------------------------- end ---------------------------
# --------------------------- start ---------------------------
# Copy
# information
# 复制信息
copy:
enable: false
# Turn on Link copyright information after copying.
# 复制后链接版权信息
copyright:
enable: false
# Display when the number of words copied exceeds
# 复制文字时超过多少字数显示
limit: 50
# --------------------------- end ---------------------------
# --------------------------- start ---------------------------
# Lazyload
# 图片懒加载
lazyload:
enable: false
# post, site
field: site
# 加载时替换图
placeholder: /img/loading.avif
# 加载失败替换图
errorimg: /img/error_load.avif
# --------------------------- end ---------------------------
# --------------------------- start ---------------------------
# Loading
# 加载
loading:
# Full screen loading
# 全屏加载
fullpage: false
# Pace loading
# Pace 加载
pace: true
# --------------------------- end ---------------------------
# --------------------------- start ---------------------------
# Highlight
# 代码块高亮
highlight:
enable: true
# Display the fold button when the number of words exceeds
# 当超过多少字时显示折叠按钮
limit: 200
# Whether to enable the copy button
# 是否启用复制按钮
copy: true
# Whether to expand by default
# 是否默认展开
expand: true
# default: default / mac : apple terminal
# default: 默认 / mac : 苹果终端
theme: mac
# default / solidity / dracula
color: default
# --------------------------- end ---------------------------
# --------------------------- start ---------------------------
# Lightbox
# 图片灯箱
lightbox: false
# warning: Please select any one, but cannot be turned on at the same time.
# 警告: 请任选其一,但不能同时开启。
fancybox: false # fancybox
mediumZoom: false # mediumZoom
# --------------------------- end ---------------------------
# --------------------------- start ---------------------------
# Mermaid
mermaid: false
# --------------------------- end ---------------------------
# --------------------------- start ---------------------------
# OpenGraph
OpenGraph:
enable: false
options:
# twitter_card:
# twitter_image:
# twitter_id:
# twitter_site:
# google_plus:
# fb_admins:
# fb_app_id:
# --------------------------- end ---------------------------
# --------------------------- start ---------------------------
# Word count
# 字数统计
# warning: Please install the hexo-wordcount plugin first.
# 警告: 请先安装 hexo-wordcount 插件。
wordcount: false
# --------------------------- end ---------------------------
# --------------------------- start ---------------------------
# Busuanzi
busuanzi: false
# 0: Use the original version of busuanzi / 1: Use the custom version of busuanzi
# The difference between the original and the default: please search by yourself
# 0:使用原版的不蒜子 / 1:使用不蒜子的自定义版本
# 原版和默认的区别:请自行搜索
busuanzi_use: 0
# --------------------------- end ---------------------------
# --------------------------- start ---------------------------
# Search
# warning: Please open the search page config: https://solitude.js.org/search/algolia or https://solitude.js.org/search/local
# 警告: 请打开搜索页面配置: https://solitude.js.org/zh/search/algolia 或 https://solitude.js.org/zh/search/local
search:
enable: false
# type: 使用的搜索引擎 / search engine
type: local # local / algolia
tags:
# - Solitude
# - Hexo
algolia:
# hits:
# per_page: 6
local:
preload: false
CDN: # url: search.xml
# --------------------------- end ---------------------------
# --------------------------- start ---------------------------
# This part is only supported in mainland China, and we will consider supporting ChatGPT Key in the future.
# 该部分仅支持中国大陆,后续会考虑支持 ChatGPT Key。
tianli_talk:
enable: false
title: 智能客服与搜索 # title
key: # key
option:
post_ai:
enable: false
modelName: GPT 4
key:
talk: # 我是 Efu 开发的摘要生成助理EfuGPT,EfuGPT在静态部署时进行摘要的撰写,并且在访客访问时通过EfuCorrection转译后的文本摘要实现工具。我在这里只负责已经生成的摘要显示,你无法与我直接沟通,但我可以回答一些预设的问题。
randomPost: false
report: https://solitude.js.org
tips: # 此内容根据文章生成,并经过人工审核,仅用于文章内容的解释与总结
# --------------------------- end ---------------------------
# --------------------------- start ---------------------------
# Katex
# Latex formula support
# Latex 公式支持
katex:
enable: false
# Whether to load on each page
# 是否在每个页面加载
per_page: false
# Whether to enable copy formula
# 是否启用复制公式
copytex: false
# --------------------------- end ---------------------------
# --------------------------- start ---------------------------
# Comment
# 评论
comment:
# Which commenting system to use(e.g. waline or waline,twikoo)
# 使用哪个评论系统(例如: waline or waline,twikoo)
use: # waline, twikoo, valine, artalk, giscus # Up to two comment systems can be turned on at the same time
# Whether to display the hot comment switch.
# 是否显示热门评论开关
commentBarrage: false
# Lazy load
# 懒加载评论区
lazyload: false
# Whether to display the comment count
# 显示评论数
count: false
# PV
pv: false
# Avatar
avatar: https://gravatar.com/avatar
# Hot comment tips
# 热评提示
hot_tip:
enable: false
# Number of hot comments
count: 3
# Twikoo: https://solitude.js.org/comment/twikoo
twikoo: # https://twikoo.js.org/
envId: # url: https://twikoo.sondy.top/
region: # Environment locale, default is ap-shanghai, Tencent cloud environment fill ap-shanghai or ap-guangzhou; Vercel environment do not fill the.
style: true # Use custom styles when turned on
accessToken: # AccessToken
option: # twikoo option
# Waline: https://solitude.js.org/comment/waline
waline: # https://waline.js.org/
envId: # url: https://waline.wzsco.top
pageview: false # Whether to enable page access statistics
option: # waline configuration item
# Valine: https://solitude.js.org/comment/valine
valine:
appId: # leancloud application app id
appKey: # leancloud application app key
serverURLs: # This configuration is suitable for domestic custom domain name users, overseas version will be automatically detected (no need to manually fill in)
avatar: # https://valine.js.org/avatar.html
visitor: false
style: true # Use custom styles when turned on
option: # options list
# Artalk: https://solitude.js.org/comment/artalk
# Artalk: https://solitude.js.org/zh/comment/artalk
artalk:
server: # server url
site: # site name
option: # options
# Giscus: https://solitude.js.org/comment/giscus
giscus:
repo: # GitHub repository name
repo_id: # GitHub repository ID
category_id: # GitHub repository category ID
theme:
light: light
dark: dark
option:
# --------------------------- end ---------------------------
# --------------------------- start ---------------------------
# Console
# 控制台
console:
enable: false
# Recent comments
# 最新评论
recentComment:
enable: false
# Cache time 1: 1 day / .5 : half a day
# 缓存时间 1: 1天 / .5 : 半天
storage: .2
card:
# Tags
# 标签
tags: true
# Archives
# 归档
archive: true
# --------------------------- end ---------------------------
# --------------------------- start ---------------------------
# verification
# 验证
verify_site:
# - name: google-site-verification
# content: xxxxxx
# - name: baidu-site-verification
# content: xxxxxxx
# --------------------------- end ---------------------------
# --------------------------- start ---------------------------
# CSS Prefix
# CSS 前缀
# When turned on, it will automatically prefix the CSS (to get better browser support), but this will increase the size of the CSS file.
# 开启后会自动给 CSS 加前缀(以获得更好的浏览器支持),但这会增加 CSS 文件的大小。
css_prefix: false
# --------------------------- end ---------------------------
# --------------------------- start ---------------------------
# Font
# 字体
font:
font-size: 16px
code-font-size: 16px
# Global font
# 全局字体
font-family: "PingFang SC, Hiragino Sans GB, Microsoft YaHei"
# Code font
# 代码字体
code-font-family: '"monospace", monospace'
# --------------------------- end ---------------------------
# --------------------------- start ---------------------------
# Extend
# 扩展
extends:
# Insert in head
# 插入到 head
head:
# - <script src="https://cdn.bootcdn.net/ajax/libs/pace/1.2.4/pace.min.js"></script>
# Insert in body
# 插入到 body
body:
# - <script src="https://cdn.bootcdn.net/ajax/libs/pace/1.2.4/pace.min.js"></script>
# --------------------------- end ---------------------------
# --------------------------- start ---------------------------
# PWA
# Progressive Web App
pwa:
enable: false
manifest: /manifest.json # manifest.json
theme_color: "#006a73" # Theme color
mask_icon: /img/pwa/favicon.png # Mask icon
apple_touch_icon: /img/pwa/favicon.png # Apple touch icon
bookmark_icon: /img/pwa/favicon.png # Bookmark icon
favicon_32_32: /img/pwa/favicon_32.png # 32x32 icon
favicon_16_16: /img/pwa/favicon_16.png # 16x16 icon
# --------------------------- end ---------------------------
# --------------------------- start ---------------------------
# Google Adsense
# 谷歌广告
google_adsense:
enable: false
# Auto ads
# 自动广告
auto_ads: false
# Page-level ads
# 页面级广告
enable_page_level_ads: true
# Sidebar card ads
# 侧边栏卡片广告
aside_card: true
# Post card ads
# 文章卡片广告
post_card: true
# Post content ads
# 文章内容广告
post_content: true
# Google Adsense js
# 谷歌广告 js
js: https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js
client: # ca-pub-XXXXXXXXXXXXXX
slot: # 4236388782
# --------------------------- end ---------------------------
# --------------------------- start ---------------------------
# Custom right menu
# 自定义右键菜单
right_menu:
enable: false
# Whether to display the hot comment switch.
# 是否显示热门评论开关
commentBarrage: false
# Simplified and Traditional Chinese translation.
# 简繁体转换
translate:
enable: false
defaultEncoding: 2 # 1: 默认繁体 2: 默认简体
translateDelay: 0 # 首次加载翻译迟疑时间
# Custom list
# 自定义列表
custom_list:
# - name: Random
# click: toRandomPost()
# id: menu-randomPost
# class:
# icon: fas fa-tower-broadcast
# - name: Categories
# click: pjax.loadUrl('/categories/') # External links with window.open, pjax can not request cross-domain content.
# id:
# class:
# icon: fas fa-clone
# - name: Tags
# click: pjax.loadUrl('/tags/')
# id:
# class:
# icon: fas fa-tags
# --------------------------- end ---------------------------
# --------------------------- start ---------------------------
# Memorial
# Turn the entire site gray on memorable days.
# 在纪念日整个网站变灰
memorial:
enable: false
date:
# - 7-7 # 卢沟桥事变
# - 9-18 # 九一八事变
# - 12-13 # 南京大屠杀国家公祭日
# --------------------------- end ---------------------------
# --------------------------- start ---------------------------
# Lure
# When the user exits the page, modify the title
# 当用户退出页面时,修改标题
lure:
enable: false
jump: 404 Not Found
back: ヾ(≧∇≦*)ゝHey, hey, you fell for it.
# --------------------------- end ---------------------------
# --------------------------- start ---------------------------
# Article expiration
# 文章过期
expire:
enable: false
time: 30 # days
position: top # top / bottom
text_prev: "This article expired "
text_next: " day ago, if the content does not match, please contact the webmaster to update it."
# --------------------------- end ---------------------------
# --------------------------- start ---------------------------
# Background
# 背景图片
background:
enable: false
opacity: .2
dark: https://i.pinimg.com/originals/d8/b3/9d/d8b39d12b653810db452c437211aeb2e.png
light: https://i.pinimg.com/originals/93/57/38/935738ed9657b296c2ef0ebd2151eb66.jpg
# --------------------------- end ---------------------------
# --------------------------- start ---------------------------
# Do not modify unless necessary
# 非必要请勿修改
CDN:
internal: local # local / cdnjs / jsdelivr / unpkg / custom
third_party: cdnjs # cdnjs / jsdelivr / unpkg / custom
version: true # Whether to use the version number
custom_format: //open.lightxi.com/cdnjs/ajax/libs/${cdnjs_name}/${version}/${min_cdnjs_file} # Custom format
# Directly override the default CDN link (highest priority)
option:
busuanzi_qj_js: https://pv.lemonso.com/js
# algolia_search:
# instantsearch:
# pjax:
# twikoo:
# waline_js:
# waline_css:
# katex:
# katex_copytex:
# lazyload:
# aplayer_css:
# aplayer_js:
# meting_js:
# pace_js:
# swiper_css:
# swiper_js:
# busuanzi_js:
# snackbar_js:
# --------------------------- end ---------------------------