hexo-theme-solitude 2.0.8 → 2.0.9

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/_config.yml CHANGED
@@ -421,7 +421,7 @@ related_post:
421
421
  footer:
422
422
  # Information social icon
423
423
  information:
424
- author: false # enable site.icon in footer
424
+ author: false # img url / false
425
425
  left:
426
426
  # Github: https://github.com/everfu || fab fa-github # Name: link || icon
427
427
  # Mail: mailto:o@efu.me || fab fa-envelope
@@ -13,8 +13,8 @@ if theme.post.footer.enable && is_post()
13
13
  if theme.post.footer.button.enable
14
14
  a.footer-bar-link(href=url_for(theme.post.footer.button.url))= theme.post.footer.button.name
15
15
  div#footer_deal
16
- - var leftInfo = information.left
17
- - var rightInfo = information.right
16
+ - var leftInfo = information.left || []
17
+ - var rightInfo = information.right || []
18
18
 
19
19
  each value, label in leftInfo
20
20
  - var array = value.split('||')
@@ -31,7 +31,7 @@ div#footer_deal
31
31
  i.solitude(class=array[1])
32
32
  div#st-footer
33
33
 
34
- each value, x in group
34
+ each value, x in group || []
35
35
  div.footer-group
36
36
  h3.footer-title= x
37
37
  div.footer-links
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hexo-theme-solitude",
3
- "version": "2.0.8",
3
+ "version": "2.0.9",
4
4
  "description": "A beautiful, powerful, and efficient Hexo theme developed by EverFu.",
5
5
  "main": "package.json",
6
6
  "scripts": {