hexo-theme-solitude 1.5.1 → 1.5.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.
Files changed (153) hide show
  1. package/.github/FUNDING.yml +2 -2
  2. package/.github/ISSUE_TEMPLATE/config.yml +17 -0
  3. package/.github/ISSUE_TEMPLATE/feature_request.yml +48 -0
  4. package/.github/PULL_REQUEST_TEMPLATE.md +35 -0
  5. package/.github/logo.png +0 -0
  6. package/.github/screenshot.png +0 -0
  7. package/.github/workflows/stale.yml +19 -0
  8. package/CONTRIBUTING.md +2 -13
  9. package/LICENSE +21 -674
  10. package/README.md +41 -96
  11. package/README_EN.md +40 -96
  12. package/README_zh-tw.md +60 -0
  13. package/SECURITY.md +9 -0
  14. package/_config.yml +235 -264
  15. package/languages/{en-US.yml → en.yml} +3 -4
  16. package/languages/zh-CN.yml +0 -1
  17. package/languages/zh-TW.yml +0 -1
  18. package/layout/404.pug +1 -1
  19. package/layout/includes/body/gadsense.pug +9 -0
  20. package/layout/includes/console.pug +6 -6
  21. package/layout/includes/footer.pug +13 -13
  22. package/layout/includes/inject/body.pug +10 -1
  23. package/layout/includes/inject/head.pug +4 -4
  24. package/layout/includes/mixins/pagination.pug +2 -2
  25. package/layout/includes/nav.pug +2 -2
  26. package/layout/includes/page/album.pug +9 -9
  27. package/layout/includes/page/says.pug +5 -5
  28. package/layout/includes/sidebar.pug +2 -3
  29. package/layout/includes/widgets/aside/asideInfoCard.pug +1 -1
  30. package/layout/includes/widgets/aside/asideNewestPost.pug +1 -1
  31. package/layout/includes/widgets/aside/asideToc.pug +1 -1
  32. package/layout/includes/widgets/aside/asideWebInfo.pug +8 -8
  33. package/layout/includes/widgets/home/banner.pug +1 -1
  34. package/layout/includes/widgets/home/bbTimeList.pug +7 -7
  35. package/layout/includes/widgets/home/categoryBar.pug +5 -4
  36. package/layout/includes/widgets/home/categoryGroup.pug +1 -1
  37. package/layout/includes/widgets/home/postList.pug +8 -2
  38. package/layout/includes/widgets/home/topGroup.pug +1 -1
  39. package/layout/includes/widgets/nav/menu.pug +1 -1
  40. package/layout/includes/widgets/nav/right.pug +6 -6
  41. package/layout/includes/widgets/page/about/award.pug +3 -3
  42. package/layout/includes/widgets/page/about/hobbies.pug +1 -1
  43. package/layout/includes/widgets/page/banner.pug +1 -1
  44. package/layout/includes/widgets/page/equipment/content.pug +1 -1
  45. package/layout/includes/widgets/page/links/banner.pug +3 -3
  46. package/layout/includes/widgets/page/moments/angle.pug +1 -1
  47. package/layout/includes/widgets/post/award.pug +1 -1
  48. package/layout/includes/widgets/post/copyright.pug +1 -1
  49. package/layout/includes/widgets/post/post-ai.pug +1 -1
  50. package/layout/includes/widgets/post/postMeta.pug +12 -12
  51. package/layout/includes/widgets/rightside/index.pug +25 -25
  52. package/layout/includes/widgets/third-party/comments/comment.pug +1 -1
  53. package/layout/includes/widgets/third-party/music.pug +1 -1
  54. package/layout/includes/widgets/third-party/search/algolia-search.pug +2 -2
  55. package/layout/includes/widgets/third-party/search/local-search.pug +1 -1
  56. package/layout/index.pug +2 -2
  57. package/package.json +9 -9
  58. package/plugins.yml +8 -12
  59. package/scripts/event/cdn.js +10 -0
  60. package/scripts/event/welcome.js +1 -1
  61. package/scripts/filter/lazyload.js +2 -3
  62. package/scripts/helper/related_post.js +1 -1
  63. package/scripts/tags/card.js +1 -1
  64. package/scripts/tags/mermaid.js +9 -0
  65. package/scripts/tags/tabs.js +2 -2
  66. package/source/css/_global/animation.styl +1 -1
  67. package/source/css/_global/index.styl +27 -27
  68. package/source/css/_layout/basic.styl +18 -18
  69. package/source/css/_layout/header.styl +67 -67
  70. package/source/css/_layout/index.styl +14 -14
  71. package/source/css/_mode/index.styl +88 -88
  72. package/source/css/_page/_about/author.styl +5 -5
  73. package/source/css/_page/_about/buff.styl +1 -1
  74. package/source/css/_page/_about/careers.styl +1 -1
  75. package/source/css/_page/_about/contentinfo.styl +2 -2
  76. package/source/css/_page/_about/game.styl +2 -2
  77. package/source/css/_page/_about/like.styl +2 -2
  78. package/source/css/_page/_about/myphoto.styl +1 -1
  79. package/source/css/_page/_about/oneself.styl +2 -2
  80. package/source/css/_page/_about/reward.styl +11 -11
  81. package/source/css/_page/_about/skills.styl +2 -2
  82. package/source/css/_page/_about/statistic.styl +4 -4
  83. package/source/css/_page/_about/tenyear.styl +4 -4
  84. package/source/css/_page/_gallery/index.styl +7 -7
  85. package/source/css/_page/_home/category-bar.styl +11 -8
  86. package/source/css/_page/_home/home-top.styl +16 -16
  87. package/source/css/_page/_home/index.styl +1 -1
  88. package/source/css/_page/_home/pagination.styl +22 -22
  89. package/source/css/_page/_home/recent-post.styl +22 -15
  90. package/source/css/_page/category.styl +11 -11
  91. package/source/css/_page/douban.styl +10 -10
  92. package/source/css/_page/equipment.styl +10 -10
  93. package/source/css/_page/error.styl +3 -3
  94. package/source/css/_page/google.styl +32 -0
  95. package/source/css/_page/index.styl +4 -1
  96. package/source/css/_page/links.styl +27 -27
  97. package/source/css/_page/moment.styl +22 -22
  98. package/source/css/_page/music.styl +16 -14
  99. package/source/css/_page/says.styl +21 -21
  100. package/source/css/_page/share.styl +25 -25
  101. package/source/css/_page/tag.styl +12 -12
  102. package/source/css/_widgets/_aside/allinfo.styl +12 -12
  103. package/source/css/_widgets/_aside/index.styl +4 -4
  104. package/source/css/_widgets/_aside/info.styl +27 -27
  105. package/source/css/_widgets/_aside/newPost.styl +5 -5
  106. package/source/css/_widgets/_aside/toc.styl +7 -7
  107. package/source/css/_widgets/_comment/index.styl +7 -7
  108. package/source/css/_widgets/_comment/twikoo.styl +66 -50
  109. package/source/css/_widgets/_comment/waline.styl +45 -44
  110. package/source/css/_widgets/_extra/console.styl +29 -29
  111. package/source/css/_widgets/_extra/fullpage.styl +1 -1
  112. package/source/css/_widgets/_extra/music.styl +11 -11
  113. package/source/css/_widgets/_extra/pace.styl +2 -2
  114. package/source/css/_widgets/_extra/rightmenu.styl +8 -8
  115. package/source/css/_widgets/_mixins/article-sort.styl +7 -7
  116. package/source/css/_widgets/_mixins/footer.styl +28 -28
  117. package/source/css/_widgets/_mixins/keyboard.styl +8 -8
  118. package/source/css/_widgets/_mixins/other.styl +4 -4
  119. package/source/css/_widgets/_mixins/sidebar.styl +20 -20
  120. package/source/css/_widgets/_post/_highlight/index.styl +16 -16
  121. package/source/css/_widgets/_post/_highlight/theme/default.styl +1 -1
  122. package/source/css/_widgets/_post/_highlight/theme/mac.styl +1 -1
  123. package/source/css/_widgets/_post/commentBarrage.styl +13 -13
  124. package/source/css/_widgets/_post/content.styl +27 -26
  125. package/source/css/_widgets/_post/copyright.styl +9 -9
  126. package/source/css/_widgets/_post/meta.styl +27 -27
  127. package/source/css/_widgets/_post/pagination.styl +13 -13
  128. package/source/css/_widgets/_post/postAI.styl +18 -18
  129. package/source/css/_widgets/_post/relatedPost.styl +8 -8
  130. package/source/css/_widgets/_post/tools.styl +30 -30
  131. package/source/css/_widgets/_search/algolia-search.styl +18 -18
  132. package/source/css/_widgets/_search/local-search.styl +22 -22
  133. package/source/css/_widgets/_tags/button.styl +1 -1
  134. package/source/css/_widgets/_tags/card.styl +12 -12
  135. package/source/css/_widgets/_tags/fold.styl +11 -11
  136. package/source/css/_widgets/_tags/index.styl +26 -26
  137. package/source/css/_widgets/_tags/link.styl +10 -9
  138. package/source/css/_widgets/_tags/mermaid.styl +4 -0
  139. package/source/css/_widgets/_tags/note.styl +2 -2
  140. package/source/css/_widgets/_tags/tabs.styl +10 -10
  141. package/source/css/_widgets/_tags/timeline.styl +5 -5
  142. package/source/img/logo.png +0 -0
  143. package/source/js/comment/twikoo_commentBarrage.js +1 -1
  144. package/source/js/comment/waline_commentBarrage.js +1 -1
  145. package/source/js/covercolor/api.js +18 -18
  146. package/source/js/covercolor/local.js +18 -18
  147. package/source/js/main.js +5 -5
  148. package/source/js/music.js +1 -12
  149. package/source/js/search/algolia.js +7 -7
  150. package/source/js/tw_cn.js +2 -2
  151. package/source/js/universe.min.js +5 -0
  152. package/source/js/utils.js +2 -2
  153. package/source/js/waterfall.min.js +1 -0
