hexo-theme-solitude 1.4.6 → 1.5.0
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/CONTRIBUTING.md +16 -3
- package/README.md +2 -2
- package/README_EN.md +2 -2
- package/_config.yml +155 -230
- package/languages/en-US.yml +5 -2
- package/languages/zh-CN.yml +5 -2
- package/languages/zh-TW.yml +5 -2
- package/layout/404.pug +2 -2
- package/layout/includes/footer.pug +8 -6
- package/layout/includes/head/config.pug +7 -7
- package/layout/includes/head/opengraph.pug +5 -4
- package/layout/includes/head/pwa.pug +2 -3
- package/layout/includes/inject/body.pug +17 -19
- package/layout/includes/inject/head.pug +3 -2
- package/layout/includes/mixins/pagination.pug +1 -1
- package/layout/includes/nav.pug +3 -3
- package/layout/includes/page/says.pug +44 -7
- package/layout/includes/sidebar.pug +1 -1
- package/layout/includes/widgets/aside/asideInfoCard.pug +4 -3
- package/layout/includes/widgets/home/banner.pug +11 -4
- package/layout/includes/widgets/home/bbTimeList.pug +13 -7
- package/layout/includes/widgets/home/categoryGroup.pug +11 -8
- package/layout/includes/widgets/home/hometop.pug +1 -2
- package/layout/includes/widgets/home/postList.pug +3 -3
- package/layout/includes/widgets/nav/group.pug +13 -0
- package/layout/includes/widgets/nav/menu.pug +20 -16
- package/layout/includes/widgets/page/about/award.pug +1 -1
- package/layout/includes/widgets/page/banner.pug +8 -13
- package/layout/includes/widgets/page/equipment/content.pug +1 -1
- package/layout/includes/widgets/page/links/linksCard.pug +0 -1
- package/layout/includes/widgets/third-party/comments/waline.pug +2 -0
- package/layout/includes/widgets/third-party/news-comment/twikoo.pug +2 -2
- package/layout/includes/widgets/third-party/news-comment/waline.pug +2 -2
- package/layout/includes/widgets/third-party/search/algolia-search.pug +1 -1
- package/layout/includes/widgets/third-party/search/local-search.pug +1 -1
- package/layout/index.pug +6 -6
- package/layout/page.pug +0 -2
- package/package.json +1 -1
- package/plugins.yml +0 -5
- package/scripts/event/init.js +18 -17
- package/scripts/event/welcome.js +1 -1
- package/scripts/generator/gallery.js +29 -27
- package/scripts/helper/getArchiveLength.js +5 -9
- package/scripts/helper/related_post.js +28 -39
- package/scripts/helper/stylus.js +23 -8
- package/source/css/_global/animation.styl +313 -0
- package/source/css/_layout/basic.styl +10 -1
- package/source/css/_layout/header.styl +5 -5
- package/source/css/_layout/index.styl +0 -1
- package/source/css/_page/_about/skills.styl +1 -1
- package/source/css/_page/_home/category-bar.styl +14 -14
- package/source/css/_page/_home/home-top.styl +57 -45
- package/source/css/_page/_home/recent-post.styl +1 -1
- package/source/css/_page/equipment.styl +3 -2
- package/source/css/_page/home.styl +0 -15
- package/source/css/_page/index.styl +0 -2
- package/source/css/_page/links.styl +9 -8
- package/source/css/_page/says.styl +1 -2
- package/source/css/_page/share.styl +30 -67
- package/source/css/_widgets/_aside/index.styl +1 -1
- package/source/css/_widgets/_aside/info.styl +1 -1
- package/source/css/_widgets/_comment/twikoo.styl +4 -6
- package/source/css/_widgets/_comment/waline.styl +435 -72
- package/source/css/_widgets/_extra/console.styl +1 -1
- package/source/css/_widgets/_extra/fullpage.styl +1 -1
- package/source/css/_widgets/_mixins/footer.styl +1 -1
- package/source/css/_widgets/_post/content.styl +1 -11
- package/source/css/_widgets/_post/meta.styl +2 -2
- package/source/css/_widgets/_post/relatedPost.styl +1 -1
- package/source/css/_widgets/_post/tools.styl +1 -1
- package/source/css/_widgets/_search/algolia-search.styl +4 -2
- package/source/css/_widgets/_tags/note.styl +4 -0
- package/source/css/index.styl +0 -1
- package/source/js/comment/twikoo_commentBarrage.js +76 -75
- package/source/js/covercolor/local.js +11 -10
- package/source/js/main.js +27 -35
- package/source/js/music.js +89 -49
- package/layout/includes/page/rss.pug +0 -20
- package/layout/includes/widgets/home/bb/json.pug +0 -25
- package/layout/includes/widgets/home/bb/local.pug +0 -20
- package/layout/includes/widgets/home/bb/memos.pug +0 -28
- package/layout/includes/widgets/nav/left.pug +0 -10
- package/layout/includes/widgets/page/says/json.pug +0 -82
- package/layout/includes/widgets/page/says/local.pug +0 -44
- package/layout/includes/widgets/page/says/memos.pug +0 -111
- package/source/css/_global/animation.css +0 -813
- package/source/css/_page/rss.styl +0 -82
package/CONTRIBUTING.md
CHANGED
@@ -15,8 +15,8 @@
|
|
15
15
|
* 在 GitHub 上 `fork` 到自己的仓库,如 `yife68/Hexo-Theme-Solitude`,然后 `clone` 到本地Hexo主题目录,并设置用户信息。
|
16
16
|
|
17
17
|
```bash
|
18
|
-
$ git clone git@github.com:{your-github-username}/
|
19
|
-
$ cd
|
18
|
+
$ git clone git@github.com:{your-github-username}/hexo-theme-solitude.git themes/solitude
|
19
|
+
$ cd solitude
|
20
20
|
$ git config user.name "yourname"
|
21
21
|
$ git config user.email "your email"
|
22
22
|
```
|
@@ -38,4 +38,17 @@ $ git fetch upstream
|
|
38
38
|
$ git checkout dev
|
39
39
|
$ git rebase upstream/dev
|
40
40
|
$ git push -f origin dev
|
41
|
-
```
|
41
|
+
```
|
42
|
+
|
43
|
+
* 不得添加任何第三方的创作,请自行创作插件并`PR`到 `solitude-pugins` 仓库
|
44
|
+
|
45
|
+
### 插件创作
|
46
|
+
* 插件创作
|
47
|
+
|
48
|
+
```
|
49
|
+
$ git clone git@github.com:{your-github-username}/solitude-plugins.git
|
50
|
+
$ git config user.name "yourname"
|
51
|
+
$ git config user.email "your email"
|
52
|
+
```
|
53
|
+
|
54
|
+
* 根据 `README` 进行添加。
|
package/README.md
CHANGED
@@ -12,9 +12,9 @@
|
|
12
12
|
|
13
13
|

