hexo-theme-solitude 2.1.10 → 2.1.12
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 +7 -3
- package/README_en-US.md +7 -3
- package/README_zh-Hant.md +7 -3
- package/SECURITY.md +1 -1
- package/_config.yml +7 -8
- 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/inject/body.pug +1 -1
- package/layout/includes/mixins/pace.pug +10 -0
- package/layout/includes/rightside.pug +1 -1
- package/layout/includes/widgets/aside/asideArchive.pug +7 -1
- package/package.json +3 -3
- package/plugins.yml +4 -3
- package/source/css/_layout/console.styl +8 -8
- package/source/css/_layout/header.styl +4 -0
- package/source/css/_layout/rightside.styl +6 -1
- package/source/css/_page/recentcomment.styl +7 -2
package/README.md
CHANGED
@@ -11,13 +11,17 @@
|
|
11
11
|

|
12
12
|

|
13
13
|
[](https://github.com/everfu/hexo-theme-solitude/stargazers)
|
14
|
-
[](https://www.npmjs.com/package/hexo-theme-solitude)
|
15
16
|
|
16
17
|

|
17
18
|

|
19
|
+

|
18
20
|
|
19
|
-

|
22
|
+

|
24
|
+

|
21
25
|
|
22
26
|
</div>
|
23
27
|
|
package/README_en-US.md
CHANGED
@@ -11,13 +11,17 @@ Theme design fully authorized by [@Zhang Hong Heo](https://github.com/zhheo)
|
|
11
11
|

|
12
12
|

|
13
13
|
[](https://github.com/everfu/hexo-theme-solitude/stargazers)
|
14
|
-
[](https://www.npmjs.com/package/hexo-theme-solitude)
|
15
16
|
|
16
17
|

|
17
18
|

|
19
|
+

|
18
20
|
|
19
|
-

|
22
|
+

|
24
|
+

|
21
25
|
|
22
26
|
</div>
|
23
27
|
|
package/README_zh-Hant.md
CHANGED
@@ -11,13 +11,17 @@
|
|
11
11
|

|
12
12
|

|
13
13
|
[](https://github.com/everfu/hexo-theme-solitude/stargazers)
|
14
|
-
[](https://www.npmjs.com/package/hexo-theme-solitude)
|
15
16
|
|
16
17
|

|
17
18
|

|
19
|
+

|
18
20
|
|
19
|
-

|
22
|
+

|
24
|
+

|
21
25
|
|
22
26
|
</div>
|
23
27
|
|
package/SECURITY.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
## Reporting a Vulnerability
|
4
4
|
|
5
|
-
If you discover a vulnerability, please report it privately through the [GitHub Security tab](https://github.com/everfu/hexo-theme-solitude/security/advisories/new) on the appropriate repository. For detailed instructions, refer to this [documentation](https://docs.github.com/en/code-security/security-advisories/guidance-on-reporting-and-writing-information-about-vulnerabilities/privately-reporting-a-security-vulnerability#privately-reporting-a-security-vulnerability). If you're unable to report via GitHub, you can email us at [o@everfu.
|
5
|
+
If you discover a vulnerability, please report it privately through the [GitHub Security tab](https://github.com/everfu/hexo-theme-solitude/security/advisories/new) on the appropriate repository. For detailed instructions, refer to this [documentation](https://docs.github.com/en/code-security/security-advisories/guidance-on-reporting-and-writing-information-about-vulnerabilities/privately-reporting-a-security-vulnerability#privately-reporting-a-security-vulnerability). If you're unable to report via GitHub, you can email us at [o@everfu.org](mailto:o@everfu.org).
|
6
6
|
|
7
7
|
We take security seriously and will verify and resolve any reported vulnerabilities promptly.
|
8
8
|
|
package/_config.yml
CHANGED
@@ -552,7 +552,7 @@ footer:
|
|
552
552
|
author: false # img url / false
|
553
553
|
left:
|
554
554
|
# Github: https://github.com/everfu || fab fa-github # 名称: 链接 || 图标
|
555
|
-
# Mail: mailto:o@everfu.
|
555
|
+
# Mail: mailto:o@everfu.org || fab fa-envelope
|
556
556
|
right:
|
557
557
|
# Bilibili: https://space.bilibili.com/1329819902 || fab fa-bilibili
|
558
558
|
# Douyin: https://v.douyin.com/iJsLc8jt/ || fab fa-tiktok
|
@@ -574,7 +574,7 @@ footer:
|
|
574
574
|
# 备案
|
575
575
|
beian:
|
576
576
|
# - name: 湘公网安备43048102000175号
|
577
|
-
# icon: https://
|
577
|
+
# icon: https://beian.mps.gov.cn/img/logo01.dd7ff50e.png
|
578
578
|
# url: https://beian.mps.gov.cn/#/query/webSearch
|
579
579
|
# - name: 湘ICP备2024080357号-1
|
580
580
|
# url: https://beian.miit.gov.cn/
|
@@ -603,7 +603,7 @@ errorpage:
|
|
603
603
|
# can only use NetEase Cloud Music, QQ Music and other music platforms supported by the mainland China region,
|
604
604
|
# 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.
|
605
605
|
# Music Page
|
606
|
-
meting_api: "https://meting.
|
606
|
+
meting_api: "https://meting.qjqq.cn/?server=:server&type=:type&id=:id&auth=:auth&r=:r" # Custom API
|
607
607
|
# --------------------------- end ---------------------------
|
608
608
|
|
609
609
|
# --------------------------- start ---------------------------
|
@@ -612,7 +612,7 @@ meting_api: "https://meting.everfu.cn/?server=:server&type=:type&id=:id&auth=:au
|
|
612
612
|
capsule:
|
613
613
|
enable: false
|
614
614
|
# 歌单 ID / 单曲 ID
|
615
|
-
id:
|
615
|
+
id: 5144842535
|
616
616
|
# 服务商:netease / qq / xiami / kugou / baidu
|
617
617
|
server: netease
|
618
618
|
# 类型:playlist / song
|
@@ -889,7 +889,7 @@ search:
|
|
889
889
|
music:
|
890
890
|
enable: false
|
891
891
|
# 歌单 ID / 单曲 ID
|
892
|
-
id:
|
892
|
+
id: 5144842535
|
893
893
|
# 服务商:netease / qq / xiami / kugou / baidu
|
894
894
|
server: netease
|
895
895
|
# 类型:playlist / song
|
@@ -933,7 +933,6 @@ recent_comments:
|
|
933
933
|
limit: 50 # ⚠️waline 仅支持最大50条评论 / ⚠️waline only supports a maximum of 50 comments
|
934
934
|
cache: 0.2 # 1 = 1天 / 1 = 1 day
|
935
935
|
page: /recentcomments/ # 最近评论页面 / recent comments page
|
936
|
-
img: /img/recent_c.avif # 中控台显示图片(不填不显示) / image displayed in the console
|
937
936
|
# --------------------------- end ---------------------------
|
938
937
|
|
939
938
|
# --------------------------- start ---------------------------
|
@@ -993,9 +992,9 @@ google_adsense:
|
|
993
992
|
# 非必要请勿修改
|
994
993
|
CDN:
|
995
994
|
internal: local # local / cdnjs / jsdelivr / unpkg / custom
|
996
|
-
third_party:
|
995
|
+
third_party: custom # cdnjs / jsdelivr / unpkg / custom
|
997
996
|
version: true # 是否使用版本号
|
998
|
-
custom_format:
|
997
|
+
custom_format: https://fastly.jsdelivr.net/npm/${name}@${version}/${min_file} # 自定义格式
|
999
998
|
# 直接覆盖默认 CDN 链接(优先级最高)
|
1000
999
|
options:
|
1001
1000
|
# algolia_search:
|
package/languages/default.yml
CHANGED
package/languages/en.yml
CHANGED
package/languages/zh-CN.yml
CHANGED
package/languages/zh-TW.yml
CHANGED
@@ -8,4 +8,10 @@ ul.card-archive-list
|
|
8
8
|
span.card-archive-list-date= key
|
9
9
|
.card-archive-list-count-group
|
10
10
|
span.card-archive-list-count= value
|
11
|
-
span.card-archive-list-count-unit= __('console.archive_unit')
|
11
|
+
span.card-archive-list-count-unit= __('console.archive_unit')
|
12
|
+
li.card-archive-list-item
|
13
|
+
a.card-archive-list-link(href='/archives/')
|
14
|
+
span.card-archive-list-date= __('console.archive_all')
|
15
|
+
.card-archive-list-count-group
|
16
|
+
span.card-archive-list-count= site.posts.length
|
17
|
+
span.card-archive-list-count-unit= __('console.archive_unit')
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "hexo-theme-solitude",
|
3
|
-
"version": "2.1.
|
3
|
+
"version": "2.1.12",
|
4
4
|
"description": "A beautiful, powerful, and efficient Hexo theme developed by everfu.",
|
5
5
|
"main": "package.json",
|
6
6
|
"scripts": {
|
@@ -25,9 +25,9 @@
|
|
25
25
|
},
|
26
26
|
"bugs": {
|
27
27
|
"url": "https://github.com/everfu/hexo-theme-solitude/issues",
|
28
|
-
"email": "o@everfu.
|
28
|
+
"email": "o@everfu.org"
|
29
29
|
},
|
30
30
|
"homepage": "https://solitude.js.org",
|
31
|
-
"author": "Hexo-Theme-Solitude<o@everfu.
|
31
|
+
"author": "Hexo-Theme-Solitude<o@everfu.org>",
|
32
32
|
"license": "MIT"
|
33
33
|
}
|
package/plugins.yml
CHANGED
@@ -86,9 +86,10 @@ snackbar:
|
|
86
86
|
file: dist/snackbar.min.js
|
87
87
|
version: 0.1.16
|
88
88
|
fontawesome:
|
89
|
-
name:
|
89
|
+
name: '@fortawesome/fontawesome-free'
|
90
90
|
file: css/all.min.css
|
91
|
-
version: 6.
|
91
|
+
version: 6.7.1
|
92
|
+
other_name: font-awesome
|
92
93
|
medium_zoom:
|
93
94
|
name: medium-zoom
|
94
95
|
file: dist/medium-zoom.min.js
|
@@ -114,7 +115,7 @@ chart_js:
|
|
114
115
|
other_name: Chart.js
|
115
116
|
typeit_js:
|
116
117
|
name: typeit
|
117
|
-
file: index.umd.min.js
|
118
|
+
file: dist/index.umd.min.js
|
118
119
|
version: 8.8.7
|
119
120
|
other_name: typeit
|
120
121
|
blueimp_md5:
|
@@ -34,7 +34,6 @@
|
|
34
34
|
transform translateY(20px)
|
35
35
|
transition .3s
|
36
36
|
max-width 1400px
|
37
|
-
min-width 1000px
|
38
37
|
|
39
38
|
+maxWidth1300()
|
40
39
|
justify-content center
|
@@ -58,7 +57,7 @@
|
|
58
57
|
width 40%
|
59
58
|
height 100%
|
60
59
|
|
61
|
-
+
|
60
|
+
+maxWidth900()
|
62
61
|
display none
|
63
62
|
|
64
63
|
.console-card-group-right
|
@@ -69,8 +68,8 @@
|
|
69
68
|
width 60%
|
70
69
|
overflow hidden
|
71
70
|
|
72
|
-
+
|
73
|
-
|
71
|
+
+maxWidth900()
|
72
|
+
width 100%
|
74
73
|
|
75
74
|
.console-card
|
76
75
|
background var(--efu-maskbg)
|
@@ -134,8 +133,8 @@
|
|
134
133
|
width fit-content
|
135
134
|
|
136
135
|
.console-btn-item
|
137
|
-
width
|
138
|
-
height
|
136
|
+
width 80px
|
137
|
+
height 40px
|
139
138
|
transition .3s
|
140
139
|
cursor pointer
|
141
140
|
|
@@ -162,7 +161,8 @@
|
|
162
161
|
align-items center
|
163
162
|
justify-content center
|
164
163
|
color var(--efu-fontcolor)
|
165
|
-
transition
|
164
|
+
transition .3s
|
165
|
+
box-shadow var(--efu-shadow-border)
|
166
166
|
|
167
167
|
i
|
168
168
|
font-size 1rem
|
@@ -254,7 +254,7 @@
|
|
254
254
|
gap .5rem
|
255
255
|
|
256
256
|
li.card-archive-list-item
|
257
|
-
flex 0 1
|
257
|
+
flex 0 1 calc(25% - .375rem)
|
258
258
|
|
259
259
|
.card-archive-list-link
|
260
260
|
border-radius 8px
|
@@ -6,6 +6,11 @@ if hexo-config('rightside.enable')
|
|
6
6
|
z-index: 1000
|
7
7
|
opacity: 0
|
8
8
|
transition: all .5s
|
9
|
+
&.needEndHide
|
10
|
+
display block!important
|
11
|
+
&.hide.needEndHide
|
12
|
+
bottom 0!important
|
13
|
+
transform: none !important
|
9
14
|
|
10
15
|
button
|
11
16
|
display: block
|
@@ -19,7 +24,7 @@ if hexo-config('rightside.enable')
|
|
19
24
|
font-size: 16px
|
20
25
|
|
21
26
|
&.pc
|
22
|
-
display:
|
27
|
+
display: block
|
23
28
|
+maxWidth900()
|
24
29
|
display: none
|
25
30
|
|
@@ -5,6 +5,10 @@ div.console_recentcomments
|
|
5
5
|
min-height 100px
|
6
6
|
width 100%
|
7
7
|
|
8
|
+
+maxWidth1300()
|
9
|
+
overflow-y scroll
|
10
|
+
scrollbar-width none
|
11
|
+
|
8
12
|
.comment-card
|
9
13
|
position relative
|
10
14
|
width calc(100% / 3 - 8px)
|
@@ -22,8 +26,9 @@ div.console_recentcomments
|
|
22
26
|
.console-card &
|
23
27
|
width calc(100% / 2 - 8px)
|
24
28
|
|
25
|
-
+
|
26
|
-
width
|
29
|
+
+maxWidth1300()
|
30
|
+
min-width 100%
|
31
|
+
height calc(100% / 3 - 8px)
|
27
32
|
|
28
33
|
+maxWidth768()
|
29
34
|
width 100%
|