package/_config.yml CHANGED
@@ -1,156 +1,124 @@
1
- ---
2
1
  #---------------------------
3
2
  # Hexo Theme Solitude
4
- # Author: wleelw(王卓Sco)、yife68(亦封)
5
- # Github: https://github.com/wleelw/Hexo-theme-solitude
3
+ # Author: Valor Team
4
+ # Github: https://github.com/valor-x/hexo-theme-solitude
6
5
  #
7
- # 配置指南: https://docs.wzsco.top/
6
+ # 配置指南: https://solitude-docs.efu.me/
8
7
  # 你可以从指南中获得更详细的说明
9
8
  #
10
- # Guide: https://docs.wzsco.top/
9
+ # Guide: https://solitude-docs.efu.me/
11
10
  # You can get more detailed help from the guide
11
+ #
12
+ # 赞助:https://afdian.net/a/efu0u0
13
+ # sponsor: https://afdian.net/a/efu0u0
12
14
  #---------------------------
13
15
 
14
- # -------------------------
15
- # 基本配置
16
- # basic settings
17
-
18
16
  # 站点设置
19
17
  # site settings
20
18
  site:
21
- # 顶部导航栏logo区域
22
- # Logo area in the top navigation bar
19
+ # Logo
23
20
  name:
24
21
  # 显示类型 (i_class/text/img)
25
22
  # Display type (i_class/text/img)
26
23
  class: text
27
- # 具体内容 例如:scoicon sco-logo / 王卓Sco / https://p.sondy.top/logo.png
28
- # Specific content, for example: scoicon sco-logo / 王卓Sco / https://p.sondy.top/logo.png
24
+ # 具体内容 例如:solitude st-logo / Efu / /img/logo.png
25
+ # Specific content, for example: solitude st-logo / Efu / /img/logo.png
29
26
  custom: Solitude
30
27
  # 网页icon
31
28
  # Web icon
32
- siteIcon: https://bu.dusays.com/2023/11/08/654af68b25bb8.jpg
29
+ siteIcon: /img/logo.png
33
30
  # 页脚的Logo、加载动画默认的logo
34
31
  # Logo in the footer, default logo for loading animation
35
- icon: https://bu.dusays.com/2023/11/08/654af68b25bb8.jpg
32
+ icon: /img/logo.png
36
33
 
