hexo-theme-solitude 1.13.4 → 2.0.2

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.
Files changed (72) hide show
  1. package/README.md +26 -29
  2. package/README_zh-Hant.md +1 -1
  3. package/{README_en-US.md → README_zh_CN.md} +29 -26
  4. package/_config.yml +150 -597
  5. package/languages/default.yml +1 -0
  6. package/languages/en.yml +1 -0
  7. package/layout/404.pug +1 -1
  8. package/layout/includes/console.pug +7 -7
  9. package/layout/includes/footer.pug +6 -6
  10. package/layout/includes/head/config.pug +5 -5
  11. package/layout/includes/inject/body.pug +1 -0
  12. package/layout/includes/inject/head.pug +1 -1
  13. package/layout/includes/mixins/articleSort.pug +3 -1
  14. package/layout/includes/mixins/pagination.pug +2 -2
  15. package/layout/includes/nav.pug +2 -1
  16. package/layout/includes/page/categories.pug +3 -2
  17. package/layout/includes/page/says.pug +5 -5
  18. package/layout/includes/page/tags.pug +3 -2
  19. package/layout/includes/rightmenu.pug +19 -20
  20. package/layout/includes/sidebar.pug +1 -1
  21. package/layout/includes/widgets/aside/asideInfoCard.pug +1 -1
  22. package/layout/includes/widgets/aside/asideNewestPost.pug +1 -1
  23. package/layout/includes/widgets/aside/asideNewstComments.pug +2 -2
  24. package/layout/includes/widgets/aside/asideToc.pug +1 -1
  25. package/layout/includes/widgets/aside/asideWebInfo.pug +10 -10
  26. package/layout/includes/widgets/home/bbTimeList.pug +7 -9
  27. package/layout/includes/widgets/home/carousel.pug +3 -1
  28. package/layout/includes/widgets/home/categoryBar.pug +1 -1
  29. package/layout/includes/widgets/home/hot/artalk.pug +1 -1
  30. package/layout/includes/widgets/home/hot/twikoo.pug +1 -1
  31. package/layout/includes/widgets/home/postList.pug +4 -2
  32. package/layout/includes/widgets/home/topGroup.pug +1 -1
  33. package/layout/includes/widgets/nav/right.pug +9 -5
  34. package/layout/includes/widgets/page/about/award.pug +1 -1
  35. package/layout/includes/widgets/page/about/hobbies.pug +1 -1
  36. package/layout/includes/widgets/page/about/other.pug +1 -1
  37. package/layout/includes/widgets/page/banner.pug +1 -1
  38. package/layout/includes/widgets/page/equipment/content.pug +1 -1
  39. package/layout/includes/widgets/page/links/banner.pug +2 -2
  40. package/layout/includes/widgets/page/recentcomment/artalk.pug +1 -1
  41. package/layout/includes/widgets/page/recentcomment/twikoo.pug +1 -1
  42. package/layout/includes/widgets/page/recentcomment/valine.pug +1 -1
  43. package/layout/includes/widgets/page/recentcomment/waline.pug +1 -1
  44. package/layout/includes/widgets/post/award.pug +1 -1
  45. package/layout/includes/widgets/post/copyright.pug +10 -10
  46. package/layout/includes/widgets/post/post-ai.pug +1 -1
  47. package/layout/includes/widgets/post/postInfo.pug +20 -18
  48. package/layout/includes/widgets/third-party/comments/comment.pug +4 -4
  49. package/layout/includes/widgets/third-party/search/algolia-search.pug +1 -4
  50. package/layout/includes/widgets/third-party/search/local-search.pug +1 -1
  51. package/layout/includes/widgets/third-party/tianli-talk.pug +1 -1
  52. package/layout/post.pug +3 -2
  53. package/layout/tag.pug +3 -2
  54. package/package.json +1 -1
  55. package/plugins.yml +6 -6
  56. package/scripts/helper/related_post.js +1 -1
  57. package/scripts/helper/stylus.js +1 -0
  58. package/source/css/_global/index.styl +13 -13
  59. package/source/css/_highlight/index.styl +2 -2
  60. package/source/css/_highlight/theme/default.styl +1 -1
  61. package/source/css/_highlight/theme/mac.styl +1 -1
  62. package/source/css/_layout/console.styl +2 -1
  63. package/source/css/_layout/footer.styl +1 -1
  64. package/source/css/_layout/header.styl +66 -21
  65. package/source/css/_page/_home/category-bar.styl +4 -4
  66. package/source/css/_page/_home/home-top.styl +2 -0
  67. package/source/css/_page/_home/hot-tip.styl +2 -1
  68. package/source/css/_post/copyright.styl +104 -105
  69. package/source/css/_search/algolia-search.styl +0 -6
  70. package/source/js/covercolor/local.js +10 -4
  71. package/source/js/main.js +5 -5
  72. package/source/js/tw_cn.js +0 -3
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- 简体中文丨[繁体中文](README_zh-Hant.md)丨[English](README_en-US.md)
1
+ English丨[简体中文](README_zh_CN.md)丨[繁体中文](README_zh-Hant.md)
2
2
 