|
14
14
|
|
15
|
-
主题预览: [王卓Sco](https://blog.wzsco.
|
15
|
+
主题预览: [王卓Sco](https://blog.wzsco.cn/) | [Demo](https://solitude.wzsco.cn/)
|
16
16
|
|
17
|
-
主题文档: [中文](https://docs.wzsco.
|
17
|
+
主题文档: [中文](https://docs.wzsco.cn/) | [ English ](https://docs.wzsco.cn/en/)
|
18
18
|
|
19
19
|
主题交流群:`文档内有群二维码和链接`
|
20
20
|
|
package/README_EN.md
CHANGED
@@ -13,9 +13,9 @@
|
|
13
13
|
|
14
14
|

|
15
15
|
|
16
|
-
Theme Preview: [王卓Sco](https://blog.wzsco.
|
16
|
+
Theme Preview: [王卓Sco](https://blog.wzsco.cn/)|[Demo](https://solitude.wzsco.cn/)
|
17
17
|
|
18
|
-
Theme Document: [中文](https://docs.wzsco.
|
18
|
+
Theme Document: [中文](https://docs.wzsco.cn/)|[ English ](https://docs.wzsco.cn/en/)
|
19
19
|
|
20
20
|
Theme discussion group:`The usage document above contains a QR code`
|
21
21
|
|
package/_config.yml
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
---
|
1
2
|
#---------------------------
|
2
3
|
# Hexo Theme Solitude
|
3
4
|
# Author: wleelw(王卓Sco)、yife68(亦封)
|
@@ -45,91 +46,56 @@ nav:
|
|
45
46
|
# 导航栏显示的内容
|
46
47
|
# Content displayed in the navigation bar
|
47
48
|
menu:
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
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
|
60
61
|
|
61
62
|
# 导航栏内容
|
62
63
|
# Navigation bar content
|
63
64
|
# tip:此部分内容是顶部导航栏中间菜单区域
|
64
65
|
# tip: This part of the content is the menu area in the middle of the top navigation bar
|
65
66
|
menu:
|
66
|
-
#
|
67
|
-
#
|
68
|
-
#
|
69
|
-
#
|
70
|
-
#
|
71
|
-
#
|
72
|
-
#
|
73
|
-
#
|
74
|
-
#
|
75
|
-
#
|
76
|
-
#
|
77
|
-
#
|
78
|
-
#
|
79
|
-
#
|
80
|
-
#
|
81
|
-
#
|
82
|
-
# url: /archives/
|
83
|
-
# # 子类名称左侧图标
|
84
|
-
# # Subcategory name left icon
|
85
|
-
# icon: sco-folder-fill
|
86
|
-
# 全部分类:
|
87
|
-
# url: /categories/
|
88
|
-
# icon: sco-checkbox-multiple-blank-fill
|
89
|
-
# 全部标签:
|
90
|
-
# url: /tags/
|
91
|
-
# icon: sco-price-tag-fill
|
92
|
-
# 友链:
|
93
|
-
# url: false
|
94
|
-
# child:
|
95
|
-
# 友情链接:
|
96
|
-
# url: /links/
|
97
|
-
# icon: sco-group-fill
|
98
|
-
# 宝藏博主:
|
99
|
-
# url: javascript:travelling()
|
100
|
-
# icon: sco-gift-fill
|
101
|
-
# 我的:
|
102
|
-
# url: false
|
103
|
-
# child:
|
104
|
-
# 装备:
|
105
|
-
# url: /equipment/
|
106
|
-
# icon: sco-laptop-line
|
107
|
-
# 工具箱:
|
108
|
-
# url: /tlink/
|
109
|
-
# icon: sco-tools-fill
|
110
|
-
# 关于:
|
111
|
-
# url: false
|
112
|
-
# child:
|
113
|
-
# 关于本站:
|
114
|
-
# url: /about/
|
115
|
-
# icon: sco-contacts-fill
|
116
|
-
|
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
|
117
83
|
|
118
84
|
# 导航栏右侧按钮
|
119
85
|
# Button on the right side of the navigation bar
|
120
86
|
# tip:只需填写true和false即可
|
121
87
|
# tip: Just fill in true and false
|
122
88
|
right:
|
123
|
-
random: false
|
124
|
-
console: false
|
89
|
+
random: false # 随机文章跳转 true:开启 / false:关闭 : random post jump true: on / false: off
|
90
|
+
console: false #控制台 true:开启 / false:关闭 : console true: on / false: off
|
125
91
|
# 从左至右
|
126
92
|
# From left to right
|
127
93
|
custom:
|
128
|
-
#
|
129
|
-
#
|
130
|
-
#
|
131
|
-
#
|
132
|
-
#
|
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
|
133
99
|
|
134
100
|
# 首页顶部样式
|
135
101
|
# Home top style
|
@@ -151,61 +117,40 @@ hometop:
|
|
151
117
|
# 轮播icon
|
152
118
|
# Carousel icon
|
153
119
|
icon:
|
154
|
-
# 名字 / Name
|
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
|
-
# Displayed text
|
190
|
-
name: 必看精选
|
191
|
-
# 显示图标
|
192
|
-
# Displayed icon
|
193
|
-
icon: scoicon sco-star-smile-fill
|
194
|
-
# 跳转链接
|
195
|
-
# Jump link
|
196
|
-
url: /tags/精选/
|
197
|
-
# 中间
|
198
|
-
# Middle
|
199
|
-
G2:
|
200
|
-
name: 热门文章
|
201
|
-
icon: scoicon sco-fire-fill
|
202
|
-
url: /categories/热门/
|
203
|
-
# 右侧
|
204
|
-
# Right
|
205
|
-
G3:
|
206
|
-
name: 实用教程
|
207
|
-
icon: scoicon sco-book-mark-fill
|
208
|
-
url: /tags/教程/
|
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)
|
209
154
|
|
210
155
|
# 右侧置顶列表(在文章的front matter中添加“recommend: true”)
|
211
156
|
# Right top list (add "recommend: true" in the front matter of the article)
|
@@ -224,7 +169,7 @@ hometop:
|
|
224
169
|
img: /img/default.png
|
225
170
|
# 阴影颜色
|
226
171
|
# Shadow color
|
227
|
-
color:
|
172
|
+
color: "#ff0000"
|
228
173
|
|
229
174
|
# --------------------------------------
|
230
175
|
# Aside Settings
|
@@ -303,16 +248,10 @@ aside:
|
|
303
248
|
- 🧱 团队小组发动机
|
304
249
|
- 💢 壮汉人狠话不多
|
305
250
|
- 🎮 电竞游戏爱好者
|
251
|
+
# 个人信息卡片底部的小图标,按照例子填写
|
306
252
|
information:
|
307
|
-
#
|
308
|
-
|
309
|
-
# # 图标
|
310
|
-
# icon: scoicon sco-github-line
|
311
|
-
# # 跳转链接
|
312
|
-
# url: https://github.com/wleelw/Hexo-Theme-slitude
|
313
|
-
# Bilibili:
|
314
|
-
# icon: scoicon sco-bilibili-line
|
315
|
-
# url: https://space.bilibili.com/1329819902
|
253
|
+
# Github: https://github.com/wleelw || sco-github-line # 名称:链接 || 图标 / Name: link || icon
|
254
|
+
# Bilibili: https://space.bilibili.com/1329819902 || sco-bilibili-line
|
316
255
|
|
317
256
|
# 二维码
|
318
257
|
# Official account QR code
|
@@ -358,14 +297,14 @@ aside:
|
|
358
297
|
# 高亮显示标签列表
|
359
298
|
# Highlighted tag list
|
360
299
|
list:
|
361
|
-
-
|
300
|
+
- "Solitude-使用"
|
362
301
|
|
363
302
|
# 侧边栏归档
|
364
303
|
# aside archive
|
365
304
|
archive:
|
366
305
|
enable: false
|
367
306
|
# 显示类型
|
368
|
-
type:
|
307
|
+
type: "month" # monthly: 按月 / yearly: 按年 : monthly: by month / yearly: by year
|
369
308
|
|
370
309
|
# 建站信息
|
371
310
|
# Website information
|
@@ -390,7 +329,7 @@ aside:
|
|
390
329
|
runtimeenable: true
|
391
330
|
# 格式:yyyy-MM-dd hh-mm-ss
|
392
331
|
# Format: yyyy-MM-dd hh-mm-ss
|
393
|
-
runtime:
|
332
|
+
runtime: "2023-04-20 00:00:00"
|
394
333
|
|
395
334
|
# -------------------------
|
396
335
|
# 文章页、页面配置
|
@@ -399,7 +338,7 @@ aside:
|
|
399
338
|
# 页面默认设置
|
400
339
|
# page default settings
|
401
340
|
page:
|
402
|
-
error: true
|
341
|
+
error: true # 404页面 / 404 page
|
403
342
|
tags: true # 标签页 / Tags page
|
404
343
|
categories: true # 分类页 / Categories page
|
405
344
|
default: # 默认值 / Default value
|
@@ -476,13 +415,13 @@ post:
|
|
476
415
|
# --------------------------------------
|
477
416
|
theme_color:
|
478
417
|
dark: "#ffc848" # 暗色模式 / Dark mode
|
479
|
-
dark_op:
|
480
|
-
dark_op_deep:
|
481
|
-
dark_none:
|
418
|
+
dark_op: "#f2b94b23" # 暗色模式透明 / Dark mode transparent
|
419
|
+
dark_op_deep: "#f2b94bdd" # 暗色模式透明深色 / Dark mode transparent dark
|
420
|
+
dark_none: "#f2b94b00" # 暗色模式透明无色 / Dark mode transparent colorless
|
482
421
|
light: "#425AEF" # 亮色模式 / Light mode
|
483
|
-
light_op:
|
484
|
-
light_op_deep:
|
485
|
-
light_none:
|
422
|
+
light_op: "#4259ef23" # 亮色模式透明 / Light mode transparent
|
423
|
+
light_op_deep: "#4259efdd" # 亮色模式透明深色 / Light mode transparent dark
|
424
|
+
light_none: "#4259ef01" # 亮色模式透明无色 / Light mode transparent colorless
|
486
425
|
|
487
426
|
# 主题显示模式调整
|
488
427
|
# theme display mode adjustment
|
@@ -515,38 +454,30 @@ footer:
|
|
515
454
|
# 底部上方一排图标
|
516
455
|
# Bottom row of icons
|
517
456
|
information:
|
518
|
-
left: # 左侧显示图标
|
519
|
-
#
|
520
|
-
#
|
521
|
-
|
522
|
-
#
|
523
|
-
#
|
524
|
-
# url: mailto:wleelw@wzsco.top
|
525
|
-
right: # 右侧显示图标 / Right display icon
|
526
|
-
# Bilibili:
|
527
|
-
# icon: scoicon sco-bilibili-line
|
528
|
-
# url: https://space.bilibili.com/1329819902
|
529
|
-
# 抖音:
|
530
|
-
# icon: scoicon sco-douyin-fill
|
531
|
-
# url: https://v.douyin.com/iJsLc8jt/
|
457
|
+
left: # 左侧显示图标
|
458
|
+
# Github: https://github.com/wleelw || sco-github-line # 名称:链接 || 图标 / Name: link || icon
|
459
|
+
# Mail: mailto:wleelw@wzsco.top || sco-mail-line
|
460
|
+
right: # 右侧显示图标
|
461
|
+
# Bilibili: https://space.bilibili.com/1329819902 || sco-bilibili-line
|
462
|
+
# 抖音: https://v.douyin.com/iJsLc8jt/ || sco-douyin-fill
|
532
463
|
|
533
464
|
# 底部导航栏
|
534
465
|
# Bottom navigation bar
|
535
|
-
group:
|
536
|
-
#
|
537
|
-
#
|
538
|
-
#
|
539
|
-
#
|
540
|
-
#
|
541
|
-
#
|
542
|
-
#
|
543
|
-
#
|
544
|
-
#
|
545
|
-
#
|
546
|
-
#
|
547
|
-
#
|
548
|
-
#
|
549
|
-
#
|
466
|
+
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/
|
550
481
|
|
551
482
|
# 底部随机友链
|
552
483
|
# Random links at the bottom
|
@@ -605,12 +536,6 @@ says:
|
|
605
536
|
# 即刻短文仅展示前n条
|
606
537
|
# Jike short text only shows the first n
|
607
538
|
strip: 30
|
608
|
-
# 模式选择。local:本地静态 / json:动态json / memos:动态Memos
|
609
|
-
# Mode selection. Local: local static/JSON: dynamic JSON/memory: dynamic Memos
|
610
|
-
mode: local
|
611
|
-
# 动态模式地址。如为json或memos模式,此项为必填。链接获取以及格式可查看主题文档。
|
612
|
-
# Dynamic mode address. If it is in JSON or Memos mode, this field is mandatory. The link acquisition and format can be viewed in the theme document.
|
613
|
-
mode_link: # https://example.com/api/v1/memo?creatorId=1&tag=says
|
614
539
|
|
615
540
|
# -------------------------
|
616
541
|
# meeting-api,用于界面中的音乐胶囊和音乐馆页,可自定义api,不会请勿动。
|
@@ -682,18 +607,18 @@ keyboard:
|
|
682
607
|
# sco: sco built-in method
|
683
608
|
# url: 跳转链接
|
684
609
|
# url: Jump link
|
685
|
-
#
|
686
|
-
#
|
687
|
-
#
|
688
|
-
#
|
689
|
-
#
|
690
|
-
#
|
691
|
-
#
|
692
|
-
#
|
693
|
-
#
|
694
|
-
#
|
695
|
-
#
|
696
|
-
#
|
610
|
+
# - name: 关闭快捷键功能
|
611
|
+
# key: K
|
612
|
+
# func: keyboard
|
613
|
+
# - name: 打开中控台
|
614
|
+
# key: A
|
615
|
+
# sco: showConsole
|
616
|
+
# - name: 播放/暂停音乐
|
617
|
+
# key: M
|
618
|
+
# sco: musicToggle
|
619
|
+
# - name: 打开友情链接
|
620
|
+
# key: L
|
621
|
+
# url: "/links/"
|
697
622
|
|
698
623
|
# 懒加载
|
699
624
|
# lazyload
|
@@ -760,13 +685,13 @@ translate:
|
|
760
685
|
opengraph:
|
761
686
|
enable: false
|
762
687
|
options:
|
763
|
-
#
|
764
|
-
#
|
765
|
-
#
|
766
|
-
#
|
767
|
-
#
|
768
|
-
#
|
769
|
-
#
|
688
|
+
# twitter_card:
|
689
|
+
# twitter_image:
|
690
|
+
# twitter_id:
|
691
|
+
# twitter_site:
|
692
|
+
# google_plus:
|
693
|
+
# fb_admins:
|
694
|
+
# fb_app_id:
|
770
695
|
|
771
696
|
# 字数统计
|
772
697
|
# word count
|
@@ -843,24 +768,24 @@ comment:
|
|
843
768
|
newComment: false # 最新评论开关 / Latest comment switch
|
844
769
|
# 匿名评论前部分随机信息 / Anonymous comment front random information
|
845
770
|
randomInfoStart:
|
846
|
-
-
|
847
|
-
-
|
848
|
-
-
|
771
|
+
- "聪敏的"
|
772
|
+
- "可爱的"
|
773
|
+
- "美丽的"
|
849
774
|
# 匿名评论后部分随机信息 / Anonymous comment after random information
|
850
775
|
randomInfoEnd:
|
851
|
-
-
|
852
|
-
-
|
853
|
-
-
|
776
|
+
- "白菜"
|
777
|
+
- "小可爱"
|
778
|
+
- "小仙女"
|
854
779
|
# twikoo 配置信息
|
855
780
|
# twikoo settings
|
856
781
|
twikoo: # https://twikoo.js.org/
|
857
782
|
envId: # url: https://twikoo.sondy.top/
|
858
|
-
lang:
|
859
|
-
accessToken:
|
783
|
+
lang: "zh-CN" # 语言
|
784
|
+
accessToken: # accessToken
|
860
785
|
# waline 配置信息
|
861
786
|
# waline settings
|
862
787
|
waline: # https://waline.js.org/
|
863
|
-
envId:
|
788
|
+
envId: # url: https://waline.wzsco.top
|
864
789
|
pageview: true # 是否开启页面访问量统计 / Whether to enable page access statistics
|
865
790
|
option: # waline配置项 / waline configuration item
|
866
791
|
|
@@ -896,7 +821,7 @@ extends:
|
|
896
821
|
pwa:
|
897
822
|
enable: false
|
898
823
|
manifest: /manifest.json # manifest.json 文件路径
|
899
|
-
theme_color:
|
824
|
+
theme_color: "#ffffff" # 主题颜色
|
900
825
|
mask_icon: https://cdn.cbd.int/solitude-source/img/pwa/180.png # 遮罩图标
|
901
826
|
apple_touch_icon: https://cdn.cbd.int/solitude-source/img/pwa/180.png # 苹果触摸图标
|
902
827
|
bookmark_icon: https://cdn.cbd.int/solitude-source/img/pwa/180.png # 书签图标
|
@@ -926,24 +851,24 @@ CDN:
|
|
926
851
|
scoicon_css: https://cdn.cbd.int/solitude-source/icon/scoicon.min.css
|
927
852
|
waterfall: https://cdn.cbd.int/solitude-source/js/waterfall.min.js
|
928
853
|
universe_js: https://cdn.cbd.int/solitude-source/js/universe.min.js
|
929
|
-
#
|
930
|
-
#
|
931
|
-
#
|
932
|
-
#
|
933
|
-
#
|
934
|
-
#
|
935
|
-
#
|
936
|
-
#
|
937
|
-
#
|
938
|
-
#
|
939
|
-
#
|
940
|
-
#
|
941
|
-
#
|
942
|
-
#
|
943
|
-
#
|
944
|
-
#
|
945
|
-
#
|
946
|
-
#
|
947
|
-
#
|
948
|
-
#
|
949
|
-
#
|
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:
|
package/languages/en-US.yml
CHANGED
@@ -75,7 +75,7 @@ search:
|
|
75
75
|
|
76
76
|
head:
|
77
77
|
noscript: Please enable JavaScript to view the site
|
78
|
-
console: 'Program: Hexo | Theme: Hexo-Theme-Solitude | Author: WangZhuoSco、YiFeng | Github: https://github.com/wleelw/Hexo-theme-solitude | Version: v1.
|
78
|
+
console: 'Program: Hexo | Theme: Hexo-Theme-Solitude | Author: WangZhuoSco、YiFeng | Github: https://github.com/wleelw/Hexo-theme-solitude | Version: v1.5.0 😄'
|
79
79
|
|
80
80
|
aside:
|
81
81
|
postcount: 'Posts :'
|
@@ -144,4 +144,7 @@ rightmenu:
|
|
144
144
|
dark: Dark
|
145
145
|
light: Light
|
146
146
|
chs_to_cht: Traditional
|
147
|
-
cht_to_chs: Simplified
|
147
|
+
cht_to_chs: Simplified
|
148
|
+
|
149
|
+
404:
|
150
|
+
button: Back to home
|
package/languages/zh-CN.yml
CHANGED
@@ -75,7 +75,7 @@ search:
|
|
75
75
|
|
76
76
|
head:
|
77
77
|
noscript: 开启JavaScript才能访问本站哦~
|
78
|
-
console: '程序:Hexo | 主题:Hexo-Theme-Solitude | 作者:王卓Sco、亦封 | Github: https://github.com/wleelw/Hexo-theme-solitude | 版本:v1.
|
78
|
+
console: '程序:Hexo | 主题:Hexo-Theme-Solitude | 作者:王卓Sco、亦封 | Github: https://github.com/wleelw/Hexo-theme-solitude | 版本:v1.5.0 😄'
|
79
79
|
|
80
80
|
aside:
|
81
81
|
postcount: '文章总数 :'
|
@@ -144,4 +144,7 @@ rightmenu:
|
|
144
144
|
dark: 深色模式
|
145
145
|
light: 浅色模式
|
146
146
|
chs_to_cht: 轉為繁體
|
147
|
-
cht_to_chs: 转为简体
|
147
|
+
cht_to_chs: 转为简体
|
148
|
+
|
149
|
+
404:
|
150
|
+
button: 返回首页
|
package/languages/zh-TW.yml
CHANGED
@@ -75,7 +75,7 @@ search:
|
|
75
75
|
|
76
76
|
head:
|
77
77
|
noscript: 開啟JavaScript才能訪問本站哦~
|
78
|
-
console: '程式:Hexo |主題:Hexo-Theme-Solitude |作者:王卓Sco、亦封 |Github位址: https://github.com/wleelw/Hexo-theme-solitude |版本:v1.
|
78
|
+
console: '程式:Hexo |主題:Hexo-Theme-Solitude |作者:王卓Sco、亦封 |Github位址: https://github.com/wleelw/Hexo-theme-solitude |版本:v1.5.0 😄'
|
79
79
|
|
80
80
|
aside:
|
81
81
|
postcount: '文章數:'
|
@@ -144,4 +144,7 @@ rightmenu:
|
|
144
144
|
dark: 深色模式
|
145
145
|
light: 淺色模式
|
146
146
|
chs_to_cht: 轉為繁體
|
147
|
-
cht_to_chs: 转为简体
|
147
|
+
cht_to_chs: 转为简体
|
148
|
+
|
149
|
+
404:
|
150
|
+
button: 返回首頁
|
package/layout/404.pug
CHANGED
@@ -3,13 +3,13 @@ extends includes/layout.pug
|
|
3
3
|
block content
|
4
4
|
#error-wrap
|
5
5
|
.error-content
|
6
|
-
.error-img(style
|
6
|
+
.error-img(style=`background-image: url(${url_for(theme.errorpage.img)})`)
|
7
7
|
.error-info
|
8
8
|
h1.error_title 404
|
9
9
|
.error_subtitle= theme.errorpage.text
|
10
10
|
a.button--animated(href="/")
|
11
11
|
i.scoicon.sco-external-link
|
12
|
-
|
12
|
+
=_p('404.button')
|
13
13
|
|
14
14
|
if theme.errorpage.recommendList
|
15
15
|
.aside-list
|