37
34
  # 导航栏
38
- # navigation bar
35
+ # NavBar
39
36
  nav:
40
- #导航栏左侧
41
- # left
42
- left:
43
- # 是否开启左侧导航栏
44
- # Whether to enable the left navigation bar
45
- enable: false
46
- # 导航栏显示的内容
47
- # Content displayed in the navigation bar
48
- menu:
49
- # 显示分类名
50
- # Display category name
51
- 项目:
52
- # # 显示子类
53
- # # Display subcategories
54
- # Solitude:
55
- # # 显示的图标
56
- # # Displayed icon
57
- # icon: https://bu.dusays.com/2023/11/08/654af68b25bb8.jpg
58
- # # 点击的跳转链接
59
- # # Click the jump link
60
- # url: https://github.com/wleelw/Hexo-Theme-solitude
61
-
62
- # 导航栏内容
63
- # Navigation bar content
64
- # tip:此部分内容是顶部导航栏中间菜单区域
65
- # tip: This part of the content is the menu area in the middle of the top navigation bar
37
+ # logo 箱子
38
+ # logo group
39
+ group:
40
+ # 项目: # 分类名称
41
+ # Solitude: https://github.com/valor-x/hexo-theme-solitude || /img/logo.png # 子菜单名称(submenu name): 链接地址(address) || 图标(icon)
42
+
43
+ # 中心菜单
44
+ # center menu
66
45
  menu:
67
- # 首页: / # 显示名称:路径 / Display name: path
68
- # 文库: # 显示名称 / Display name
69
- # 文章列表: /archives/ || sco-folder-fill # 子菜单名称:路径 || 图标 / Submenu name: path || icon
70
- # 全部分类: /categories/ || sco-checkbox-multiple-blank-fill
71
- # 全部标签: /tags/ || sco-price-tag-fill
72
- # 友链:
73
- # 友链鱼塘: /moments/ || sco-wifi-fill
74
- # 友情链接: /links/ || sco-group-fill
75
- # 宝藏博主: javascript:travelling() || sco-gift-fill
76
- # 我的:
77
- # 相册集: /gallery/ || sco-image-fill
78
- # 装备: /equipment/ || sco-laptop-line
79
- # 工具箱: /tlink/ || sco-tools-fill
80
- # 音乐馆: /music/ || sco-disc-fill
81
- # 关于:
82
- # 关于本站: /about/ || sco-contacts-fill
83
-
84
- # 导航栏右侧按钮
85
- # Button on the right side of the navigation bar
86
- # tip:只需填写true和false即可
87
- # tip: Just fill in true and false
46
+ # 首页: / # 显示名称:路径 / Display name: path
47
+ # 文库: # 显示名称 / Display name
48
+ # 文章列表: /archives/ || st-folder-fill # 子菜单名称:路径 || 图标 / Submenu name: path || icon
49
+ # 全部分类: /categories/ || st-checkbox-multiple-blank-fill
50
+ # 全部标签: /tags/ || st-price-tag-fill
51
+ # 友链:
52
+ # 友链鱼塘: /moments/ || st-wifi-fill
53
+ # 友情链接: /links/ || st-group-fill
54
+ # 宝藏博主: javascript:travelling() || st-gift-fill
55
+ # 我的:
56
+ # 相册集: /gallery/ || st-image-fill
57
+ # 装备: /equipment/ || st-laptop-line
58
+ # 工具箱: /tlink/ || st-tools-fill
59
+ # 音乐馆: /music/ || st-disc-fill
60
+ # 关于:
61
+ # 关于本站: /about/ || st-contacts-fill
62
+
63
+ # 右侧按钮
64
+ # Button on the right
88
65
  right:
89
- random: false # 随机文章跳转 true:开启 / false:关闭 : random post jump true: on / false: off
90
- console: false #控制台 true:开启 / false:关闭 : console true: on / false: off
91
- # 从左至右
92
- # From left to right
66
+ random: false # 随机文章跳转 / random post button
67
+ console: false #控制台 / console
68
+ # 自定义按钮
69
+ # custom button
70
+ # 左至右
71
+ # from left to right
93
72
  custom:
94
- # - name: 开往 - 友链接力 # 显示文字 / Displayed text
95
- # url: https://www.travellings.cn/go.html # 跳转链接 / Jump link
96
- # icon: sco-train-line # 图标 / Icon
97
- # onclick: # 点击事件 / Click event
98
- # id: travellings_button # id
73
+ # - name: 开往 - 友链接力 # 显示文字 / Displayed text
74
+ # url: https://www.travellings.cn/go.html # 跳转链接 / Jump link
75
+ # icon: st-train-line # 图标 / Icon
76
+ # onclick: # 点击事件 / Click event
77
+ # id: travellings_button # id
99
78
 
100
79
  # 首页顶部样式
101
80
  # Home top style
102
81
  hometop:
103
- # 首页顶部瀑布技能点、右侧文章推荐、左侧下部分三大分类
104
- # Home top waterfall skill points, right article recommendation, left lower part of the three major categories
82
+ enable: false # 是否打开 / if enable
83
+ # banner display
105
84
  banner:
106
- # 是否开启显示,不开启则顶部只会显示即刻mini(需配置)
107
- # Whether to enable display, do not enable the top will only display the mini immediately (need to configure)
108
- enable: false # 是否打开顶部banner / Whether to open the top banner
109
85
  # 左上角显示大文字
110
86
  # Large text displayed in the upper left corner
111
87
  # tip:可使用html标签
112
- # tip: html tags can be used
88
+ # tip: html tags be used
113
89
  title: 宁静致远<br>热爱生活
114
90
  # 左上角显示小文字
115
91
  # Small text displayed in the upper left corner
116
- url: Hexo-Theme-Solitude
92
+ url: Hexo Theme Solitude
117
93
  # 轮播icon
118
94
  # Carousel icon
95
+ # tip: 76x76 size
119
96
  icon:
