hexo-theme-solitude 2.1.2 → 2.1.3

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/_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@efu.me || fab fa-envelope
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
- # Says Page
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
- music:
483
- enable: false
484
- # 歌单 ID / 单曲 ID
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:
@@ -525,21 +637,6 @@ keyboard:
525
637
  # url: /links/
526
638
  # --------------------------- end ---------------------------
527
639
 
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
640
  # --------------------------- start ---------------------------
544
641
  # Lazyload
545
642
  # 图片懒加载
@@ -597,18 +694,15 @@ mediumZoom: false # mediumZoom
597
694
  # --------------------------- end ---------------------------
598
695
 
599
696
  # --------------------------- start ---------------------------
600
- # Mermaid
601
- mermaid: false
602
- # --------------------------- end ---------------------------
603
-
604
- # --------------------------- start ---------------------------
605
- # Chart.js
606
- chart: false
607
- # --------------------------- end ---------------------------
608
-
609
- # --------------------------- start ---------------------------
610
- # typeit
611
- typeit: false
697
+ # Memorial
698
+ # Turn the entire site gray on memorable days.
699
+ # 在纪念日整个网站变灰
700
+ memorial:
701
+ enable: false
702
+ date:
703
+ # - 7-7
704
+ # - 9-18
705
+ # - 12-13 # 国家公祭日
612
706
  # --------------------------- end ---------------------------
613
707
 
614
708
  # --------------------------- start ---------------------------
@@ -633,51 +727,6 @@ OpenGraph:
633
727
  wordcount: false
634
728
  # --------------------------- end ---------------------------
635
729
 
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
730
  # --------------------------- start ---------------------------
682
731
  # Katex
683
732
  # Latex formula support
@@ -692,6 +741,53 @@ katex:
692
741
  copytex: false
693
742
  # --------------------------- end ---------------------------
694
743
 
744
+ # --------------------------- start ---------------------------
745
+ # verification
746
+ # 验证
747
+ verify_site:
748
+ # - name: google-site-verification
749
+ # content: xxxxxx
750
+ # - name: baidu-site-verification
751
+ # content: xxxxxxx
752
+ # --------------------------- end ---------------------------
753
+
754
+ # --------------------------- start ---------------------------
755
+ # CSS Prefix
756
+ # CSS 前缀
757
+ # When turned on, it will automatically prefix the CSS (to get better browser support), but this will increase the size of the CSS file.
758
+ # 开启后会自动给 CSS 加前缀(以获得更好的浏览器支持),但这会增加 CSS 文件的大小。
759
+ css_prefix: false
760
+ # --------------------------- end ---------------------------
761
+
762
+ # --------------------------- start ---------------------------
763
+ # Extend
764
+ # 扩展
765
+ extends:
766
+ # Insert in head
767
+ # 插入到 head
768
+ head:
769
+ # - <script src="https://cdn.bootcdn.net/ajax/libs/pace/1.2.4/pace.min.js"></script>
770
+
771
+ # Insert in body
772
+ # 插入到 body
773
+ body:
774
+ # - <script src="https://cdn.bootcdn.net/ajax/libs/pace/1.2.4/pace.min.js"></script>
775
+ # --------------------------- end ---------------------------
776
+
777
+ # --------------------------- start ---------------------------
778
+ # PWA
779
+ # Progressive Web App
780
+ pwa:
781
+ enable: false
782
+ manifest: /manifest.json # manifest.json
783
+ theme_color: "#006a73" # Theme color
784
+ mask_icon: /img/pwa/favicon.png # Mask icon
785
+ apple_touch_icon: /img/pwa/favicon.png # Apple touch icon
786
+ bookmark_icon: /img/pwa/favicon.png # Bookmark icon
787
+ favicon_32_32: /img/pwa/favicon_32.png # 32x32 icon
788
+ favicon_16_16: /img/pwa/favicon_16.png # 16x16 icon
789
+ # --------------------------- end ---------------------------
790
+
695
791
  # --------------------------- start ---------------------------
696
792
  # Comment
697
793
  # 评论
@@ -763,85 +859,97 @@ giscus:
763
859
  # --------------------------- end ---------------------------
764
860
 
