hexo-theme-solitude 2.0.6 → 2.0.7

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.
@@ -39,15 +39,18 @@
39
39
  .author-info__desc!= config.subtitle
40
40
 
41
41
  .card-info__data.is-center
42
- a(href=url_for('/archives/') title=_p('aside.card.posts') + site.posts.length)
43
- .length-num= site.posts.length
44
- .headline= _p('page.archives')
45
- a(href=url_for('/tags/') title=_p('aside.card.tags') + site.tags.length)
46
- .length-num= site.tags.length
47
- .headline= _p('page.tag')
48
- a(href=url_for('/categories/') title=_p('aside.card.categories') + site.categories.length)
49
- .length-num= site.categories.length
50
- .headline= _p('page.category')
42
+ if site.posts.length !== 0
43
+ a(href=url_for('/archives/') title=_p('aside.card.posts') + site.posts.length)
44
+ .length-num= site.posts.length
45
+ .headline= _p('page.archives')
46
+ if site.tags.length !== 0 && theme.page.tags
47
+ a(href=url_for('/tags/') title=_p('aside.card.tags') + site.tags.length)
48
+ .length-num= site.tags.length
49
+ .headline= _p('page.tag')
50
+ if site.categories.length !== 0 && theme.page.categories
51
+ a(href=url_for('/categories/') title=_p('aside.card.categories') + site.categories.length)
52
+ .length-num= site.categories.length
53
+ .headline= _p('page.category')
51
54
 
52
55
  .card-info-social-icons.is-center
53
56
  each value, label in theme.aside.card.information || {}
@@ -83,4 +86,4 @@
83
86
  .headline= _p('page.category')
84
87
  .card-info__desc_group
85
88
  .author-info__description!= theme.aside.card.content
86
- .author-info__description2!= theme.aside.card.content2
89
+ .author-info__description2!= theme.aside.card.content2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hexo-theme-solitude",
3
- "version": "2.0.6",
3
+ "version": "2.0.7",
4
4
  "description": "A beautiful, powerful, and efficient Hexo theme developed by EverFu.",
5
5
  "main": "package.json",
6
6
  "scripts": {
package/plugins.yml CHANGED
@@ -5,7 +5,7 @@ algolia_search:
5
5
  instantsearch:
6
6
  name: instantsearch.js
7
7
  file: dist/instantsearch.production.min.js
8
- version: 4.73.2
8
+ version: 4.73.3
9
9
  pjax:
10
10
  name: pjax
11
11
  file: pjax.min.js
@@ -119,4 +119,4 @@ qrcode:
119
119
  name: qrcodejs
120
120
  file: qrcode.min.js
121
121
  version: 1.0.0
122
- other_name: qrcodejs
122
+ other_name: qrcodejs
@@ -182,7 +182,7 @@
182
182
  &:hover
183
183
  label
184
184
  i
185
- background var(--efu-white)
185
+ background var(--efu-card-bg)
186
186
 
187
187
  .left
188
188
  width .5rem
@@ -25,7 +25,7 @@
25
25
  .recent-post-group
26
26
  display flex
27
27
  flex-direction row
28
- justify-content space-between
28
+ justify-content start
29
29
  flex-wrap wrap
30
30
  align-content space-between
31
31
  gap .5rem
@@ -80,7 +80,6 @@
80
80
  display flex
81
81
  flex-direction column
82
82
  width calc(100% / 3 - 0.5rem)
83
- min-width 200px
84
83
  align-items flex-start
85
84
  background var(--efu-card-bg)
86
85
  border-radius 12px
@@ -34,14 +34,14 @@
34
34
  margin-bottom 8px
35
35
 
36
36
  .search-close-button
37
- color var(--efu-secondtext)
37
+ position absolute
38
+ top 0.8rem
39
+ right 1rem
40
+ color var(--efu-gray)
38
41
  font-size 1.4em
39
42
  line-height 1
40
43
  cursor pointer
41
- padding 4px
42
- border-radius 50px
43
- margin-left 4px
44
- transition .3s
44
+ transition color .2s ease-in-out 0s
45
45
 
46
46
  &:hover
47
47
  color var(--efu-main)
@@ -172,4 +172,4 @@
172
172
  color var(--efu-white)
173
173
 
174
174
  .ais-Pagination-item--selected a
175
- background var(--efu-main)
175
+ background var(--efu-main)