120
- # # 名字 / Name
121
- # HTML:
122
- # # 图片 / Image
123
- # img: https://npm.elemecdn.com/wleelw-blog-abs@1.0.0/img/icon/HTML.png
124
- # # 背景色 / Background color
125
- # color: "#e9572b"
126
- # JS:
127
- # img: https://npm.elemecdn.com/wleelw-blog-abs@1.0.0/img/icon/JS.png
128
- # color: "#f7cb4f"
129
- # Kotlin:
130
- # img: https://npm.elemecdn.com/wleelw-blog-abs@1.0.0/img/icon/kotlin-logo.svg
131
- # color: "#ffffff"
132
- # Docker:
133
- # img: https://npm.elemecdn.com/wleelw-blog-abs@1.0.0/img/icon/docker.png
134
- # color: "#57b6e6"
135
- # Flutter:
136
- # img: https://npm.elemecdn.com/wleelw-blog-abs@1.0.0/img/icon/flutter.png
137
- # color: "#ffffff"
138
- # WebPack:
139
- # img: https://npm.elemecdn.com/wleelw-blog-abs@1.0.0/img/icon/webpack.png
140
- # color: "#2e3a41"
141
- # Git:
142
- # img: https://npm.elemecdn.com/wleelw-blog-abs@1.0.0/img/icon/git.png
143
- # color: "#df5b40"
144
- # VS:
145
- # img: https://npm.elemecdn.com/wleelw-blog-abs@1.0.0/img/icon/vs-logo.svg
146
- # color: "#ffffff"
147
-
148
- # banner 左下跳转按钮
149
- # Banner lower left jump button
150
- group:
151
- # 热门: /tags/热门/ || sco-fire-fill || linear-gradient(to right,#f65,#ffbf37)
152
- # 教程: /tags/教程/ || sco-book-mark-fill || linear-gradient(to right,#358bff,#15c6ff)
153
- # 精选: /tags/精选/ || sco-star-smile-fill || linear-gradient(to right,#18e7ae,#1eebeb)
97
+ # HTML: # 名字 / Name
98
+ # img: https://7.isyangs.cn/34/65f2e42921677-34.png # 图片 / Image
99
+ # color: "#e9572b" # 背景色 / Background color
100
+ # JS:
101
+ # img: https://7.isyangs.cn/34/65f2e43ceddda-34.png
102
+ # color: "#f7cb4f"
103
+ # Docker:
104
+ # img: https://7.isyangs.cn/34/65f2e45462045-34.png
105
+ # color: "#57b6e6"
106
+ # Flutter:
107
+ # img: https://7.isyangs.cn/34/65f2e47acbe98-34.png
108
+ # color: "#ffffff"
109
+ # WebPack:
110
+ # img: https://7.isyangs.cn/34/65f2e488bf8ed-34.png
111
+ # color: "#2e3a41"
112
+ # Git:
113
+ # img: https://7.isyangs.cn/34/65f2e499066fa-34.png
114
+ # color: "#df5b40"
115
+
116
+ # 左下跳转按钮
117
+ # Banner lower left jump button
118
+ group:
119
+ # 热门: /tags/热门/ || st-fire-fill || linear-gradient(to right,#f65,#ffbf37)
120
+ # 教程: /tags/教程/ || st-book-mark-fill || linear-gradient(to right,#358bff,#15c6ff)
121
+ # 精选: /tags/精选/ || st-star-smile-fill || linear-gradient(to right,#18e7ae,#1eebeb)
154
122
 
155
123
  # 右侧置顶列表(在文章的front matter中添加“recommend: true”)
156
124
  # Right top list (add "recommend: true" in the front matter of the article)
@@ -160,16 +128,16 @@ hometop:
160
128
  sup: 置顶
161
129
  # 左下角大字
162
130
  # Large text in the lower left corner
163
- title: Solitude主题文档
131
+ title: Solitude 主题文档
164
132
  # 点击跳转链接
165
133
  # Click the jump link
166
- url: https://docs.wzsco.top/
134
+ url: https://solitude-docs.efu.me/
167
135
  # 显示背景图片
168
136
  # Display background image
169
137
  img: /img/default.png
170
138
  # 阴影颜色
171
139
  # Shadow color
172
- color: "#ff0000"
140
+ color: "none"
173
141
 
174
142
  # --------------------------------------
175
143
  # Aside Settings
@@ -180,8 +148,6 @@ aside:
180
148
 
181
149
  # 在主页显示的侧边栏信息
182
150
  # Sidebar information displayed on the homepage
183
- # tip:将需要显示的侧边栏模块按照以上的值所述填入
184
- # tip: Fill in the sidebar modules that need to be displayed as described above
185
151
  home:
186
152
  # 固定的信息(滑动不跟随)
187
153
  # Fixed information (not followed by sliding)
@@ -207,24 +173,19 @@ aside:
207
173
  author:
208
174
  # 头像
209
175
  # Avatar
210
- img: https://bu.dusays.com/2023/11/08/654af68b25bb8.jpg
176
+ img: /img/logo.png
211
177
  # 表情图片链接
212
178
  # Emoticon image link
213
- # tip: 推荐尺寸 26x26
214
- # tip: Recommended size 26x26
215
- sticker: https://bu.dusays.com/2023/12/30/659011053e246.png
179
+ # tip: 26x26 size
180
+ sticker: https://7.isyangs.cn/34/65f2e4e0423cc-34.png
216
181
  # 点击作者名称跳转链接
217
182
  # Click the author name to jump link
218
183
  url: /about/
219
184
  # 文案1
220
185
  # label1
221
- # tip:可使用html标签
222
- # tip: html tags can be used
223
186
  content: 分享自己对编程的<b>热爱</b>,对美好生活的<b>向往</b>,对知识海洋<b>探索历程</b>。
224
187
  # 文案2
225
188
  # label2
226
- # tip:可使用html标签
227
- # tip: html tags can be used
228
189
  content2: 相信你可以在这里找到对你有用的知识和教程。
229
190
  # 个人信息卡片底部的小图标,按照例子填写
230
191
  # Small icons at the bottom of the personal information card, fill in according to the example
@@ -250,8 +211,8 @@ aside:
250
211
  - 🎮 电竞游戏爱好者
251
212
  # 个人信息卡片底部的小图标,按照例子填写
252
213
  information:
