-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_config.next.yml
895 lines (755 loc) · 29.9 KB
/
_config.next.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
# ===============================================================
# 建议使用备用主题配置来配置NexT
# 修改此文件可能会导致合并冲突
# See: https://theme-next.js.org/docs/getting-started/configuration
# ===============================================================
# ---------------------------------------------------------------
# 主题核心配置设置
# See: https://theme-next.js.org/docs/theme-settings/
# ---------------------------------------------------------------
# 允许缓存内容生成
cache:
enable: false
# 生成hexo后删除不需要的文件
minify: false
# 定义自定义文件路径
# 在站点目录`source/_data`中创建自定义文件,并在下面取消注释所需的文件
custom_file_path:
#head: source/_data/head.njk
#header: source/_data/header.njk
#sidebar: source/_data/sidebar.njk
#postMeta: source/_data/post-meta.njk
#postBodyEnd: source/_data/post-body-end.njk
#footer: source/_data/footer.njk
#bodyEnd: source/_data/body-end.njk
#variable: source/_data/variables.styl
#mixin: source/_data/mixins.styl
#style: source/_data/styles.styl
# ---------------------------------------------------------------
# 方案设置
# Scheme Settings
# ---------------------------------------------------------------
# Schemes
# Gemini | Muse | Mist | Pisces
scheme: Gemini
# Dark Mode
darkmode: true
# ---------------------------------------------------------------
# 网站信息设置
# See: https://theme-next.org/docs/getting-started/
# ---------------------------------------------------------------
favicon:
small: /images/favicon-16x16.ico
medium: /images/favicon-32x32.ico
apple_touch_icon: /images/apple-touch-icon.jpg
safari_pinned_tab: /images/logo.svg
#android_manifest: /images/manifest.json
# 自定义徽标(警告:不支持方案Mist)
custom_logo: #/uploads/custom-logo.jpg
# 创建公共国际许可4.0
# 关于 CC 许可证: https://creativecommons.org/about/cclicenses/
# CC许可证的翻译版本,e.g. deed.zh / deed.en
# 选择 CC 许可证:https://creativecommons.org/choose/
#
# BY:署名 必须提到原作者
# NC:非商业用途 不得用于盈利性目的
# ND: 禁止演绎 不得修改原作品, 不得再创作
# SA:相同方式共享 允许修改
#
# cc-zero : https://creativecommons.org/publicdomain/zero/1.0/
# by-nc-sa : https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh
creative_commons:
license: by-nc-sa # by | by-sa | by-nc | by-nc-sa | by-nd | by-nc-nd | cc-zero
size: big # big | small
sidebar: true
post: true
language: deed.zh # deed.en
# ---------------------------------------------------------------
# Menu Settings 菜单设置
# ---------------------------------------------------------------
# Usage: `Key: /link/ || icon`
# Key是菜单项的名称. 如果此项目的翻译可用,则将加载翻译后的文本, 否则将使用 Key 的名称. Key 区分大小写.
# `||`定界符之前的值是目标链接, `||` 定界符之后的值是Font Awesome图标的名称.
# 外部网址应以 http:// or https:// 开头
menu:
home: / || fa fa-home
tags: /tags/ || fa fa-tags
categories: /categories/ || fa fa-th
archives: /archives/ || fa fa-archive
about: /about/ || fa fa-user
#schedule: /schedule/ || fa fa-calendar
#sitemap: /sitemap.xml || fa fa-sitemap
#commonweal: /404/ || fa fa-heartbeat
友情链接: /links/ || fa fa-link
# Enable / Disable menu icons / item badges.
# 启用/禁用菜单图标/项目标志
menu_settings:
icons: true
badges: true
# ---------------------------------------------------------------
# Sidebar Settings 侧边栏设置
# See: https://theme-next.js.org/docs/theme-settings/sidebar
# ---------------------------------------------------------------
sidebar:
# 侧边栏位置.
position: left
#position: right
# 手动定义侧边栏宽度. 如果有评论,则默认为:
# Muse | Mist: 320
# Pisces | Gemini: 240
#width: 300
# 侧边栏显示 (仅适用于 Muse | Mist), 可用值:
# - post 自动扩展帖子。 默认。.
# - always 自动展开所有页面。
# - hide 仅在单击侧栏切换图标时展开.
# - remove 完全删除侧边栏,包括侧边栏切换.
display: post
# 边栏填充(以像素为单位).
padding: 18
# 侧边栏与顶部菜单栏的偏移量(以像素为单位)(仅适用于 Pisces | Gemini).
offset: 12
# 侧边栏头像
avatar:
# 替换默认图片并在此处设置网址
#url: #/images/avatar.gif
url: /images/avatar.png
# If true, 则头像将显示为圆形.
rounded: true
# If true, 则头像将随着光标旋转.
rotated: true
# Posts / Categories / Tags in sidebar.
site_state: false
# Social Links 社交链接
# Usage: `Key: permalink || icon`
# Key 是显示给最终用户的链接标签.
# `||` 定界符之前的值是目标永久链接, `||` 定界符之后的值是Font Awesome图标的名称.
social:
GitHub: https://github.com/nsleep || fab fa-github
E-Mail: mailto:[email protected] || fa fa-envelope
#QQ: http://wpa.qq.com/msgrd?v=3&uin=707347059&site=qq&menu=yes || fab fa-qq
rss: /atom.xml || fa fa-rss
#Weibo: https://weibo.com/yourname || fab fa-weibo
#Google: https://plus.google.com/yourname || fab fa-google
#Twitter: https://twitter.com/yourname || fab fa-twitter
#FB Page: https://www.facebook.com/yourname || fab fa-facebook
#StackOverflow: https://stackoverflow.com/yourname || fab fa-stack-overflow
#YouTube: https://youtube.com/yourname || fab fa-youtube
#Instagram: https://instagram.com/yourname || fab fa-instagram
#Skype: skype:yourname?call|chat || fab fa-skype
social_icons:
enable: true
icons_only: true
transition: false
# Blog rolls 博客卷
links_settings:
icon: fa fa-globe
title: Links
# 可用值: block | inline
layout: inline
links:
#Title: https://example.com
# 侧边栏中的目录
# 前端变量(不支持 wrap expand_all).
toc:
enable: true
# 自动将清单编号添加到 toc.
number: false
# If true, 则所有标题将在标题宽度长于边栏宽度的情况下放在下一行.
wrap: false
# If true, 则将显示帖子中所有级别的目录,而不是帖子中已激活的部分.
expand_all: true
# 生成的Toc的最大航向深度.
max_depth: 6
# 一个可在边栏中打开指定的聊天小部件的按钮.
# 首先,您需要启用要激活其侧边栏按钮的聊天服务.
chat:
enable: false
#service: chatra
#service: tidio
icon: fa fa-comment # 图标名称,设置为false可禁用图标.
text: Chat # 按钮文字,根据需要进行更改.
# ---------------------------------------------------------------
# Footer Settings 页脚设置
# See: https://theme-next.js.org/docs/theme-settings/footer
# ---------------------------------------------------------------
# 在页脚中显示多语言切换器.
language_switcher: false
footer:
# 指定网站设置的年份。如果未定义,将使用当前年份.
since: 2018
# 年份和版权信息之间的图标.
icon:
# Font Awesome中的图标名称. See: https://fontawesome.com/icons
name: fa fa-atom
# 如果要为图标设置动画, set it to true.
animated: true
# 使用十六进制代码更改图标的颜色.
#color: "#ff0000"
# 如果未定义,将使用 `_config.yml` 中的 `author`.
copyright:
# Powered by Hexo & NexT
powered: true
# 中国用户的 备案 ICP 和 公安 信息. See: https://beian.miit.gov.cn, http://www.beian.gov.cn
beian:
enable: false
icp:
# 备案的位数.
gongan_id:
# 完整的备案号
gongan_num:
# 备案的图标. See: http://www.beian.gov.cn/portal/download
gongan_icon_url:
# ---------------------------------------------------------------
# 发布设置
# See: https://theme-next.org/docs/theme-settings/posts
# ---------------------------------------------------------------
# 自动摘录首页中的描述作为前导文字.
excerpt_description: true
# 阅读更多按钮
# If true, 则摘要部分中将显示更多按钮.
read_more_btn: true
# 发布元显示设置
post_meta:
item_text: true
created_at: true
updated_at:
enable: true
another_day: true
categories: true
# 发布字数显示设置
# Dependencies: https://github.com/theme-next/hexo-symbols-count-time
symbols_count_time:
separated_meta: false # 分隔元(换行?block?)
item_text_total: false # 文字统计
# 使用tag图标代替'#'符号
tag_icon: true
# Donate (Sponsor) settings 捐赠(赞助)
# 前端变量(不支持动画).
reward_settings:
# If true, 则默认情况下将在每篇文章中显示一个捐赠按钮
enable: false
animation: false
#comment: Buy me a coffee
reward:
#wechatpay: /images/wechatpay.png
#alipay: /images/alipay.png
#paypal: /images/paypal.png
#bitcoin: /images/bitcoin.png
# 通过 Telegram Channel, Twitter 等进行订阅
# Usage: `Key: permalink || icon` (Font Awesome)
follow_me:
#Twitter: https://twitter.com/username || fab fa-twitter
#Telegram: https://t.me/channel_name || fab fa-telegram
#WeChat: /images/wechat_channel.jpg || fab fa-weixin
#RSS: /atom.xml || fa fa-rss
# 相关热门帖子
# 依赖关系: https://github.com/tea3/hexo-related-popular-posts
related_posts:
enable: false
title: # 自定义标题,保留为空以使用默认标题
display_in_home: false
params:
maxCount: 5
#PPMixingRate: 0.0
#isDate: false
#isImage: false
#isExcerpt: false
# Post edit 发布
# 轻松在线浏览和编辑博客源代码.
post_edit:
enable: false
url: https://github.com/nsleep/nsleep.github.io/tree/main/source # Link for view source
#url: https://github.com/user-name/repo-name/edit/branch-name/subdirectory-name/ # Link for fork & edit
# 在帖子页脚中显示上一个帖子和下一个帖子
# 可用值: left | right | false
post_navigation: right
# ---------------------------------------------------------------
# Custom Page Settings
# 自定义页面设置
# See: https://theme-next.js.org/docs/theme-settings/custom-pages
# ---------------------------------------------------------------
# 标签页面的TagCloud设置
tagcloud:
min: 12 # 最小字体大小 px
max: 30 # 最大字体大小 in px
amount: 200 # 标签总数
orderby: name # 标签顺序
order: 1 # 排序
# ---------------------------------------------------------------
# Misc Theme Settings
# 其他主题设置
# See: https://theme-next.js.org/docs/theme-settings/miscellaneous
# ---------------------------------------------------------------
# 预连接CDN以获取字体和插件.
# 有关更多信息: https://www.w3.org/TR/resource-hints/#preconnect
preconnect: false
# 设置帖子/页面(posts / pages)的文本对齐方式 .
text_align:
# 可用值: start | end | left | right | center | justify | justify-all | match-parent
desktop: justify
mobile: justify
# 减少宽度较窄的设备上的 padding / margin 缩进
mobile_layout_economy: false
# Android Chrome 标题面板颜色 ($brand-bg / $headband-bg => $black-deep).
android_chrome_color: "#222"
codeblock:
# 代码突出显示主题
# 所有可用的主题: https://theme-next.js.org/highlight/
theme:
light: default
dark: stackoverflow-dark
prism:
# prism-okaidia | prism-solarizedlight | prism-tomorrow
light: prism-solarizedlight
dark: prism-okaidia
# 在代码块上添加复制按钮
copy_button:
enable: true
show_result: true
# 可用值: default | flat | mac
style: flat
back2top:
enable: true
# 设置在侧边栏显示
sidebar: false
# 在b2t按钮中滚动百分比标签
scrollpercent: true
# 阅读进度条
reading_progress:
enable: true
# 可用值: top | bottom
position: top
color: "#37c6c0"
height: 3px
# 书签支持
bookmark:
enable: false
# 自定义书签的颜色。
color: "#222"
# If auto,请在关闭页面或单击书签图标时保存阅读进度。
# If manual, 则只能通过单击书签图标进行保存。
save: manual
# 在GitHub关注我 - 右上角横幅
github_banner:
enable: false
permalink: https://github.com/nsleep
title: Follow me on GitHub
# ---------------------------------------------------------------
# Font Settings
# See: https://theme-next.org/docs/theme-settings/#Fonts-Customization
# ---------------------------------------------------------------
# 在Google字体上查找字体 (https://fonts.google.com)
# 此处设置的所有字体将具有以下样式:
# light | light italic | normal | normal italic | bold | bold italic
# 请注意,设置过多的字体会导致网站运行缓慢
# ---------------------------------------------------------------
# 网络安全字体推荐用于 `global` (and `title`):
# Arial | Tahoma | Helvetica | Times New Roman | Courier New | Verdana | Georgia | Palatino | Garamond | Comic Sans MS | Trebuchet MS
# ---------------------------------------------------------------
font:
enable: false
# Uri of fonts host, e.g. https://fonts.googleapis.com (Default).
host:
# Font options:
# `external: true` will load this font family from `host` above.
# `family: Times New Roman`. Without any quotes.
# `size: x.x`. Use `em` as unit. Default: 1 (16px)
# Global font settings used for all elements inside <body>.
global:
external: true
family: Lato
size:
# Font settings for site title (.site-title).
title:
external: true
family:
size:
# Font settings for headlines (<h1> to <h6>).
headings:
external: true
family:
size:
# Font settings for posts (.post-body).
posts:
external: true
family:
# Font settings for <code> and code blocks.
codes:
external: true
family:
# ---------------------------------------------------------------
# SEO Settings 收录设置
# ---------------------------------------------------------------
# 在移动设备上禁用百度转换.
disable_baidu_transformation: false
# If true, 将 site-subtitle 添加到索引页面.
# 记得在 Hexo `_config.yml`中设置 site-subtitle in (e.g. subtitle: Subtitle)
index_with_subtitle: false
# 使用Base64加密和解密自动添加外部URL。
exturl: false
# 百度网站管理员工具验证.
# See: https://ziyuan.baidu.com/site
baidu_site_verification: Sj57y850f1
# 启用baidu push,以便博客将网址自动推送到baidu
baidu_push: true
# ---------------------------------------------------------------
# 第三方插件和服务设置
# 参见: https://theme-next.js.org/docs/third-party-services/
# 更多插件: https://github.com/theme-next/awesome-next
# 您可能需要在`vendors'中安装依赖项或设置CDN URL。
# 默认情况下,有两个不同的CDN提供程序:
# - jsDelivr (cdn.jsdelivr.net), works everywhere even in China
# - CDNJS (cdnjs.cloudflare.com), provided by cloudflare
# ---------------------------------------------------------------
# 数学公式渲染支持
# 警告:请根据说明文件安装/卸载相关的渲染器.
# See: https://theme-next.js.org/docs/third-party-services/math-equations
# 服务器端插件: https://github.com/next-theme/hexo-filter-mathjax
# 公式示例: https://theme-next.js.org/docs/third-party-services/math-equations.html?highlight=mathjax#Simple-Equations
math:
# Default (false), 将按需加载 mathjax / katex 脚本.
# 这只是渲染那些在前面具有 `mathjax: true` 的页面.
# 如果设置为true, 它将在每一页加载 mathjax / katex srcipt.
every_page: false
mathjax:
enable: true
tags: ams # none | ams (自动方程编号) | all
katex:
enable: false
# See: https://github.com/KaTeX/KaTeX/tree/master/contrib/copy-tex
copy_tex: false
# 在您的网站上轻松启用快速Ajax导航.
# For more information: https://github.com/next-theme/pjax
pjax: false
# FancyBox 是一种工具,它提供了一种很好的方法来添加图像的缩放功能.
# For more information: https://fancyapps.com/fancybox/
fancybox: false
# 一个JavaScript库,用于缩放图像(如Medium).
# Warning: 请勿同时启用 `fancybox` 和 `mediumzoom`.
# For more information: https://medium-zoom.francoischalifour.com
mediumzoom: false
# Vanilla JavaScript插件,用于延迟加载图像。
# For more information: https://github.com/ApoorvSaxena/lozad.js
lazyload: false
# Pangu Support
# For more information: https://github.com/vinta/pangu.js
pangu: false
# 快速链接支持
# 不要同时启用 `pjax` and `quicklink`.
# For more information: https://github.com/GoogleChromeLabs/quicklink
# Front-matter (不支持home archive).
quicklink:
enable: false
# 主页和存档页面可以通过下面的主页和存档选项进行控制。
# 此配置项与`enable`无关.
home: false
archive: false
# 默认值(true)将在加载事件触发后初始化快速链接。
delay: true
# 定制浏览器必须执行预取的时间(以毫秒为单位)。
timeout: 3000
# 默认值(true)将启用fetch() 或回退到XHR
priority: true
# 为了获得更大的灵活性,您可以添加一些模式 (RegExp, Function, or Array) 来忽略.
# See: https://github.com/GoogleChromeLabs/quicklink#custom-ignore-patterns
ignores:
# ---------------------------------------------------------------
# 评论设置
# See: https://theme-next.org/docs/third-party-services/comments
# ---------------------------------------------------------------
# 多评论系统支持
comments:
# 可用值: tabs | buttons
style: tabs
# 选择默认显示的评论系统.
# 可用值: disqus | disqusjs | changyan | livere | gitalk | utterances
active:
# 设置为true表示记住访问者选择的评论系统.
storage: true
# 延迟加载所有评论系统.
lazyload: false
# 修改任何导航的文本或顺序,以下是一些示例.
nav:
#disqus:
# text: Load Disqus
# order: -1
#gitalk:
# order: -2
# Disqus 领英
# 有关更多信息: https://disqus.com
disqus:
enable: false
shortname:
count: true
# DisqusJS
# 有关更多信息: https://disqusjs.skk.moe
disqusjs:
enable: false
# Disqus API的API端点 (https://disqus.com/api/docs/).
# 如果您能够连接到Disqus API,请将api留空。 否则,您需要一个反向代理
# For example:
# api: https://disqus.skk.moe/disqus/
api:
apikey: # Register new application from https://disqus.com/api/applications/
shortname: # See: https://disqus.com/admin/settings/general/
# Changyan
# For more information: https://changyan.kuaizhan.com
changyan:
enable: false
appid:
appkey:
# LiveRe评论系统
# You can get your uid from https://livere.com/insight/myCode (General web site)
livere_uid: # <your_uid>
# Gitalk
# For more information: https://gitalk.github.io
gitalk:
enable: false
github_id: # GitHub repo owner
repo: # Repository name to store issues
client_id: # GitHub Application Client ID
client_secret: # GitHub Application Client Secret
admin_user: # GitHub repo owner and collaborators, only these guys can initialize gitHub issues
distraction_free_mode: true # Facebook-like distraction free mode
# Gitalk's display language depends on user's browser or system environment
# If you want everyone visiting your site to see a uniform language, you can set a force language value
# Available values: en | es-ES | fr | ru | zh-CN | zh-TW
language:
# Utterances
# For more information: https://utteranc.es
utterances:
enable: false
repo: # Github repository name
# Available values: pathname | url | title | og:title
issue_term: pathname
# Available values: github-light | github-dark | preferred-color-scheme | github-dark-orange | icy-dark | dark-blue | photon-dark | boxy-light
theme: github-light
# Isso
# For more information: https://posativ.org/isso/
isso: # <data_isso>
# ---------------------------------------------------------------
# 以下在源文件不存在
# Valine
# For more information: https://valine.js.org, https://github.com/xCss/Valine
valine:
enable: false # 当enable设为true时, 建议关闭leancloud_visitors . for the re-initialization problem within different leancloud adk version.
appid: 8Ird2SL0kJ6cm8SkTPpalz4t-gzGzoHsz
appkey: 1y5VLrRzpanTFwuy3OJ5y0Fp
notify: true # 邮件通知者,请参阅: https://github.com/xCss/Valine/wiki 邮箱验证
verify: true # Verification code 验证码
placeholder: 写点什么吧 # comment box placeholder
avatar: identicon # 头像 style 404|mm|identicon|monsterid|wavatar|retro|blank
guest_info: nick,mail,link # custom comment header
pageSize: 6 # pagination size
language: zh-cn # language, available values: en, zh-cn
visitor: false # leancloud-counter-security is not supported for now. When visitor is set to be true, appid and appkey are recommended to be the same as leancloud_visitors' for counter compatibility. Article reading statistic https://valine.js.org/visitor.html
comment_count: false # 如果为false,则评论数将仅显示在帖子页面中,而不显示在主页中
recordIP: true # 是否记录评论者IP
serverURLs: # 启用自定义域名后,在此处填写(默认情况下将自动检测到该域名,无需填写)
#post_meta_order: 0
# ---------------------------------------------------------------
# ---------------------------------------------------------------
# 发布窗口小部件和内容共享服务
# See: https://theme-next.js.org/docs/third-party-services/post-widgets
# ---------------------------------------------------------------
# 支持每篇文章的星级评定
# 要获取您的ID visit https://widgetpack.com
rating:
enable: false
id: 24241 # <app_id>
color: "#fc6423"
# 分享
# AddThis Share. See: https://www.addthis.com
# Go to https://www.addthis.com/dashboard to customize your tools.
#add_this_id: ra-5e80c7c728c55cea
# ---------------------------------------------------------------
# 统计和分析
# See: https://theme-next.org/docs/third-party-services/statistics-and-analytics
# ---------------------------------------------------------------
# Google Analytics
google_analytics:
tracking_id: # <app_id>
# By default, NexT will load an external gtag.js script on your site.
# If you only need the pageview feature, set the following option to true to get a better performance.
only_pageview: false
# Baidu Analytics
baidu_analytics: 40fe1da0798212a31314b7ff6e3c58bb # <app_id>
# Growingio Analytics
growingio_analytics: # <project_id>
# CNZZ count
cnzz_siteid:
# 显示每篇文章的访问者数量.
# You can visit https://www.leancloud.cn to get AppID and AppKey.
leancloud_visitors:
enable: false
app_id: # <your app id>
app_key: # <your app key>
# Required for apps from CN region
server_url: # <your server url>
# 依赖关系: https://github.com/theme-next/hexo-leancloud-counter-security
# If you don't care about security in leancloud counter and just want to use it directly
# (without hexo-leancloud-counter-security plugin), set `security` to `false`.
security: true
# 另一个可显示每篇文章的访问者数量的工具。
# Visit https://console.firebase.google.com/u/0/ to get apiKey and projectId.
# Visit https://firebase.google.com/docs/firestore/ to get more information about firestore.
firestore:
enable: false
collection: articles # Required, a string collection name to access firestore database
apiKey: # Required
projectId: # Required
# Show Views / Visitors of the website / page with busuanzi.
# Get more information on http://ibruce.info/2015/04/04/busuanzi
busuanzi_count:
enable: true
total_visitors: true
total_visitors_icon: fa fa-user
total_views: true
total_views_icon: fa fa-eye
post_views: true
post_views_icon: fa fa-eye
# ---------------------------------------------------------------
# 搜索服务
# See: https://theme-next.org/docs/third-party-services/search-services
# ---------------------------------------------------------------
# Algolia Search
# For more information: https://www.algolia.com
algolia_search:
enable: false
hits:
per_page: 10
# 本地搜索
# Dependencies: https://github.com/theme-next/hexo-generator-searchdb
local_search:
enable: true
# If auto, 则通过更改输入触发搜索
# If manual, 请按Enter键或搜索按钮触发搜索
trigger: auto
# 显示每篇文章的前n个结果,将所有结果设置为-1
top_n_per_article: 2
# 将html字符串转义为可读的字符串。.
unescape: false
# 加载页面时预加载搜索数据.
preload: false
# Swiftype Search API Key
swiftype_key:
# ---------------------------------------------------------------
# 聊天服务
# See: https://theme-next.js.org/docs/third-party-services/chat-services
# ---------------------------------------------------------------
# Chatra Support
# See: https://chatra.com
# Dashboard: https://app.chatra.io/settings/general
chatra:
enable: false
async: true
id: # Visit Dashboard to get your ChatraID
#embed: # 针对开发人员的未完成的实验功能. See: https://chatra.com/help/api/#injectto
# Tidio Support
# See: https://www.tidio.com
# Dashboard: https://www.tidio.com/panel/dashboard
tidio:
enable: false
key: # Public Key, get it from dashboard. See: https://www.tidio.com/panel/settings/developer
# ---------------------------------------------------------------
# 标签设置
# See: https://theme-next.org/docs/tag-plugins/
# ---------------------------------------------------------------
# Note tag (bs-callout)
note:
# Note tag style values:
# - simple bs-callout旧警报样式。 默认。
# - modern bs-callout 新(v2-v3)警报样式。
# - flat 带有背景的扁平标注样式,例如Mozilla或StackOverflow。
# - disabled 禁用所有CSS样式的note标记导入。
style: simple
icons: true
# Offset lighter of background in % for modern and flat styles (modern: -12 | 12; flat: -18 | 6).
# Offset also applied to label tag variables. This option can work with disabled note tag.
# 以百分比表示的现代和平面样式(背景:-12 | 12;平面:-18 | 6)偏移背景的浅色。
# 偏移量也适用于标签标签变量。 此选项可以与禁用的便笺标签一起使用。
light_bg_offset: 0
# Tabs tag
tabs:
transition:
tabs: false
labels: true
# PDF tag
# NexT will try to load pdf files natively, if failed, pdf.js will be used.
# So, you have to install the dependency of pdf.js if you want to use pdf tag and make it available to all browsers.
# See: https://github.com/theme-next/theme-next-pdf
pdf:
enable: false
# Default height
height: 500px
# Mermaid tag
mermaid:
enable: true
# Available themes: default | dark | forest | neutral
theme: forest
# ---------------------------------------------------------------
# 动画设置
# ---------------------------------------------------------------
# 使用力度为所有物体设置动画。
# For more information: http://velocityjs.org
motion:
enable: true
async: true
transition:
# Transition variants:
# 淡入淡出 fadeIn | fadeOut
# 翻转 flipXIn | flipXOut | flipYIn | flipYOut
# 翻转回弹 flipBounceXIn | flipBounceXOut | flipBounceYIn | flipBounceYOut
# 俯冲 swoopIn | swoopOut
# 急转 whirlIn | whirlOut
# 收缩 shrinkIn | shrinkOut
# 扩张 expandIn | expandOut
# 扩张回弹 bounceIn | bounceOut
# 向上回弹 bounceUpIn | bounceUpOut
# 向下回弹 bounceDownIn | bounceDownOut
# 向左回弹 bounceLeftIn | bounceLeftOut
# 向右回弹 bounceRightIn | bounceRightOut
# 向上滑动 slideUpIn | slideUpOut
# 向下滑动 slideDownIn | slideDownOut
# 向左滑动 slideLeftIn | slideLeftOut
# 向右滑动 slideRightIn | slideRightOut
# 向上长滑动 slideUpBigIn | slideUpBigOut
# 向下长滑动slideDownBigIn | slideDownBigOut
# 向左长滑动slideLeftBigIn | slideLeftBigOut
# 向右长滑动slideRightBigIn | slideRightBigOut
# 向上翻转 perspectiveUpIn | perspectiveUpOut
# 向下翻转 perspectiveDownIn | perspectiveDownOut
# 向左翻转 perspectiveLeftIn | perspectiveLeftOut
# 向右翻转 perspectiveRightIn | perspectiveRightOut
post_block: fadeIn
post_header: fadeInDown # bounceIn # slideDownIn # fadeInDown
post_body: fadeInDown # slideUpIn # slideDownIn # fadeInDown
coll_header: fadeInLeft # slideLeftIn # # fadeInLeft
# 仅适用于 Pisces | Gemini.
sidebar: fadeInUp # slideUpIn | fadeInUp
# 页面加载过程中,进度条位于顶部
# For more information: https://github.com/rstacruz/nprogress
nprogress:
enable: true
spinner: true
# Themes list:
# flat-top | flash | minimal # 顶部进度(宽)(细)
# loading-bar | center-simple # 居中+条形(宽)(细)
# center-atom | center-circle | material | center-radar # 居中+数字+圆形(形状)(翻转)(圆边进度)(扇形)
# big-counter | bounce | corner-indicator # 右上(百分数)(圆形弹跳)(扇形旋转)
# barber-shop | mac-osx | fill-left全屏(遮罩)(线条+顶部进度)(底色)
theme: minimal
# 帆布色带
# Canvas-ribbon
# 依赖: https://github.com/theme-next/theme-next-canvas-ribbon
# 有关更多信息 https://github.com/zproo/canvas-ribbon
canvas_ribbon:
enable: true
size: 300 # 色带的宽度
alpha: 0.6 # 功能区的透明度
zIndex: -1 # 功能区的显示级别
# Assets
# 使用CDN加速静态文件的传递
css: css
js: js
images: images