3
3
  <div align="center">
4
4
 
@@ -6,10 +6,10 @@
6
6
 
7
7
  <h1>Hexo Theme Solitude</h1>
8
8
 
9
- 一款优雅的 Hexo 主题,支持懒加载、PWALatex 以及多种评论系统。
10
-
11
- 主题设计由 [@张洪Heo](https://github.com/zhheo) 全权授权
9
+ An elegant Hexo theme that supports lazy loading, PWA, Latex, and multiple comment systems.
12
10
 
11
+ Theme design is fully licensed by [@张洪Heo](https://github.com/zhheo).
12
+
13
13
  <a href="https://polar.sh/everfu"><img src="https://polar.sh/embed/seeks-funding-shield.svg?org=everfu" /></a>
14
14
 
15
15
  ![npm package](https://img.shields.io/npm/v/hexo-theme-solitude?logo=npm)
@@ -31,55 +31,52 @@
31
31
  [![gitee](https://img.shields.io/badge/Gitee-red?logo=gitee)](https://gitee.com/nsjjd_w/hexo-theme-solitude)
32
32
  [![gitlab](https://img.shields.io/badge/GitLab-blue?logo=gitlab)](https://gitlab.com/efu/hexo-theme-solitude)
33
33
 
34
- [文档](https://solitude.js.org/)丨[预览](https://everfu.github.io/Solitude/)
34
+ [Documentation](https://solitude.js.org/)丨[Preview](https://everfu.github.io/Solitude/)
35
35
 
36
36
  </div>
37
37
 
38
38
  ![Screenshot](.github/screenshot.avif)
39
39
 
40
- ## 特性
40
+ ## Features
41
41
 
42
- - 页面懒加载(Pjax)、图片懒加载(LazyLoad)、离线应用(PWA
43
- - 评论(Twikoo、Waline、Valine、Artalk、Giscus),支持双评论
44
- - 昼夜切换(ColorMode)
45
- - 灯箱(medium-zoom、fancybox)
46
- - 数学公式(Latex)
47
- - 特色页面:即刻短文、我的装备、在线工具、音乐馆、友链鱼塘、相册页、豆瓣页、弹幕留言页
48
- - 文章功能:AI 摘要、代码高亮
42
+ - PjaxLazyLoadPWA.
43
+ - Comments(Twikoo、Waline、Valine、Artalk、Giscus), Can double comment.
44
+ - ColorMode.
45
+ - Lightbox(medium-zoom、fancybox).
46
+ - Mathematical formulas(Latex).
47
+ - Featured pages: Instant Short Article, My Equipment, Online Tools, Music Gallery, Friend Chain Fish Pond, Photo Album Page, Douban Page, Barrage message page.
48
+ - Article features: AI summary, code highlighting.
49
49
 
50
50
  ## Todo
51
51
 
52
- - [x] 首页顶部新样式
53
- - [x] 首页文章列表三列显示
54
- - [x] btns 外挂标签
52
+ - [x] The list of articles is displayed in three columns on the homepage.
53
+ - [x] btns tags plugin.
55
54
 
56
- > 如有问题请提 [issue](https://github.com/everfu/hexo-theme-solitude/issues)
55
+ > If you have any questions, please issue an [issue](https://github.com/everfu/hexo-theme-solitude/issues)
57
56
 
58
- ## 应用
57
+ ## Setup
59
58
 
60
- 1. 使用 NPM 包进行安装
59
+ 1. Use the NPM package
61
60
  ```bash
62
61
  npm i hexo-theme-solitude
63
62
  ```
64
- 2. 应用主题
63
+ 2. Apply
65
64
  ```yaml
66
65
  theme: solitude
67
66
  ```
68
-
69
- 前往 [文档](https://solitude.js.org/) 获取更多信息。
70
67
 
71
- ## 赞助者
68
+ Check out the [Documentation](https://solitude.js.org/) for more information.
72
69
 
73
- [!["Buy Me A Coffee"](https://img.buymeacoffee.com/button-api/?text=请我喝杯咖啡&emoji=%E2%98%95&everfu=ezgif&button_colour=FFDD00&font_colour=000000&font_family=Cookie&outline_colour=000000&coffee_colour=ffffff)](https://www.buymeacoffee.com/everfu)
70
+ ## Sponsors
71
+
72
+ [!["Buy Me A Coffee"](https://img.buymeacoffee.com/button-api/?text=Buy&nbsp;Me&nbsp;A&nbsp;Coffee&emoji=%E2%98%95&everfu=ezgif&button_colour=FFDD00&font_colour=000000&font_family=Cookie&outline_colour=000000&coffee_colour=ffffff)](https://www.buymeacoffee.com/everfu)
74
73
 
75
74
  <p align="center">
76
75
  <a href="https://cdn.jsdelivr.net/gh/efuo/static/sponsors.svg">
77
- <img src='https://cdn.jsdelivr.net/gh/efuo/static/sponsors.svg' alt="赞助者"/>
76
+ <img src='https://cdn.jsdelivr.net/gh/efuo/static/sponsors.svg'/>
78
77
  </a>
79
78
  </p>
80
79
 
81
- ## 版权
82
-
83
- [MIT](./LICENSE) License &copy; 2023-至今 [EverFu](https://github.com/efuo)
80
+ ## License
84
81
 
85
- [![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fvalor-x%2Fhexo-theme-solitude.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fvalor-x%2Fhexo-theme-solitude?ref=badge_large)
82
+ [MIT](./LICENSE) License &copy; 2023-PRESENT [Ever Fu](https://github.com/everfu)
package/README_zh-Hant.md CHANGED
@@ -1,4 +1,4 @@
1
- [简体中文](README.md)丨繁体中文丨[English](README_en-US.md)
1
+ [English](README.md)[简体中文](README_zh_CN.md)丨繁体中文
2
2
 
3
3
  <div align="center">
4
4
 
@@ -1,4 +1,4 @@
1
- [简体中文](README.md)[繁体中文](README_zh-Hant.md)丨English
1
+ [English](README.md)丨简体中文丨[繁体中文](README_zh-Hant.md)
2
2
 
3
3
  <div align="center">
4
4
 
@@ -6,10 +6,10 @@
6
6
 
7
7
  <h1>Hexo Theme Solitude</h1>
8
8
 
9
- An elegant Hexo theme that supports lazy loading, PWA, Latex, and multiple comment systems.
9
+ 一款优雅的 Hexo 主题,支持懒加载、PWALatex 以及多种评论系统。
10
+
11
+ 主题设计由 [@张洪Heo](https://github.com/zhheo) 全权授权
10
12
 
11
- Theme design is fully licensed by [@张洪Heo](https://github.com/zhheo).
12
-
13
13
  <a href="https://polar.sh/everfu"><img src="https://polar.sh/embed/seeks-funding-shield.svg?org=everfu" /></a>
14
14
 
15
15
  ![npm package](https://img.shields.io/npm/v/hexo-theme-solitude?logo=npm)
@@ -31,52 +31,55 @@
31
31
  [![gitee](https://img.shields.io/badge/Gitee-red?logo=gitee)](https://gitee.com/nsjjd_w/hexo-theme-solitude)
32
32
  [![gitlab](https://img.shields.io/badge/GitLab-blue?logo=gitlab)](https://gitlab.com/efu/hexo-theme-solitude)
33
33
 
34
- [Documentation](https://solitude.js.org/)丨[Preview](https://everfu.github.io/Solitude/)
34
+ [文档](https://solitude.js.org/)丨[预览](https://everfu.github.io/Solitude/)
35
35
 
36
36
  </div>
37
37
 
38
38
  ![Screenshot](.github/screenshot.avif)
39
39
 
40
- ## Features
40
+ ## 特性
41
41
 
42
- - PjaxLazyLoadPWA.
43
- - Comments(Twikoo、Waline、Valine、Artalk、Giscus), Can double comment.
44
- - ColorMode.
45
- - Lightbox(medium-zoom、fancybox).
46
- - Mathematical formulas(Latex).
47
- - Featured pages: Instant Short Article, My Equipment, Online Tools, Music Gallery, Friend Chain Fish Pond, Photo Album Page, Douban Page, Barrage message page.
48
- - Article features: AI summary, code highlighting.
42
+ - 页面懒加载(Pjax)、图片懒加载(LazyLoad)、离线应用(PWA
43
+ - 评论(Twikoo、Waline、Valine、Artalk、Giscus),支持双评论
44
+ - 昼夜切换(ColorMode)
45
+ - 灯箱(medium-zoom、fancybox)
46
+ - 数学公式(Latex)
47
+ - 特色页面:即刻短文、我的装备、在线工具、音乐馆、友链鱼塘、相册页、豆瓣页、弹幕留言页
48
+ - 文章功能:AI 摘要、代码高亮
49
49
 
50
50
  ## Todo
51
51
 
52
- - [x] The list of articles is displayed in three columns on the homepage.
53
- - [x] btns tags plugin.
52
+ - [x] 首页顶部新样式
53
+ - [x] 首页文章列表三列显示
54
+ - [x] btns 外挂标签
54
55
 
55
- > If you have any questions, please issue an [issue](https://github.com/everfu/hexo-theme-solitude/issues)
56
+ > 如有问题请提 [issue](https://github.com/everfu/hexo-theme-solitude/issues)
56
57
 
57
- ## Setup
58
+ ## 应用
58
59
 
59
- 1. Use the NPM package
60
+ 1. 使用 NPM 包进行安装
60
61
  ```bash
61
62
  npm i hexo-theme-solitude
62
63
  ```
63
- 2. Apply
64
+ 2. 应用主题
64
65
  ```yaml
65
66
  theme: solitude
66
67
  ```
68
+
69
+ 前往 [文档](https://solitude.js.org/) 获取更多信息。
67
70
 
68
- Check out the [Documentation](https://solitude.js.org/) for more information.
71
+ ## 赞助者
69
72
 
70
- ## Sponsors
71
-
72
- [!["Buy Me A Coffee"](https://img.buymeacoffee.com/button-api/?text=Buy&nbsp;Me&nbsp;A&nbsp;Coffee&emoji=%E2%98%95&everfu=ezgif&button_colour=FFDD00&font_colour=000000&font_family=Cookie&outline_colour=000000&coffee_colour=ffffff)](https://www.buymeacoffee.com/everfu)
73
+ [!["Buy Me A Coffee"](https://img.buymeacoffee.com/button-api/?text=请我喝杯咖啡&emoji=%E2%98%95&everfu=ezgif&button_colour=FFDD00&font_colour=000000&font_family=Cookie&outline_colour=000000&coffee_colour=ffffff)](https://www.buymeacoffee.com/everfu)
73
74
 
74
75
  <p align="center">
75
76
  <a href="https://cdn.jsdelivr.net/gh/efuo/static/sponsors.svg">
76
- <img src='https://cdn.jsdelivr.net/gh/efuo/static/sponsors.svg'/>
77
+ <img src='https://cdn.jsdelivr.net/gh/efuo/static/sponsors.svg' alt="赞助者"/>
77
78
  </a>
78
79
  </p>
79
80
 
80
- ## License
81
+ ## 版权
82
+
83
+ [MIT](./LICENSE) License &copy; 2023-至今 [EverFu](https://github.com/efuo)
81
84
 
82
- [MIT](./LICENSE) License &copy; 2023-PRESENT [Ever Fu](https://github.com/everfu)
85
+ [![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fvalor-x%2Fhexo-theme-solitude.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fvalor-x%2Fhexo-theme-solitude?ref=badge_large)