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 CHANGED
@@ -11,13 +11,17 @@
11
11
  ![npm package](https://img.shields.io/npm/v/hexo-theme-solitude)
12
12
  ![license](https://img.shields.io/github/license/everfu/hexo-theme-solitude?color=FF5531)
13
13
  [![Stars](https://img.shields.io/github/stars/everfu/hexo-theme-solitude)](https://github.com/everfu/hexo-theme-solitude/stargazers)
14
- [![NPM all downloads](https://img.shields.io/npm/dy/hexo-theme-solitude?color=white)](https://www.npmjs.com/package/hexo-theme-solitude)
14
+ [![NPM all downloads](https://img.shields.io/npm/d18m/hexo-theme-solitude
15
+ )](https://www.npmjs.com/package/hexo-theme-solitude)
15
16
 
16
17
  ![hexo version](https://img.shields.io/badge/hexo-7.0.0+-blue?logo=hexo&logoColor=white)
17
18
  ![node version](https://img.shields.io/badge/node-14.0.0+-white?logo=node.js&logoColor=white)
19
+ ![JetBrains](https://img.shields.io/badge/jetbrains-support-white?logo=jetbrains)
18
20
 
19
- ![page view](https://komarev.com/ghpvc/?username=hexo-theme-solitude&abbreviated=true)
20
- ![JetBrains](https://img.shields.io/badge/jetbrains-support-black?logo=jetbrains)
21
+ ![page view](https://komarev.com/ghpvc/?username=hexo-theme-solitude&color=blue)
22
+ ![jsdelivr](https://img.shields.io/jsdelivr/npm/hd/hexo-theme-solitude
23
+ )
24
+ ![npm publish](https://img.shields.io/github/actions/workflow/status/everfu/hexo-theme-solitude/npm-publish.yml)
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
  ![npm package](https://img.shields.io/npm/v/hexo-theme-solitude)
12
12
  ![license](https://img.shields.io/github/license/everfu/hexo-theme-solitude?color=FF5531)
13
13
  [![Stars](https://img.shields.io/github/stars/everfu/hexo-theme-solitude)](https://github.com/everfu/hexo-theme-solitude/stargazers)
14
- [![NPM all downloads](https://img.shields.io/npm/dy/hexo-theme-solitude?color=white)](https://www.npmjs.com/package/hexo-theme-solitude)
14
+ [![NPM all downloads](https://img.shields.io/npm/d18m/hexo-theme-solitude
15
+ )](https://www.npmjs.com/package/hexo-theme-solitude)
15
16
 
16
17
  ![hexo version](https://img.shields.io/badge/hexo-7.0.0+-blue?logo=hexo&logoColor=white)
17
18
  ![node version](https://img.shields.io/badge/node-14.0.0+-white?logo=node.js&logoColor=white)
19
+ ![JetBrains](https://img.shields.io/badge/jetbrains-support-white?logo=jetbrains)
18
20
 
19
- ![page view](https://komarev.com/ghpvc/?username=hexo-theme-solitude&abbreviated=true)
20
- ![JetBrains](https://img.shields.io/badge/jetbrains-support-black?logo=jetbrains)
21
+ ![page view](https://komarev.com/ghpvc/?username=hexo-theme-solitude&color=blue)
22
+ ![jsdelivr](https://img.shields.io/jsdelivr/npm/hd/hexo-theme-solitude
23
+ )
24
+ ![npm publish](https://img.shields.io/github/actions/workflow/status/everfu/hexo-theme-solitude/npm-publish.yml)
21
25
 
22
26
  </div>
23
27
 
package/README_zh-Hant.md CHANGED
@@ -11,13 +11,17 @@
11
11
  ![npm package](https://img.shields.io/npm/v/hexo-theme-solitude)
12
12
  ![license](https://img.shields.io/github/license/everfu/hexo-theme-solitude?color=FF5531)
13
13
  [![Stars](https://img.shields.io/github/stars/everfu/hexo-theme-solitude)](https://github.com/everfu/hexo-theme-solitude/stargazers)
14
- [![NPM all downloads](https://img.shields.io/npm/dy/hexo-theme-solitude?color=white)](https://www.npmjs.com/package/hexo-theme-solitude)
14
+ [![NPM all downloads](https://img.shields.io/npm/d18m/hexo-theme-solitude
15
+ )](https://www.npmjs.com/package/hexo-theme-solitude)
15
16
 
16
17
  ![hexo version](https://img.shields.io/badge/hexo-7.0.0+-blue?logo=hexo&logoColor=white)
17
18
  ![node version](https://img.shields.io/badge/node-14.0.0+-white?logo=node.js&logoColor=white)
19
+ ![JetBrains](https://img.shields.io/badge/jetbrains-support-white?logo=jetbrains)
18
20
 
19
- ![page view](https://komarev.com/ghpvc/?username=hexo-theme-solitude&abbreviated=true)
20
- ![JetBrains](https://img.shields.io/badge/jetbrains-support-black?logo=jetbrains)
21
+ ![page view](https://komarev.com/ghpvc/?username=hexo-theme-solitude&color=blue)
22
+ ![jsdelivr](https://img.shields.io/jsdelivr/npm/hd/hexo-theme-solitude
23
+ )
24
+ ![npm publish](https://img.shields.io/github/actions/workflow/status/everfu/hexo-theme-solitude/npm-publish.yml)
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.cn](mailto:o@everfu.cn).
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.cn || fab fa-envelope
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://ui.everfu.cn/28399dd1b7b415efb0b3d822c31f59af.png/cover
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.everfu.cn/?server=:server&type=:type&id=:id&auth=:auth&r=:r" # Custom API
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: 8407304077
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: 1994908354
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: cdnjs # cdnjs / jsdelivr / unpkg / custom
995
+ third_party: custom # cdnjs / jsdelivr / unpkg / custom
997
996
  version: true # 是否使用版本号
998
- custom_format: //open.lightxi.com/cdnjs/ajax/libs/${cdnjs_name}/${version}/${min_cdnjs_file} # 自定义格式
997
+ custom_format: https://fastly.jsdelivr.net/npm/${name}@${version}/${min_file} # 自定义格式
999
998
  # 直接覆盖默认 CDN 链接(优先级最高)
1000
999
  options:
1001
1000
  # algolia_search:
@@ -131,6 +131,7 @@ console:
131
131
  switch_keyboard: 键盘快捷键
132
132
  switch_music: 音乐开关
133
133
  archive_unit: 篇
134
+ archive_all: 全部文章
134
135
  recent_comment_more: 最近评论
135
136
  newest_comment:
136
137
  image: 图片
package/languages/en.yml CHANGED
@@ -131,6 +131,7 @@ console:
131
131
  switch_keyboard: Keyboard operation
132
132
  switch_music: Music switch
133
133
  archive_unit: Posts
134
+ archive_all: All posts
134
135
  recent_comment_more: Recent comments
135
136
  newest_comment:
136
137
  image: Image
@@ -131,6 +131,7 @@ console:
131
131
  switch_keyboard: 键盘快捷键
132
132
  switch_music: 音乐开关
133
133
  archive_unit: 篇
134
+ archive_all: 全部文章
134
135
  recent_comment_more: 最近评论
135
136
  newest_comment:
136
137
  image: 图片
@@ -131,6 +131,7 @@ console:
131
131
  switch_keyboard: 鍵盤快捷鍵
132
132
  switch_music: 音樂開關
133
133
  archive_unit: 篇
134
+ archive_all: 全部文章
134
135
  recent_comment_more: 最近評論
135
136
  newest_comment:
136
137
  image: 圖片
@@ -82,7 +82,7 @@ div
82
82
  script(src=url_for(theme.cdn.cover_ave))
83
83
 
84
84
  if theme.loading.pace
85
- script(src=url_for(theme.cdn.pace_js))
85
+ include ../mixins/pace.pug
86
86
 
87
87
  if theme.search.enable && theme.search.type === "algolia"
88
88
  script(src=url_for(theme.cdn.instantsearch))
@@ -0,0 +1,10 @@
1
+ script.
2
+ window.paceOptions = {
3
+ restartOnPushState: false
4
+ }
5
+
6
+ utils.addGlobalFn('pjaxSend', () => {
7
+ Pace.restart()
8
+ }, 'pace_restart')
9
+
10
+ script(src=url_for(theme.cdn.pace_js))
@@ -1,3 +1,3 @@
1
- #rightside
1
+ #rightside.needEndHide
2
2
  include ./widgets/rightside/hide
3
3
  include ./widgets/rightside/show
@@ -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.10",
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.cn"
28
+ "email": "o@everfu.org"
29
29
  },
30
30
  "homepage": "https://solitude.js.org",
31
- "author": "Hexo-Theme-Solitude<o@everfu.cn>",
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: font-awesome
89
+ name: '@fortawesome/fontawesome-free'
90
90
  file: css/all.min.css
91
- version: 6.6.0
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
- +maxWidth1300()
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
- +maxWidth1300()
73
- display none
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 60px
138
- height 60px
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 all .3s
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 24.101%
257
+ flex 0 1 calc(25% - .375rem)
258
258
 
259
259
  .card-archive-list-link
260
260
  border-radius 8px
@@ -279,6 +279,10 @@
279
279
  opacity 1
280
280
  transition .3s
281
281
  line-height 1
282
+ width 70%
283
+ overflow hidden
284
+ text-overflow ellipsis
285
+ white-space nowrap
282
286
 
283
287
  &:hover
284
288
  &:after
@@ -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: blok
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
- +maxWidth900()
26
- width calc(100% / 2 - 6px)
29
+ +maxWidth1300()
30
+ min-width 100%
31
+ height calc(100% / 3 - 8px)
27
32
 
28
33
  +maxWidth768()
29
34
  width 100%