hexo-theme-solitude 2.1.2 → 2.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/README_zh-Hans.md +1 -1
- package/README_zh-Hant.md +1 -1
- package/_config.yml +298 -286
- package/languages/default.yml +1 -0
- package/languages/en.yml +1 -0
- package/languages/zh-CN.yml +1 -0
- package/languages/zh-TW.yml +1 -0
- package/layout/includes/footer.pug +30 -29
- package/layout/includes/widgets/home/topGroup.pug +15 -13
- package/layout/includes/widgets/rightside/hide.pug +4 -1
- package/layout/includes/widgets/rightside/show.pug +3 -0
- package/layout/includes/widgets/third-party/comments/comment.pug +2 -0
- package/layout/includes/widgets/third-party/comments/giscus.pug +1 -1
- package/layout/includes/widgets/third-party/music.pug +3 -3
- package/package.json +1 -1
- package/plugins.yml +6 -6
- package/scripts/event/merge_config.js +1 -0
- package/source/css/_global/function.styl +4 -0
- package/source/css/_global/index.styl +8 -0
- package/source/css/_layout/article-container.styl +2 -2
- package/source/css/_layout/aside.styl +2 -2
- package/source/css/_layout/capsule.styl +228 -217
- package/source/css/_layout/recent-post.styl +4 -0
- package/source/css/_page/_home/home.styl +1 -0
- package/source/css/_page/links.styl +16 -2
- package/source/js/main.js +41 -12
- package/source/js/right_menu.js +2 -2
package/_config.yml
CHANGED
@@ -12,6 +12,8 @@
|
|
12
12
|
# 赞助:https://afdian.com/a/everfu
|
13
13
|
# ---------------------------
|
14
14
|
|
15
|
+
### Basic configuration
|
16
|
+
|
15
17
|
# --------------------------- start ---------------------------
|
16
18
|
# Site information
|
17
19
|
# 网站信息
|
@@ -223,15 +225,6 @@ aside:
|
|
223
225
|
# --------------------------- end ---------------------------
|
224
226
|
# --------------------------- end ---------------------------
|
225
227
|
|
226
|
-
# --------------------------- start ---------------------------
|
227
|
-
# Home page article configuration information
|
228
|
-
# 首页文章配置信息
|
229
|
-
index_post_list:
|
230
|
-
direction: column # row / column
|
231
|
-
column: 2 # 2: 2 columns 3: 3 columns
|
232
|
-
cover: both
|
233
|
-
# --------------------------- end ---------------------------
|
234
|
-
|
235
228
|
# --------------------------- start ---------------------------
|
236
229
|
# Page default settings
|
237
230
|
# 页面默认设置
|
@@ -379,6 +372,60 @@ display_mode:
|
|
379
372
|
universe: false
|
380
373
|
# --------------------------- end ---------------------------
|
381
374
|
|
375
|
+
# --------------------------- start ---------------------------
|
376
|
+
# Font
|
377
|
+
# 字体
|
378
|
+
font:
|
379
|
+
font-size: 16px
|
380
|
+
code-font-size: 16px
|
381
|
+
# Global font
|
382
|
+
# 全局字体
|
383
|
+
font-family: "PingFang SC, Hiragino Sans GB, Microsoft YaHei"
|
384
|
+
# Code font
|
385
|
+
# 代码字体
|
386
|
+
code-font-family: '"monospace", monospace'
|
387
|
+
# --------------------------- end ---------------------------
|
388
|
+
|
389
|
+
# --------------------------- start ---------------------------
|
390
|
+
# Background
|
391
|
+
# 背景图片
|
392
|
+
background:
|
393
|
+
enable: false
|
394
|
+
opacity: .2
|
395
|
+
dark: https://i.pinimg.com/originals/d8/b3/9d/d8b39d12b653810db452c437211aeb2e.png
|
396
|
+
light: https://i.pinimg.com/originals/93/57/38/935738ed9657b296c2ef0ebd2151eb66.jpg
|
397
|
+
# --------------------------- end ---------------------------
|
398
|
+
|
399
|
+
# --------------------------- start ---------------------------
|
400
|
+
# Lure
|
401
|
+
# When the user exits the page, modify the title
|
402
|
+
# 当用户退出页面时,修改标题
|
403
|
+
lure:
|
404
|
+
enable: false
|
405
|
+
jump: 404 Not Found
|
406
|
+
back: ヾ(≧∇≦*)ゝHey, hey, you fell for it.
|
407
|
+
# --------------------------- end ---------------------------
|
408
|
+
|
409
|
+
# --------------------------- start ---------------------------
|
410
|
+
# Article expiration
|
411
|
+
# 文章过期
|
412
|
+
expire:
|
413
|
+
enable: false
|
414
|
+
time: 30 # days
|
415
|
+
position: top # top / bottom
|
416
|
+
text_prev: "This article expired "
|
417
|
+
text_next: " day ago, if the content does not match, please contact the webmaster to update it."
|
418
|
+
# --------------------------- end ---------------------------
|
419
|
+
|
420
|
+
# --------------------------- start ---------------------------
|
421
|
+
# Home page article configuration information
|
422
|
+
# 首页文章配置信息
|
423
|
+
index_post_list:
|
424
|
+
direction: column # row / column
|
425
|
+
column: 2 # 2: 2 columns 3: 3 columns
|
426
|
+
cover: both
|
427
|
+
# --------------------------- end ---------------------------
|
428
|
+
|
382
429
|
# --------------------------- start ---------------------------
|
383
430
|
# Related articles
|
384
431
|
# 相关文章
|
@@ -390,6 +437,113 @@ related_post:
|
|
390
437
|
date_type: created
|
391
438
|
# --------------------------- end ---------------------------
|
392
439
|
|
440
|
+
# --------------------------- start ---------------------------
|
441
|
+
# Custom right menu
|
442
|
+
# 自定义右键菜单
|
443
|
+
right_menu:
|
444
|
+
enable: false
|
445
|
+
# Whether to display the hot comment switch.
|
446
|
+
# 是否显示热门评论开关
|
447
|
+
commentBarrage: false
|
448
|
+
# Whether to display the browser's context menu when hold Ctrl key.
|
449
|
+
# 是否在按住 Ctrl 键时显示浏览器右键菜单
|
450
|
+
ctrlOriginalMenu: false
|
451
|
+
# Simplified and Traditional Chinese translation.
|
452
|
+
# 简繁体转换
|
453
|
+
translate: false
|
454
|
+
# Custom list
|
455
|
+
# 自定义列表
|
456
|
+
custom_list:
|
457
|
+
# - name: 随机文章
|
458
|
+
# click: toRandomPost()
|
459
|
+
# id: menu-randomPost
|
460
|
+
# class:
|
461
|
+
# icon: fas fa-tower-broadcast
|
462
|
+
# - name: 全部分类
|
463
|
+
# click: pjax.loadUrl('/categories/') # External links with window.open, pjax can not request cross-domain content.
|
464
|
+
# id:
|
465
|
+
# class:
|
466
|
+
# icon: fas fa-clone
|
467
|
+
# - name: 全部标签
|
468
|
+
# click: pjax.loadUrl('/tags/')
|
469
|
+
# id:
|
470
|
+
# class:
|
471
|
+
# icon: fas fa-tags
|
472
|
+
# --------------------------- end -----------------------
|
473
|
+
|
474
|
+
# --------------------------- start ---------------------------
|
475
|
+
# Copy
|
476
|
+
# information
|
477
|
+
# 复制信息
|
478
|
+
copy:
|
479
|
+
enable: false
|
480
|
+
# Turn on Link copyright information after copying.
|
481
|
+
# 复制后链接版权信息
|
482
|
+
copyright:
|
483
|
+
enable: false
|
484
|
+
# Display when the number of words copied exceeds
|
485
|
+
# 复制文字时超过多少字数显示
|
486
|
+
limit: 50
|
487
|
+
# --------------------------- end ---------------------------
|
488
|
+
|
489
|
+
# --------------------------- start ---------------------------
|
490
|
+
# Mermaid
|
491
|
+
mermaid: false
|
492
|
+
# --------------------------- end ---------------------------
|
493
|
+
|
494
|
+
# --------------------------- start ---------------------------
|
495
|
+
# Chart.js
|
496
|
+
chart: false
|
497
|
+
# --------------------------- end ---------------------------
|
498
|
+
|
499
|
+
# --------------------------- start ---------------------------
|
500
|
+
# typeit
|
501
|
+
typeit: false
|
502
|
+
# --------------------------- end ---------------------------
|
503
|
+
|
504
|
+
### Extended configuration
|
505
|
+
|
506
|
+
# --------------------------- start ---------------------------
|
507
|
+
# Console
|
508
|
+
# 控制台
|
509
|
+
console:
|
510
|
+
enable: false
|
511
|
+
# Recent comments
|
512
|
+
# 最新评论
|
513
|
+
recentComment:
|
514
|
+
enable: false
|
515
|
+
# Cache time 1: 1 day / .5 : half a day
|
516
|
+
# 缓存时间 1: 1天 / .5 : 半天
|
517
|
+
storage: .2
|
518
|
+
card:
|
519
|
+
# Tags
|
520
|
+
# 标签
|
521
|
+
tags: true
|
522
|
+
# Archives
|
523
|
+
# 归档
|
524
|
+
archive: true
|
525
|
+
# --------------------------- end ---------------------------
|
526
|
+
|
527
|
+
# --------------------------- start ---------------------------
|
528
|
+
translate:
|
529
|
+
enable: true
|
530
|
+
defaultEncoding: 2 # 1: 默认繁体 2: 默认简体
|
531
|
+
translateDelay: 0 # 首次加载翻译迟疑时间
|
532
|
+
# --------------------------- end ---------------------------
|
533
|
+
|
534
|
+
# --------------------------- start ---------------------------
|
535
|
+
# Right-Sidebar
|
536
|
+
# 右下角悬停导航栏
|
537
|
+
rightside:
|
538
|
+
enable: false
|
539
|
+
percent: false
|
540
|
+
hide:
|
541
|
+
enable: false
|
542
|
+
translate: false
|
543
|
+
mode: false
|
544
|
+
aside: false
|
545
|
+
# --------------------------- start ---------------------------
|
546
|
+
|
393
547
|
# --------------------------- start ---------------------------
|
394
548
|
# Footer
|
395
549
|
# 页脚
|
@@ -399,7 +553,7 @@ footer:
|
|
399
553
|
author: false # img url / false
|
400
554
|
left:
|
401
555
|
# Github: https://github.com/everfu || fab fa-github # Name: link || icon
|
402
|
-
# Mail: mailto:o@
|
556
|
+
# Mail: mailto:o@everfu.cn || fab fa-envelope
|
403
557
|
right:
|
404
558
|
# Bilibili: https://space.bilibili.com/1329819902 || fab fa-bilibili
|
405
559
|
# Douyin: https://v.douyin.com/iJsLc8jt/ || fab fa-tiktok
|
@@ -440,57 +594,15 @@ errorpage:
|
|
440
594
|
# --------------------------- end ---------------------------
|
441
595
|
|
442
596
|
# --------------------------- start ---------------------------
|
443
|
-
#
|
444
|
-
# 即可短文
|
445
|
-
says:
|
446
|
-
enable: false
|
447
|
-
home_mini: false
|
448
|
-
page: /essay/
|
449
|
-
style: 1
|
450
|
-
strip: 30
|
451
|
-
# --------------------------- end ---------------------------
|
452
|
-
|
453
|
-
# --------------------------- start ---------------------------
|
454
|
-
# Recent comments Page
|
455
|
-
# 最近评论页面
|
456
|
-
recent_comments:
|
457
|
-
enable: false
|
458
|
-
limit: 50 # ⚠️waline 仅支持最大50条评论 / ⚠️waline only supports a maximum of 50 comments
|
459
|
-
cache: 0.2 # 1 = 1天 / 1 = 1 day
|
460
|
-
page: /recentcomments/ # 最近评论页面 / recent comments page
|
461
|
-
img: /img/recent_c.avif # 中控台显示图片(不填不显示) / image displayed in the console
|
462
|
-
# --------------------------- end ---------------------------
|
463
|
-
|
464
|
-
# --------------------------- start ---------------------------
|
465
|
-
# Danmaku Page
|
466
|
-
# 弹幕留言页面
|
467
|
-
envelope:
|
468
|
-
enable: false
|
469
|
-
line: 10 # 显示行数
|
470
|
-
speed: 20 # 播放速度
|
471
|
-
hover: true # 鼠标悬停暂停
|
472
|
-
loop: true # 循环播放
|
473
|
-
page: /message/ # 留言板页面 / message board page
|
474
|
-
# --------------------------- end ---------------------------
|
475
|
-
|
476
|
-
# --------------------------- start ---------------------------
|
597
|
+
# Meting API
|
477
598
|
# This part of the content uses metingjs,
|
478
599
|
# can only use NetEase Cloud Music, QQ Music and other music platforms supported by the mainland China region,
|
479
600
|
# 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.
|
480
601
|
# Music Page
|
481
602
|
meting_api: "https://meting.everfu.cn/?server=:server&type=:type&id=:id&auth=:auth&r=:r" # Custom API
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
id: 1994908354
|
486
|
-
# 服务商:netease / qq / xiami / kugou / baidu
|
487
|
-
server: netease
|
488
|
-
# 类型:playlist / song
|
489
|
-
type: playlist
|
490
|
-
# 默认音量
|
491
|
-
volume: 0.8
|
492
|
-
# 是否自动播放
|
493
|
-
mutex: true
|
603
|
+
# --------------------------- end ---------------------------
|
604
|
+
|
605
|
+
# --------------------------- start ---------------------------
|
494
606
|
# Capsule music
|
495
607
|
# 音乐胶囊
|
496
608
|
capsule:
|
@@ -501,6 +613,7 @@ capsule:
|
|
501
613
|
server: netease
|
502
614
|
# 类型:playlist / song
|
503
615
|
type: playlist
|
616
|
+
volume: 0.8
|
504
617
|
# --------------------------- end ---------------------------
|
505
618
|
|
506
619
|
# --------------------------- start ---------------------------
|
@@ -525,21 +638,6 @@ keyboard:
|
|
525
638
|
# url: /links/
|
526
639
|
# --------------------------- end ---------------------------
|
527
640
|
|
528
|
-
# --------------------------- start ---------------------------
|
529
|
-
# Copy
|
530
|
-
# information
|
531
|
-
# 复制信息
|
532
|
-
copy:
|
533
|
-
enable: false
|
534
|
-
# Turn on Link copyright information after copying.
|
535
|
-
# 复制后链接版权信息
|
536
|
-
copyright:
|
537
|
-
enable: false
|
538
|
-
# Display when the number of words copied exceeds
|
539
|
-
# 复制文字时超过多少字数显示
|
540
|
-
limit: 50
|
541
|
-
# --------------------------- end ---------------------------
|
542
|
-
|
543
641
|
# --------------------------- start ---------------------------
|
544
642
|
# Lazyload
|
545
643
|
# 图片懒加载
|
@@ -597,18 +695,15 @@ mediumZoom: false # mediumZoom
|
|
597
695
|
# --------------------------- end ---------------------------
|
598
696
|
|
599
697
|
# --------------------------- start ---------------------------
|
600
|
-
#
|
601
|
-
|
602
|
-
#
|
603
|
-
|
604
|
-
|
605
|
-
|
606
|
-
|
607
|
-
#
|
608
|
-
|
609
|
-
# --------------------------- start ---------------------------
|
610
|
-
# typeit
|
611
|
-
typeit: false
|
698
|
+
# Memorial
|
699
|
+
# Turn the entire site gray on memorable days.
|
700
|
+
# 在纪念日整个网站变灰
|
701
|
+
memorial:
|
702
|
+
enable: false
|
703
|
+
date:
|
704
|
+
# - 7-7
|
705
|
+
# - 9-18
|
706
|
+
# - 12-13 # 国家公祭日
|
612
707
|
# --------------------------- end ---------------------------
|
613
708
|
|
614
709
|
# --------------------------- start ---------------------------
|
@@ -633,51 +728,6 @@ OpenGraph:
|
|
633
728
|
wordcount: false
|
634
729
|
# --------------------------- end ---------------------------
|
635
730
|
|
636
|
-
# --------------------------- start ---------------------------
|
637
|
-
# Busuanzi
|
638
|
-
busuanzi: false
|
639
|
-
# 0: Original / 1: Custom
|
640
|
-
# 0: 原版 / 1: 自定义版
|
641
|
-
busuanzi_use: 0
|
642
|
-
# --------------------------- end ---------------------------
|
643
|
-
|
644
|
-
# --------------------------- start ---------------------------
|
645
|
-
# Search
|
646
|
-
# warning: Please open the search page config: https://solitude.js.org/search/algolia or https://solitude.js.org/search/local
|
647
|
-
# 警告: 请打开搜索页面配置: https://solitude.js.org/zh/search/algolia 或 https://solitude.js.org/zh/search/local
|
648
|
-
search:
|
649
|
-
enable: false
|
650
|
-
# type: 使用的搜索引擎 / search engine
|
651
|
-
type: local # local / algolia
|
652
|
-
tags:
|
653
|
-
# - Solitude
|
654
|
-
# - Hexo
|
655
|
-
algolia:
|
656
|
-
# hits:
|
657
|
-
# per_page: 6
|
658
|
-
local:
|
659
|
-
preload: false
|
660
|
-
CDN: # url: search.xml
|
661
|
-
# --------------------------- end ---------------------------
|
662
|
-
|
663
|
-
# --------------------------- start ---------------------------
|
664
|
-
# This part is only supported in mainland China, and we will consider supporting ChatGPT Key in the future.
|
665
|
-
# 该部分仅支持中国大陆,后续会考虑支持 ChatGPT Key。
|
666
|
-
tianli_talk:
|
667
|
-
enable: false
|
668
|
-
title: 智能客服与搜索 # title
|
669
|
-
key: # key
|
670
|
-
option:
|
671
|
-
post_ai:
|
672
|
-
enable: false
|
673
|
-
modelName: GPT 4
|
674
|
-
key:
|
675
|
-
talk: # 我是 Efu 开发的摘要生成助理EfuGPT,EfuGPT在静态部署时进行摘要的撰写,并且在访客访问时通过EfuCorrection转译后的文本摘要实现工具。我在这里只负责已经生成的摘要显示,你无法与我直接沟通,但我可以回答一些预设的问题。
|
676
|
-
randomPost: false
|
677
|
-
report: https://solitude.js.org
|
678
|
-
tips: # 此内容根据文章生成,并经过人工审核,仅用于文章内容的解释与总结
|
679
|
-
# --------------------------- end ---------------------------
|
680
|
-
|
681
731
|
# --------------------------- start ---------------------------
|
682
732
|
# Katex
|
683
733
|
# Latex formula support
|
@@ -692,6 +742,53 @@ katex:
|
|
692
742
|
copytex: false
|
693
743
|
# --------------------------- end ---------------------------
|
694
744
|
|
745
|
+
# --------------------------- start ---------------------------
|
746
|
+
# verification
|
747
|
+
# 验证
|
748
|
+
verify_site:
|
749
|
+
# - name: google-site-verification
|
750
|
+
# content: xxxxxx
|
751
|
+
# - name: baidu-site-verification
|
752
|
+
# content: xxxxxxx
|
753
|
+
# --------------------------- end ---------------------------
|
754
|
+
|
755
|
+
# --------------------------- start ---------------------------
|
756
|
+
# CSS Prefix
|
757
|
+
# CSS 前缀
|
758
|
+
# When turned on, it will automatically prefix the CSS (to get better browser support), but this will increase the size of the CSS file.
|
759
|
+
# 开启后会自动给 CSS 加前缀(以获得更好的浏览器支持),但这会增加 CSS 文件的大小。
|
760
|
+
css_prefix: false
|
761
|
+
# --------------------------- end ---------------------------
|
762
|
+
|
763
|
+
# --------------------------- start ---------------------------
|
764
|
+
# Extend
|
765
|
+
# 扩展
|
766
|
+
extends:
|
767
|
+
# Insert in head
|
768
|
+
# 插入到 head
|
769
|
+
head:
|
770
|
+
# - <script src="https://cdn.bootcdn.net/ajax/libs/pace/1.2.4/pace.min.js"></script>
|
771
|
+
|
772
|
+
# Insert in body
|
773
|
+
# 插入到 body
|
774
|
+
body:
|
775
|
+
# - <script src="https://cdn.bootcdn.net/ajax/libs/pace/1.2.4/pace.min.js"></script>
|
776
|
+
# --------------------------- end ---------------------------
|
777
|
+
|
778
|
+
# --------------------------- start ---------------------------
|
779
|
+
# PWA
|
780
|
+
# Progressive Web App
|
781
|
+
pwa:
|
782
|
+
enable: false
|
783
|
+
manifest: /manifest.json # manifest.json
|
784
|
+
theme_color: "#006a73" # Theme color
|
785
|
+
mask_icon: /img/pwa/favicon.png # Mask icon
|
786
|
+
apple_touch_icon: /img/pwa/favicon.png # Apple touch icon
|
787
|
+
bookmark_icon: /img/pwa/favicon.png # Bookmark icon
|
788
|
+
favicon_32_32: /img/pwa/favicon_32.png # 32x32 icon
|
789
|
+
favicon_16_16: /img/pwa/favicon_16.png # 16x16 icon
|
790
|
+
# --------------------------- end ---------------------------
|
791
|
+
|
695
792
|
# --------------------------- start ---------------------------
|
696
793
|
# Comment
|
697
794
|
# 评论
|
@@ -763,85 +860,97 @@ giscus:
|
|
763
860
|
# --------------------------- end ---------------------------
|
764
861
|
|
765
862
|
# --------------------------- start ---------------------------
|
766
|
-
#
|
767
|
-
|
768
|
-
console:
|
863
|
+
# Search
|
864
|
+
search:
|
769
865
|
enable: false
|
770
|
-
#
|
771
|
-
#
|
772
|
-
|
773
|
-
|
774
|
-
#
|
775
|
-
|
776
|
-
|
777
|
-
|
778
|
-
|
779
|
-
|
780
|
-
|
781
|
-
# Archives
|
782
|
-
# 归档
|
783
|
-
archive: true
|
866
|
+
# type: 使用的搜索引擎 / search engine
|
867
|
+
type: local # local / algolia
|
868
|
+
tags:
|
869
|
+
# - Solitude
|
870
|
+
# - Hexo
|
871
|
+
algolia:
|
872
|
+
# hits:
|
873
|
+
# per_page: 6
|
874
|
+
local:
|
875
|
+
preload: false
|
876
|
+
CDN: # url: search.xml
|
784
877
|
# --------------------------- end ---------------------------
|
785
878
|
|
786
879
|
# --------------------------- start ---------------------------
|
787
|
-
#
|
788
|
-
#
|
789
|
-
|
790
|
-
|
791
|
-
#
|
792
|
-
|
793
|
-
#
|
880
|
+
# Music Page
|
881
|
+
# 音乐馆
|
882
|
+
music:
|
883
|
+
enable: false
|
884
|
+
# 歌单 ID / 单曲 ID
|
885
|
+
id: 1994908354
|
886
|
+
# 服务商:netease / qq / xiami / kugou / baidu
|
887
|
+
server: netease
|
888
|
+
# 类型:playlist / song
|
889
|
+
type: playlist
|
890
|
+
# 默认音量
|
891
|
+
volume: 0.8
|
892
|
+
# 是否自动播放
|
893
|
+
mutex: true
|
794
894
|
# --------------------------- end ---------------------------
|
795
895
|
|
796
896
|
# --------------------------- start ---------------------------
|
797
|
-
#
|
798
|
-
#
|
799
|
-
|
800
|
-
|
801
|
-
|
897
|
+
# Danmaku Page
|
898
|
+
# 弹幕留言页面
|
899
|
+
envelope:
|
900
|
+
enable: false
|
901
|
+
line: 10 # 显示行数
|
902
|
+
speed: 20 # 播放速度
|
903
|
+
hover: true # 鼠标悬停暂停
|
904
|
+
loop: true # 循环播放
|
905
|
+
page: /message/ # 留言板页面 / message board page
|
802
906
|
# --------------------------- end ---------------------------
|
803
907
|
|
804
908
|
# --------------------------- start ---------------------------
|
805
|
-
#
|
806
|
-
#
|
807
|
-
|
808
|
-
|
809
|
-
|
810
|
-
|
811
|
-
|
812
|
-
|
813
|
-
# Code font
|
814
|
-
# 代码字体
|
815
|
-
code-font-family: '"monospace", monospace'
|
909
|
+
# Says Page
|
910
|
+
# 即可短文
|
911
|
+
says:
|
912
|
+
enable: false
|
913
|
+
home_mini: false
|
914
|
+
page: /essay/
|
915
|
+
style: 1
|
916
|
+
strip: 30
|
816
917
|
# --------------------------- end ---------------------------
|
817
918
|
|
818
919
|
# --------------------------- start ---------------------------
|
819
|
-
#
|
820
|
-
#
|
821
|
-
|
822
|
-
|
823
|
-
#
|
824
|
-
|
825
|
-
#
|
920
|
+
# Recent comments Page
|
921
|
+
# 最近评论页面
|
922
|
+
recent_comments:
|
923
|
+
enable: false
|
924
|
+
limit: 50 # ⚠️waline 仅支持最大50条评论 / ⚠️waline only supports a maximum of 50 comments
|
925
|
+
cache: 0.2 # 1 = 1天 / 1 = 1 day
|
926
|
+
page: /recentcomments/ # 最近评论页面 / recent comments page
|
927
|
+
img: /img/recent_c.avif # 中控台显示图片(不填不显示) / image displayed in the console
|
928
|
+
# --------------------------- end ---------------------------
|
826
929
|
|
827
|
-
|
828
|
-
|
829
|
-
|
830
|
-
|
930
|
+
# --------------------------- start ---------------------------
|
931
|
+
# Busuanzi
|
932
|
+
busuanzi: false
|
933
|
+
# 0: Original / 1: Custom
|
934
|
+
# 0: 原版 / 1: 自定义版
|
935
|
+
busuanzi_use: 0
|
831
936
|
# --------------------------- end ---------------------------
|
832
937
|
|
833
938
|
# --------------------------- start ---------------------------
|
834
|
-
#
|
835
|
-
#
|
836
|
-
|
939
|
+
# This part is only supported in mainland China, and we will consider supporting ChatGPT Key in the future.
|
940
|
+
# 该部分仅支持中国大陆,后续会考虑支持 ChatGPT Key。
|
941
|
+
tianli_talk:
|
837
942
|
enable: false
|
838
|
-
|
839
|
-
|
840
|
-
|
841
|
-
|
842
|
-
|
843
|
-
|
844
|
-
|
943
|
+
title: 智能客服与搜索 # title
|
944
|
+
key: # key
|
945
|
+
option:
|
946
|
+
post_ai:
|
947
|
+
enable: false
|
948
|
+
modelName: GPT 4
|
949
|
+
key:
|
950
|
+
talk: # 我是 Efu 开发的摘要生成助理EfuGPT,EfuGPT在静态部署时进行摘要的撰写,并且在访客访问时通过EfuCorrection转译后的文本摘要实现工具。我在这里只负责已经生成的摘要显示,你无法与我直接沟通,但我可以回答一些预设的问题。
|
951
|
+
randomPost: false
|
952
|
+
report: https://solitude.js.org
|
953
|
+
tips: # 此内容根据文章生成,并经过人工审核,仅用于文章内容的解释与总结
|
845
954
|
# --------------------------- end ---------------------------
|
846
955
|
|
847
956
|
# --------------------------- start ---------------------------
|
@@ -871,103 +980,6 @@ google_adsense:
|
|
871
980
|
slot: # 4236388782
|
872
981
|
# --------------------------- end ---------------------------
|
873
982
|
|
874
|
-
# --------------------------- start ---------------------------
|
875
|
-
# Custom right menu
|
876
|
-
# 自定义右键菜单
|
877
|
-
right_menu:
|
878
|
-
enable: false
|
879
|
-
# Whether to display the hot comment switch.
|
880
|
-
# 是否显示热门评论开关
|
881
|
-
commentBarrage: false
|
882
|
-
# Whether to display the browser's context menu when hold Ctrl key.
|
883
|
-
# 是否在按住 Ctrl 键时显示浏览器右键菜单
|
884
|
-
ctrlOriginalMenu: false
|
885
|
-
# Simplified and Traditional Chinese translation.
|
886
|
-
# 简繁体转换
|
887
|
-
translate: false
|
888
|
-
# Custom list
|
889
|
-
# 自定义列表
|
890
|
-
custom_list:
|
891
|
-
# - name: Random
|
892
|
-
# click: toRandomPost()
|
893
|
-
# id: menu-randomPost
|
894
|
-
# class:
|
895
|
-
# icon: fas fa-tower-broadcast
|
896
|
-
# - name: Categories
|
897
|
-
# click: pjax.loadUrl('/categories/') # External links with window.open, pjax can not request cross-domain content.
|
898
|
-
# id:
|
899
|
-
# class:
|
900
|
-
# icon: fas fa-clone
|
901
|
-
# - name: Tags
|
902
|
-
# click: pjax.loadUrl('/tags/')
|
903
|
-
# id:
|
904
|
-
# class:
|
905
|
-
# icon: fas fa-tags
|
906
|
-
# --------------------------- end ---------------------------
|
907
|
-
|
908
|
-
# --------------------------- start ---------------------------
|
909
|
-
# Memorial
|
910
|
-
# Turn the entire site gray on memorable days.
|
911
|
-
# 在纪念日整个网站变灰
|
912
|
-
memorial:
|
913
|
-
enable: false
|
914
|
-
date:
|
915
|
-
# - 7-7
|
916
|
-
# - 9-18
|
917
|
-
# - 12-13 # 国家公祭日
|
918
|
-
# --------------------------- end ---------------------------
|
919
|
-
|
920
|
-
# --------------------------- start ---------------------------
|
921
|
-
# Lure
|
922
|
-
# When the user exits the page, modify the title
|
923
|
-
# 当用户退出页面时,修改标题
|
924
|
-
lure:
|
925
|
-
enable: false
|
926
|
-
jump: 404 Not Found
|
927
|
-
back: ヾ(≧∇≦*)ゝHey, hey, you fell for it.
|
928
|
-
# --------------------------- end ---------------------------
|
929
|
-
|
930
|
-
# --------------------------- start ---------------------------
|
931
|
-
# Article expiration
|
932
|
-
# 文章过期
|
933
|
-
expire:
|
934
|
-
enable: false
|
935
|
-
time: 30 # days
|
936
|
-
position: top # top / bottom
|
937
|
-
text_prev: "This article expired "
|
938
|
-
text_next: " day ago, if the content does not match, please contact the webmaster to update it."
|
939
|
-
# --------------------------- end ---------------------------
|
940
|
-
|
941
|
-
# --------------------------- start ---------------------------
|
942
|
-
# Background
|
943
|
-
# 背景图片
|
944
|
-
background:
|
945
|
-
enable: false
|
946
|
-
opacity: .2
|
947
|
-
dark: https://i.pinimg.com/originals/d8/b3/9d/d8b39d12b653810db452c437211aeb2e.png
|
948
|
-
light: https://i.pinimg.com/originals/93/57/38/935738ed9657b296c2ef0ebd2151eb66.jpg
|
949
|
-
# --------------------------- end ---------------------------
|
950
|
-
|
951
|
-
# --------------------------- start ---------------------------
|
952
|
-
translate:
|
953
|
-
enable: true
|
954
|
-
defaultEncoding: 2 # 1: 默认繁体 2: 默认简体
|
955
|
-
translateDelay: 0 # 首次加载翻译迟疑时间
|
956
|
-
# --------------------------- end ---------------------------
|
957
|
-
|
958
|
-
# --------------------------- start ---------------------------
|
959
|
-
# Right-Sidebar
|
960
|
-
# 右下角悬停导航栏
|
961
|
-
rightside:
|
962
|
-
enable: false
|
963
|
-
percent: false
|
964
|
-
hide:
|
965
|
-
enable: false
|
966
|
-
translate: false
|
967
|
-
mode: false
|
968
|
-
aside: false
|
969
|
-
# --------------------------- start ---------------------------
|
970
|
-
|
971
983
|
# --------------------------- start ---------------------------
|
972
984
|
# Do not modify unless necessary
|
973
985
|
# 非必要请勿修改
|