253
- # Github: https://github.com/wleelw || sco-github-line # 名称:链接 || 图标 / Name: link || icon
254
- # Bilibili: https://space.bilibili.com/1329819902 || sco-bilibili-line
214
+ # Github: https://github.com/efuo || st-github-line # 名称:链接 || 图标 / Name: link || icon
215
+ # Bilibili: https://space.bilibili.com/1329819902 || st-bilibili-line
255
216
 
256
217
  # 二维码
257
218
  # Official account QR code
@@ -265,9 +226,9 @@ aside:
265
226
  # 鼠标悬停翻转图片
266
227
  # Mouse hover flip image
267
228
  backface:
268
- # 背景色:var(--sco-blue) / #000 / rgba(0,0,0,0.5) / linear-gradient(to right,#f65,#ffbf37)
269
- # Background color: var(--sco-blue) / #000 / rgba(0,0,0,0.5) / linear-gradient(to right,#f65,#ffbf37)
270
- backcolor: "var(--sco-blue)"
229
+ # 背景色:var(--efu-blue) / #000 / rgba(0,0,0,0.5) / linear-gradient(to right,#f65,#ffbf37)
230
+ # Background color: var(--efu-blue) / #000 / rgba(0,0,0,0.5) / linear-gradient(to right,#f65,#ffbf37)
231
+ backcolor: "var(--efu-blue)"
271
232
 
272
233
  # 页面目录
273
234
  # Page directory
@@ -297,14 +258,14 @@ aside:
297
258
  # 高亮显示标签列表
298
259
  # Highlighted tag list
299
260
  list:
300
- - "Solitude-使用"
261
+ # - "Solitude"
301
262
 
302
263
  # 侧边栏归档
303
264
  # aside archive
304
265
  archive:
305
266
  enable: false
306
267
  # 显示类型
307
- type: "month" # monthly: 按月 / yearly: 按年 : monthly: by month / yearly: by year
268
+ type: "month" # month: 按月 / year: 按年 : month: by month / year: by year
308
269
 
309
270
  # 建站信息
310
271
  # Website information
@@ -313,13 +274,13 @@ aside:
313
274
  # Number of articles
314
275
  postcount: true
315
276
  # 总字数
316
- # Total number of words
277
+ # The number of words on the web site
317
278
  wordcount: true
318
279
  # 访问量
319
- # Number of visits
280
+ # PV
320
281
  pv: true
321
282
  # 访客数
322
- # Number of visitors
283
+ # UV
323
284
  uv: true
324
285
  # 最后更新日期
325
286
  # Last update date
@@ -331,10 +292,6 @@ aside:
331
292
  # Format: yyyy-MM-dd hh-mm-ss
332
293
  runtime: "2023-04-20 00:00:00"
333
294
 
334
- # -------------------------
335
- # 文章页、页面配置
336
- # post、page settings
337
-
338
295
  # 页面默认设置
339
296
  # page default settings
340
297
  page:
@@ -344,10 +301,8 @@ page:
344
301
  default: # 默认值 / Default value
345
302
  # 默认图片
346
303
  # default cover
347
- # tip:随机数组图片,每次生成的时候都会从中随机抽取一张
348
- # tip: Random array pictures, each time you generate, you will randomly extract one from them
349
304
  cover:
350
- - /img/default.png # 默认图片 / default cover
305
+ # - /img/default.png # 默认图片 / default cover
351
306
 
352
307
  # 文章页默认设置
353
308
  # post default settings
@@ -356,7 +311,7 @@ post:
356
311
  # 文章默认图片
357
312
  # default cover
358
313
  cover:
359
- - /img/default.png # 默认图片 / default cover
314
+ # - /img/default.png # 默认图片 / default cover
360
315
  # 文章发布默认地址
361
316
  # default post locate
362
317
  locate: 衡阳
@@ -370,7 +325,7 @@ post:
370
325
  # Whether to use the shift animation avatar
371
326
  author:
372
327
  enable: false
373
- author_back: https://bu.dusays.com/2023/11/01/6541f6d4b2573.png # 底部头像背景 / Bottom avatar background
328
+ author_back: https://7.isyangs.cn/34/65f2e52b2d91e-34.png # 底部头像背景 / Bottom avatar background
374
329
  # 顶部文章简介
375
330
  # Top article introduction
376
331
  meta:
@@ -387,10 +342,10 @@ post:
387
342
  enable: false
388
343
  # 微信收款码
389
344
  # WeChat payment code
390
- wechat: https://bu.dusays.com/2023/11/07/6549e79364fa3.png
345
+ wechat: https://7.isyangs.cn/34/65f2e5814db1a-34.png
391
346
  # 支付宝收款码
392
347
  # Alipay payment code
393
- alipay: https://bu.dusays.com/2023/11/07/6549e79d02bd6.png
348
+ alipay: https://7.isyangs.cn/34/65f2e5a6d2ef5-34.png
394
349
  # 打赏统计页面链接
395
350
  # Reward statistics page link
396
351
  url: /about
@@ -402,7 +357,7 @@ post:
402
357
  covercolor:
403
358
  enable: false
404
359
  mode: local # local:本地取色 / api:img2color取色 : local: local color / api: img2color color
405
- api: https://img2color.wzsco.top/api?img= # api地址 / api address
360
+ api: https://api.qjqq.cn/api/Imgcolor?img= # api地址 / api address
406
361
  time: 43200000 # api取色间隔(毫秒),默认为12小时 / api color interval (milliseconds), default is 12 hours
407
362
 
408
363
  # -------------------------
@@ -434,6 +389,7 @@ display_mode:
434
389
 
435
390
  # 文章底部推荐文章
436
391
  # Recommended articles at the bottom of the article
392
+ # --------------------------------------
437
393
  related_post:
438
394
  enable: false
439
395
  # 推荐文章数量
@@ -443,10 +399,6 @@ related_post:
443
399
  # According to the creation date (created) or the update date (updated)
444
400
  date_type: created
445
401
 
446
- # -------------------------
447
- # 扩展配置
448
- # extend settings
449
-
450
402
  # --------------------------------------
451
403
  # Footer Settings
452
404
  # 页脚配置
@@ -455,42 +407,39 @@ footer:
455
407
  # Bottom row of icons
456
408
  information:
457
409
  left: # 左侧显示图标