765
861
  # --------------------------- start ---------------------------
766
- # Console
767
- # 控制台
768
- console:
862
+ # Search
863
+ search:
769
864
  enable: false
770
- # Recent comments
771
- # 最新评论
772
- recentComment:
773
- enable: false
774
- # Cache time 1: 1 day / .5 : half a day
775
- # 缓存时间 1: 1天 / .5 : 半天
776
- storage: .2
777
- card:
778
- # Tags
779
- # 标签
780
- tags: true
781
- # Archives
782
- # 归档
783
- archive: true
865
+ # type: 使用的搜索引擎 / search engine
866
+ type: local # local / algolia
867
+ tags:
868
+ # - Solitude
869
+ # - Hexo
870
+ algolia:
871
+ # hits:
872
+ # per_page: 6
873
+ local:
874
+ preload: false
875
+ CDN: # url: search.xml
784
876
  # --------------------------- end ---------------------------
785
877
 
786
878
  # --------------------------- start ---------------------------
787
- # verification
788
- # 验证
789
- verify_site:
790
- # - name: google-site-verification
791
- # content: xxxxxx
792
- # - name: baidu-site-verification
793
- # content: xxxxxxx
879
+ # Music Page
880
+ # 音乐馆
881
+ music:
882
+ enable: false
883
+ # 歌单 ID / 单曲 ID
884
+ id: 1994908354
885
+ # 服务商:netease / qq / xiami / kugou / baidu
886
+ server: netease
887
+ # 类型:playlist / song
888
+ type: playlist
889
+ # 默认音量
890
+ volume: 0.8
891
+ # 是否自动播放
892
+ mutex: true
794
893
  # --------------------------- end ---------------------------
795
894
 
796
895
  # --------------------------- start ---------------------------
797
- # CSS Prefix
798
- # CSS 前缀
799
- # When turned on, it will automatically prefix the CSS (to get better browser support), but this will increase the size of the CSS file.
800
- # 开启后会自动给 CSS 加前缀(以获得更好的浏览器支持),但这会增加 CSS 文件的大小。
801
- css_prefix: false
896
+ # Danmaku Page
897
+ # 弹幕留言页面
898
+ envelope:
899
+ enable: false
900
+ line: 10 # 显示行数
901
+ speed: 20 # 播放速度
902
+ hover: true # 鼠标悬停暂停
903
+ loop: true # 循环播放
904
+ page: /message/ # 留言板页面 / message board page
802
905
  # --------------------------- end ---------------------------
803
906
 
804
907
  # --------------------------- start ---------------------------
805
- # Font
806
- # 字体
807
- font:
808
- font-size: 16px
809
- code-font-size: 16px
810
- # Global font
811
- # 全局字体
812
- font-family: "PingFang SC, Hiragino Sans GB, Microsoft YaHei"
813
- # Code font
814
- # 代码字体
815
- code-font-family: '"monospace", monospace'
908
+ # Says Page
909
+ # 即可短文
910
+ says:
911
+ enable: false
912
+ home_mini: false
913
+ page: /essay/
914
+ style: 1
915
+ strip: 30
816
916
  # --------------------------- end ---------------------------
817
917
 
818
918
  # --------------------------- start ---------------------------
819
- # Extend
820
- # 扩展
821
- extends:
822
- # Insert in head
823
- # 插入到 head
824
- head:
825
- # - <script src="https://cdn.bootcdn.net/ajax/libs/pace/1.2.4/pace.min.js"></script>
919
+ # Recent comments Page
920
+ # 最近评论页面
921
+ recent_comments:
922
+ enable: false
923
+ limit: 50 # ⚠️waline 仅支持最大50条评论 / ⚠️waline only supports a maximum of 50 comments
924
+ cache: 0.2 # 1 = 1天 / 1 = 1 day
925
+ page: /recentcomments/ # 最近评论页面 / recent comments page
926
+ img: /img/recent_c.avif # 中控台显示图片(不填不显示) / image displayed in the console
927
+ # --------------------------- end ---------------------------
826
928
 