458
- # Github: https://github.com/wleelw || sco-github-line # 名称:链接 || 图标 / Name: link || icon
459
- # Mail: mailto:wleelw@wzsco.top || sco-mail-line
410
+ # Github: https://github.com/efuo || st-github-line # 名称:链接 || 图标 / Name: link || icon
411
+ # Mail: mailto:o@efu.me || st-mail-line
460
412
  right: # 右侧显示图标
461
- # Bilibili: https://space.bilibili.com/1329819902 || sco-bilibili-line
462
- # 抖音: https://v.douyin.com/iJsLc8jt/ || sco-douyin-fill
413
+ # Bilibili: https://space.bilibili.com/1329819902 || st-bilibili-line
414
+ # 抖音: https://v.douyin.com/iJsLc8jt/ || st-douyin-fill
463
415
 
464
416
  # 底部导航栏
465
417
  # Bottom navigation bar
466
418
  group:
467
- # 导航:
468
- # 归档: /archives/
469
- # 分类: /categories/
470
- # 标签: /tags/
471
- # 服务:
472
- # 阿里云: https://aliyun.com/
473
- # 51la统计: https://v6.51.la/
474
- # 百度统计: https://tongji.baidu.com/
475
- # 支持:
476
- # 打赏记录: /about/
477
- # 协议:
478
- # Cookies: /cookies/
479
- # 用户协议: /privacy/
480
- # 版权协议: /copyright/
481
-
482
- # 底部随机友链
483
- # Random links at the bottom
484
- # tip:此处的友链是随机显示的,不是固定的
485
- # tip: The links here are displayed randomly, not fixed
419
+ # 导航:
420
+ # 归档: /archives/
421
+ # 分类: /categories/
422
+ # 标签: /tags/
423
+ # 服务:
424
+ # 阿里云: https://aliyun.com/
425
+ # 51la统计: https://v6.51.la/
426
+ # 百度统计: https://tongji.baidu.com/
427
+ # 支持:
428
+ # 打赏记录: /about/
429
+ # 协议:
430
+ # Cookies: /cookies/
431
+ # 用户协议: /privacy/
432
+ # 版权协议: /copyright/
433
+
434
+ # 页脚随机友链
435
+ # Random links at footer
486
436
  # warning: 打开前必须先配置links
487
437
  # warning: links must be configured before opening
488
438
  randomlink: false
489
439
  # 隐私助手右侧弹窗,填写路径后开启
490
440
  # Privacy assistant right pop-up window, fill in the path to open
491
441
  privacy: # /privacy/
492
- # 版权
493
- # Copyright
442
+ # 版权(Copyright)
494
443
  license: # /license/
495
444
  # 页脚右侧链接,例如:ICP备案号、公安备案号等
496
445
  # Footer right link, such as: ICP filing number, public security filing number, etc.
@@ -498,20 +447,15 @@ footer:
498
447
  # 为了主题能够得到更多的支持,建议保留主题链接
499
448
  # In order for the theme to get more support, it is recommended to keep the theme link
500
449
  - name: 主题
501
- url: https://github.com/wleelw/hexo-theme-solitude
502
- # - name: 订阅
503
- # url: /atom.xml
450
+ url: https://github.com/valor-x/hexo-theme-solitude
451
+ # - name: 订阅
452
+ # url: /atom.xml
504
453
 
505
- # -------------------------
506
- # 扩展页面配置
507
- # extra page settings
508
-
509
- # 404 页面
510
- # 404 page
454
+ # 404 页面(404 page)
511
455
  errorpage:
512
456
  # 图片
513
457
  # image
514
- img: https://bu.dusays.com/2023/03/03/6401a7906aa4a.gif
458
+ img: https://7.isyangs.cn/34/65f2e65eae32a-34.png
515
459
  # 文字
516
460
  # text
517
461
  text: =awa= 页面走丢了
@@ -519,22 +463,20 @@ errorpage:
519
463
  # Recommended article list
520
464
  recommendList: true
521
465
 
522
- # 即刻说说页
523
- # jike says page
524
- # 前置要求:需配置即刻说说页面
525
- # Pre-requirements: Jike says page needs to be configured
526
- # 开启后将显示即刻页面
527
- # After opening, the Jike page will be displayed
466
+ # 即刻短文
467
+ # talk now
468
+ # 前置要求:需配置即刻短文页面
469
+ # Pre-requirements: talk now page needs to be configured
528
470
  says:
529
471
  enable: false
530
472
  # 主页的即刻轮播条
531
- # Jike carousel bar on the homepage
473
+ # Talk carousel bar on the homepage
532
474
  home_mini: false
533
475
  # 1:张洪heo样式 / 2:Leonus样式
534
476
  # 1: Zhang Hong heo style / 2: Leonus style
535
477
  style: 1
536
478
  # 即刻短文仅展示前n条
537
- # Jike short text only shows the first n
479
+ # Talk short text only shows the first n
538
480
  strip: 30
539
481
 
540
482
  # -------------------------
@@ -542,7 +484,7 @@ says:
542
484
  # meeting-api, used for music capsules and music halls in the interface, can customize api, do not move if you don't know.
543
485
  meting_api: "https://meting.qjqq.cn/?server=:server&type=:type&id=:id&auth=:auth&r=:r" #自定义api
544
486
  # 音乐馆页
545
- # music hall
487
+ # music page
546
488
  music:
547
489
  enable: false
548
490
  # 音乐ID:歌单ID / 专辑ID / 歌手ID
@@ -564,25 +506,41 @@ music:
564
506
  # 音乐胶囊
565
507
  # capsule music
566
508
  capsule:
567
- enable: false
568
- id: 8407304077 # 歌单id / playlist id
569
- server: netease # 播放列表的服务商。netease:网易云 / tencent:腾讯 / kugou:酷狗 / xiami:小米 / baidu:百度 : Music service provider. netease: Netease Cloud / tencent: Tencent / kugou: Kugou / xiaomi: Xiaomi / baidu: Baidu
570
- type: playlist # 播放列表的类型。song:单曲 / playlist:歌单 / album:专辑 / artist:歌手 : Type of playlist. song: Single / playlist: Playlist / album: Album / artist: Singer
509
+ enable:
510
+ false
511
+ # 歌单id / playlist id
512
+ id: 8407304077
513
+ # 播放列表的服务商。netease:网易云 / tencent:腾讯 / kugou:酷狗 / xiami:小米 / baidu:百度
514
+ # Music service provider. netease: Netease Cloud / tencent: Tencent / kugou: Kugou / xiaomi: Xiaomi / baidu: Baidu
515
+ server: netease
516
+ # 播放列表的类型。song:单曲 / playlist:歌单 / album:专辑 / artist:歌手
517
+ # Type of playlist. song: Single / playlist: Playlist / album: Album / artist: Singer
518
+ type: playlist
571
519
 
572
520
  # 友链鱼塘
573
521
  # Links fish pond
574
522
  moments:
575
- enable: false # 是否开启鱼塘 / Whether to enable fish pond
576
- api: # https://blog.wzsco.top/circle/ # api地址 / api address
577
- error_img: https://bu.dusays.com/2023/11/08/654af68b25bb8.jpg # 加载失败显示图片 / Loading failed display image
578
- sort_rule: created # 排序规则:created:按创建时间排序 / updated:按更新时间排序 : Sort rule: created: Sort by creation time / updated: Sort by update time
579
- expire_days: 1 # 缓存过期时间(天),默认为1天 / Cache expiration time (days), default is 1 day
580
- page_init_number: 10 # 页面初始化加载数量,默认为10条 / Page initialization loading quantity, default is 10
581
- page_turning_number: 5 # 页面翻页加载数量,默认为5条 / Page turning loading quantity, default is 5
582
- angle: true # 鱼塘随机文章 / Fish pond random article
583
- appjs: https://cdn.cbd.int/solitude-source@1.0.3/js/fcircle.min.js # 鱼塘js / Fish pond js
584
- bundlejs: https://cdn.cbd.int/solitude-source/js/moment/bundle.min.js # 鱼塘js / Fish pond js
585
- randompostjs: https://cdn.cbd.int/solitude-source/js/moment/random_post.min.js # 鱼塘js / Fish pond js
523
+ # enable
524
+ enable: false
525
+ # API 地址
526
+ # example: https://example.com/
527
+ api: # https://example.com/
528
+ # 加载失败显示图片 / Loading failed display image
529
+ error_img: /img/logo.png
530
+ # 排序规则:created:按创建时间排序 / updated:按更新时间排序
531
+ # Sort rule: created: Sort by creation time / updated: Sort by update time
532
+ sort_rule: created
533
+ # 缓存过期时间(天),默认为1天 / Cache expiration time (days), default is 1 day
534
+ expire_days: 1
535
+ # 页面初始化加载数量,默认为10条 / Page initialization loading quantity, default is 10
536
+ page_init_number: 10
537
+ # 页面翻页加载数量,默认为5条 / Page turning loading quantity, default is 5
538
+ page_turning_number: 5
539
+ # 鱼塘随机文章 / Fish pond random article
540
+ angle: false
541
+ appjs: https://cdn.cbd.int/st-source@1.0.3/js/fcircle.min.js
542
+ bundlejs: https://cdn.cbd.int/st-source/js/moment/bundle.min.js
543
+ randompostjs: https://cdn.cbd.int/st-source/js/moment/random_post.min.js
586
544
 
587
545
  # 相册
588
546
  # album
@@ -597,16 +555,12 @@ keyboard:
597
555
  # 键盘控制配置
598
556
  # Keyboard control configuration
599
557
  list:
600
- # name: 按键名称
601
- # name: Key name
602
- # key: 按键
603
- # key: Key
604
- # func: 方法
605
- # func: Function
606
- # sco: sco内置方法
607
- # sco: sco built-in method
608
- # url: 跳转链接
609
- # url: Jump link
558
+ # name: 按键名称(name)
559
+ # key: 按键(Key)
560
+ # func: 方法(function)
561
+ # sco: sco内置方法(sco.'function')
562
+ # url: 跳转链接(link)
563
+ # ------------------
610
564
  # - name: 关闭快捷键功能
611
565
  # key: K
612
566
  # func: keyboard
@@ -662,14 +616,16 @@ hightlight:
662
616
  # warning:开启前下方的fancybox或mediumZoom必须打开一个
663
617
  # warning: One of the fancybox or mediumZoom below must be turned on before turning on
664
618
  lightbox: false
665
-
666
619
  # fancybox
667
620
  # https://fancyapps.com/fancybox/
668
621
  fancybox: false
669
-
670
622
  # mediumZoom
671
623
  mediumZoom: false
672
624
 
625
+ # mermaid
626
+ # https://mermaid.js.org/
627
+ mermaid: false
628
+
673
629
  # 简繁转换
674
630
  # Simplified and Traditional Chinese conversion
675
631
  translate:
@@ -717,8 +673,8 @@ search:
717
673
  # - Solitude
718
674
  # - Hexo
719
675
  algolia:
720
- # hits:
721
- # per_page: 6
676
+ # hits:
677
+ # per_page: 6
722
678
  local:
723
679
  preload: false
724
680
  CDN:
@@ -741,19 +697,20 @@ post_ai:
741
697
  key:
742
698
  # 自介
743
699
  # talk
744
- talk: 我是王卓Sco开发的摘要生成助理ScoGPTScoGPT在静态部署时进行摘要的撰写,并且在访客访问时通过ScoCorrection转译后的文本摘要实现工具。我在这里只负责已经生成的摘要显示,你无法与我直接沟通,但我可以回答一些预设的问题。
700
+ talk: 我是 Efu 开发的摘要生成助理EfuGPTEfuGPT在静态部署时进行摘要的撰写,并且在访客访问时通过EfuCorrection转译后的文本摘要实现工具。我在这里只负责已经生成的摘要显示,你无法与我直接沟通,但我可以回答一些预设的问题。
745
701
  # 随机文章按钮
746
702
  # Random post button
747
703
  randomPost: false
748
704
  # 举报链接,不填不显示
749
705
  # Report link, do not fill in and do not display
750
- report: https://blog.wzsco.top/about/
706
+ report: https://efu.me/
751
707
  # 底部提示
752
708
  # Bottom tip