827
- # Insert in body
828
- # 插入到 body
829
- body:
830
- # - <script src="https://cdn.bootcdn.net/ajax/libs/pace/1.2.4/pace.min.js"></script>
929
+ # --------------------------- start ---------------------------
930
+ # Busuanzi
931
+ busuanzi: false
932
+ # 0: Original / 1: Custom
933
+ # 0: 原版 / 1: 自定义版
934
+ busuanzi_use: 0
831
935
  # --------------------------- end ---------------------------
832
936
 
833
937
  # --------------------------- start ---------------------------
834
- # PWA
835
- # Progressive Web App
836
- pwa:
938
+ # This part is only supported in mainland China, and we will consider supporting ChatGPT Key in the future.
939
+ # 该部分仅支持中国大陆,后续会考虑支持 ChatGPT Key。
940
+ tianli_talk:
837
941
  enable: false
838
- manifest: /manifest.json # manifest.json
839
- theme_color: "#006a73" # Theme color
840
- mask_icon: /img/pwa/favicon.png # Mask icon
841
- apple_touch_icon: /img/pwa/favicon.png # Apple touch icon
842
- bookmark_icon: /img/pwa/favicon.png # Bookmark icon
843
- favicon_32_32: /img/pwa/favicon_32.png # 32x32 icon
844
- favicon_16_16: /img/pwa/favicon_16.png # 16x16 icon
942
+ title: 智能客服与搜索 # title
943
+ key: # key
944
+ option:
945
+ post_ai:
946
+ enable: false
947
+ modelName: GPT 4
948
+ key:
949
+ talk: # 我是 Efu 开发的摘要生成助理EfuGPT,EfuGPT在静态部署时进行摘要的撰写,并且在访客访问时通过EfuCorrection转译后的文本摘要实现工具。我在这里只负责已经生成的摘要显示,你无法与我直接沟通,但我可以回答一些预设的问题。
950
+ randomPost: false
951
+ report: https://solitude.js.org
952
+ tips: # 此内容根据文章生成,并经过人工审核,仅用于文章内容的解释与总结
845
953
  # --------------------------- end ---------------------------
846
954
 
847
955
  # --------------------------- start ---------------------------
@@ -871,103 +979,6 @@ google_adsense:
871
979
  slot: # 4236388782
872
980
  # --------------------------- end ---------------------------
873
981
 
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
982
  # --------------------------- start ---------------------------
972
983
  # Do not modify unless necessary
973
984
  # 非必要请勿修改
@@ -21,6 +21,8 @@
21
21
  i.solitude.fa-solid.fa-spinner.fa-spin
22
22
  when "Artalk"
23
23
  span.artalk-count
24
+ when "Giscus"
25
+ span.giscus-count
24
26
  | )
25
27
 
26
28
  if use.length > 1
@@ -55,6 +55,6 @@ script.
55
55
  loadGiscus()
56
56
  }
57
57
  } else {
58
- window.loadOtherComment = loadGiscus
58
+ window.loadTwoComment = loadGiscus
59
59
  }
60
60
  })()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hexo-theme-solitude",
3
- "version": "2.1.2",
3
+ "version": "2.1.3",
4
4
  "description": "A beautiful, powerful, and efficient Hexo theme developed by everfu.",
5
5
  "main": "package.json",
6
6
  "scripts": {
@@ -51,8 +51,8 @@
51
51
  display none
52
52
 
53
53
  &::before
54
- content "\e082"
55
- font-family solitude
54
+ content "\f0c1"
55
+ font-family 'FontAwesome'
56
56
  cursor pointer
57
57
 
58
58
  &:hover
@@ -23,6 +23,8 @@ if hexo-config('index_post_list.direction') == "column"
23
23
 
24
24
  +maxWidth1300()
25
25
  margin-bottom .5rem
26
+ #tag &
27
+ margin-top: 2.5rem
26
28
 
27
29
  +maxWidth768()
28
30
  border-radius 12px
@@ -253,6 +255,8 @@ else if hexo-config('index_post_list.direction') == "row"
253
255
  flex-direction row
254
256
  width 100%
255
257
  box-shadow var(--efu-shadow-border)
258
+ #tag &
259
+ margin-top: 2.5rem
256
260
 
257
261
  +maxWidth768()
258
262
  border-radius 12px