753
709
  tips: 此内容根据文章生成,并经过人工审核,仅用于文章内容的解释与总结
754
710
 
755
711
  # latex 公式支持
756
712
  # latex formula support
713
+ # docs: https://solitude-docs.efu.me/configuration/extra#数学公式
757
714
  katex:
758
715
  enable: false
759
716
  per_page: false # 是否在每页都加载 / Whether to load on each page
@@ -794,10 +751,10 @@ comment:
794
751
  # 仅需要填写验证代码即可,譬如:codeva-KReTIJu5us
795
752
  # Only need to fill in the verification code, such as: codeva-KReTIJu5us
796
753
  verify_site:
797
- # - name: google-site-verification
798
- # content: xxxxxx
799
- # - name: baidu-site-verification
800
- # content: xxxxxxx
754
+ # - name: google-site-verification
755
+ # content: xxxxxx
756
+ # - name: baidu-site-verification
757
+ # content: xxxxxxx
801
758
 
802
759
  # CSS 前缀
803
760
  # CSS prefix
@@ -813,20 +770,36 @@ css_prefix: false
813
770
  # Insert additional code such as: statistics, advertising, etc.
814
771
  extends:
815
772
  head: # 在head中插入 / Insert in head
816
- # - <script src="https://cdn.bootcdn.net/ajax/libs/pace/1.2.4/pace.min.js"></script>
773
+ # - <script src="https://cdn.bootcdn.net/ajax/libs/pace/1.2.4/pace.min.js"></script>
817
774
  body: # 在body中插入 / Insert in body
818
775
 
819
776
  # PWA
820
777
  # https://developer.mozilla.org/zh-CN/docs/Web/Progressive_web_apps
778
+ # docs: https://solitude-docs.efu.me/configuration/extra#pwa
821
779
  pwa:
822
780
  enable: false
823
781
  manifest: /manifest.json # manifest.json 文件路径
824
- theme_color: "#ffffff" # 主题颜色
825
- mask_icon: https://cdn.cbd.int/solitude-source/img/pwa/180.png # 遮罩图标
826
- apple_touch_icon: https://cdn.cbd.int/solitude-source/img/pwa/180.png # 苹果触摸图标
827
- bookmark_icon: https://cdn.cbd.int/solitude-source/img/pwa/180.png # 书签图标
828
- favicon_32_32: https://cdn.cbd.int/solitude-source/img/pwa/32.png # 32x32图标
829
- favicon_16_16: https://cdn.cbd.int/solitude-source/img/pwa/16.png # 16x16图标
782
+ theme_color: "#006a73" # 主题颜色
783
+ mask_icon: /img/logo.png # 遮罩图标
784
+ apple_touch_icon: /img/logo.png # 苹果触摸图标
785
+ bookmark_icon: /img/logo.png # 书签图标
786
+ favicon_32_32: /img/logo.png # 32x32图标
787
+ favicon_16_16: /img/logo.png # 16x16图标
788
+
789
+ # 谷歌广告 (Google Adsense)
790
+ google_adsense:
791
+ enable: false
792
+ auto_ads: false # 自动广告关闭后则为手动广告 / After auto ads are turned off, it is manual ads
793
+ enable_page_level_ads: true # 页面级广告 / Page-level ads
794
+ js: https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js # 谷歌广告js / Google Adsense js
795
+ # client id
796
+ # 无论是否开启自动广告,都需要填写 client id
797
+ # Whether to enable auto ads or not, you need to fill in the client id
798
+ client: # ca-pub-XXXXXXXXXXXXXX
799
+ # slot id
800
+ # 只有关闭自动广告时才需要填写 slot id,可以在谷歌广告后台 按广告单元中创建广告位后获取
801
+ # Only when auto ads are turned off, you need to fill in the slot id, which can be obtained after creating an ad space in the Google Adsense background according to the ad unit
802
+ slot: # 4236388782
830
803
 
831
804
  # CDN
832
805
  # Don't modify the following settings unless you know how they work
@@ -844,31 +817,29 @@ CDN:
844
817
  version: true
845
818
 
846
819
  # Custom format
847
- # For example: https://cdn.staticfile.org/${cdnjs_name}/${version}/${min_cdnjs_file}
848
- custom_format: https://cdn.staticfile.org/${cdnjs_name}/${version}/${min_cdnjs_file}
820
+ # For example: https://cdn.staticfile.net/${cdnjs_name}/${version}/${min_cdnjs_file}
821
+ custom_format: https://cdn.staticfile.net/${cdnjs_name}/${version}/${min_cdnjs_file}
849
822
 
850
823
  option:
851
- scoicon_css: https://cdn.cbd.int/solitude-source/icon/scoicon.min.css
852
- waterfall: https://cdn.cbd.int/solitude-source/js/waterfall.min.js
853
- universe_js: https://cdn.cbd.int/solitude-source/js/universe.min.js
854
- # algolia_search:
855
- # instantsearch:
856
- # pjax:
857
- # twikoo:
858
- # waline_js:
859
- # waline_css:
860
- # sharejs:
861
- # sharejs_css:
862
- # katex:
863
- # katex_copytex:
864
- # lazyload:
865
- # aplayer_css:
866
- # aplayer_js:
867
- # meting_js:
868
- # pace_js:
869
- # lunr_js:
870
- # swiper_css:
871
- # swiper_js:
872
- # busuanzi_js:
873
- # snackbar_css:
874
- # snackbar_js:
824
+ solitude_css: https://cdn2.codesign.qq.com/icons/7pOrz0WXB5ZWJPX/latest/iconfont.css
825
+ # algolia_search:
826
+ # instantsearch:
827
+ # pjax:
828
+ # twikoo:
829
+ # waline_js:
830
+ # waline_css:
831
+ # sharejs:
832
+ # sharejs_css:
833
+ # katex:
834
+ # katex_copytex:
835
+ # lazyload:
836
+ # aplayer_css:
837
+ # aplayer_js:
838
+ # meting_js:
839
+ # pace_js:
840
+ # lunr_js:
841
+ # swiper_css:
842
+ # swiper_js:
843
+ # busuanzi_js:
844
+ # snackbar_css:
845
+ # snackbar_js: