hexo-theme-solitude 1.5.1 → 1.5.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 (148) hide show
  1. package/.github/ISSUE_TEMPLATE/config.yml +17 -0
  2. package/.github/ISSUE_TEMPLATE/feature_request.yml +48 -0
  3. package/.github/PULL_REQUEST_TEMPLATE.md +35 -0
  4. package/CONTRIBUTING.md +2 -13
  5. package/LICENSE +21 -674
  6. package/README.md +17 -41
  7. package/README_EN.md +14 -39
  8. package/SECURITY.md +9 -0
  9. package/_config.yml +235 -264
  10. package/languages/{en-US.yml → en.yml} +3 -4
  11. package/languages/zh-CN.yml +0 -1
  12. package/languages/zh-TW.yml +0 -1
  13. package/layout/404.pug +1 -1
  14. package/layout/includes/body/gadsense.pug +9 -0
  15. package/layout/includes/console.pug +6 -6
  16. package/layout/includes/footer.pug +13 -13
  17. package/layout/includes/inject/body.pug +10 -1
  18. package/layout/includes/inject/head.pug +4 -4
  19. package/layout/includes/mixins/pagination.pug +2 -2
  20. package/layout/includes/nav.pug +2 -2
  21. package/layout/includes/page/album.pug +9 -9
  22. package/layout/includes/page/says.pug +5 -5
  23. package/layout/includes/sidebar.pug +2 -3
  24. package/layout/includes/widgets/aside/asideInfoCard.pug +1 -1
  25. package/layout/includes/widgets/aside/asideNewestPost.pug +1 -1
  26. package/layout/includes/widgets/aside/asideToc.pug +1 -1
  27. package/layout/includes/widgets/aside/asideWebInfo.pug +8 -8
  28. package/layout/includes/widgets/home/banner.pug +1 -1
  29. package/layout/includes/widgets/home/bbTimeList.pug +7 -7
  30. package/layout/includes/widgets/home/categoryBar.pug +5 -4
  31. package/layout/includes/widgets/home/categoryGroup.pug +1 -1
  32. package/layout/includes/widgets/home/postList.pug +8 -2
  33. package/layout/includes/widgets/home/topGroup.pug +1 -1
  34. package/layout/includes/widgets/nav/menu.pug +1 -1
  35. package/layout/includes/widgets/nav/right.pug +6 -6
  36. package/layout/includes/widgets/page/about/award.pug +3 -3
  37. package/layout/includes/widgets/page/about/hobbies.pug +1 -1
  38. package/layout/includes/widgets/page/banner.pug +1 -1
  39. package/layout/includes/widgets/page/equipment/content.pug +1 -1
  40. package/layout/includes/widgets/page/links/banner.pug +3 -3
  41. package/layout/includes/widgets/page/moments/angle.pug +1 -1
  42. package/layout/includes/widgets/post/award.pug +1 -1
  43. package/layout/includes/widgets/post/copyright.pug +1 -1
  44. package/layout/includes/widgets/post/post-ai.pug +1 -1
  45. package/layout/includes/widgets/post/postMeta.pug +12 -12
  46. package/layout/includes/widgets/rightside/index.pug +25 -25
  47. package/layout/includes/widgets/third-party/comments/comment.pug +1 -1
  48. package/layout/includes/widgets/third-party/music.pug +1 -1
  49. package/layout/includes/widgets/third-party/search/algolia-search.pug +2 -2
  50. package/layout/includes/widgets/third-party/search/local-search.pug +1 -1
  51. package/layout/index.pug +2 -2
  52. package/package.json +9 -9
  53. package/plugins.yml +8 -12
  54. package/scripts/event/cdn.js +10 -0
  55. package/scripts/event/welcome.js +1 -1
  56. package/scripts/filter/lazyload.js +2 -3
  57. package/scripts/helper/related_post.js +1 -1
  58. package/scripts/tags/card.js +1 -1
  59. package/scripts/tags/mermaid.js +9 -0
  60. package/scripts/tags/tabs.js +2 -2
  61. package/source/css/_global/animation.styl +1 -1
  62. package/source/css/_global/index.styl +27 -27
  63. package/source/css/_layout/basic.styl +18 -18
  64. package/source/css/_layout/header.styl +67 -67
  65. package/source/css/_layout/index.styl +14 -14
  66. package/source/css/_mode/index.styl +88 -88
  67. package/source/css/_page/_about/author.styl +5 -5
  68. package/source/css/_page/_about/buff.styl +1 -1
  69. package/source/css/_page/_about/careers.styl +1 -1
  70. package/source/css/_page/_about/contentinfo.styl +2 -2
  71. package/source/css/_page/_about/game.styl +2 -2
  72. package/source/css/_page/_about/like.styl +2 -2
  73. package/source/css/_page/_about/myphoto.styl +1 -1
  74. package/source/css/_page/_about/oneself.styl +2 -2
  75. package/source/css/_page/_about/reward.styl +11 -11
  76. package/source/css/_page/_about/skills.styl +2 -2
  77. package/source/css/_page/_about/statistic.styl +4 -4
  78. package/source/css/_page/_about/tenyear.styl +4 -4
  79. package/source/css/_page/_gallery/index.styl +7 -7
  80. package/source/css/_page/_home/category-bar.styl +11 -8
  81. package/source/css/_page/_home/home-top.styl +16 -16
  82. package/source/css/_page/_home/index.styl +1 -1
  83. package/source/css/_page/_home/pagination.styl +22 -22
  84. package/source/css/_page/_home/recent-post.styl +22 -15
  85. package/source/css/_page/category.styl +11 -11
  86. package/source/css/_page/douban.styl +10 -10
  87. package/source/css/_page/equipment.styl +10 -10
  88. package/source/css/_page/error.styl +3 -3
  89. package/source/css/_page/google.styl +32 -0
  90. package/source/css/_page/index.styl +4 -1
  91. package/source/css/_page/links.styl +27 -27
  92. package/source/css/_page/moment.styl +22 -22
  93. package/source/css/_page/music.styl +16 -14
  94. package/source/css/_page/says.styl +21 -21
  95. package/source/css/_page/share.styl +25 -25
  96. package/source/css/_page/tag.styl +12 -12
  97. package/source/css/_widgets/_aside/allinfo.styl +12 -12
  98. package/source/css/_widgets/_aside/index.styl +4 -4
  99. package/source/css/_widgets/_aside/info.styl +27 -27
  100. package/source/css/_widgets/_aside/newPost.styl +5 -5
  101. package/source/css/_widgets/_aside/toc.styl +7 -7
  102. package/source/css/_widgets/_comment/index.styl +7 -7
  103. package/source/css/_widgets/_comment/twikoo.styl +66 -50
  104. package/source/css/_widgets/_comment/waline.styl +45 -44
  105. package/source/css/_widgets/_extra/console.styl +29 -29
  106. package/source/css/_widgets/_extra/fullpage.styl +1 -1
  107. package/source/css/_widgets/_extra/music.styl +11 -11
  108. package/source/css/_widgets/_extra/pace.styl +2 -2
  109. package/source/css/_widgets/_extra/rightmenu.styl +8 -8
  110. package/source/css/_widgets/_mixins/article-sort.styl +7 -7
  111. package/source/css/_widgets/_mixins/footer.styl +28 -28
  112. package/source/css/_widgets/_mixins/keyboard.styl +8 -8
  113. package/source/css/_widgets/_mixins/other.styl +4 -4
  114. package/source/css/_widgets/_mixins/sidebar.styl +20 -20
  115. package/source/css/_widgets/_post/_highlight/index.styl +16 -16
  116. package/source/css/_widgets/_post/_highlight/theme/default.styl +1 -1
  117. package/source/css/_widgets/_post/_highlight/theme/mac.styl +1 -1
  118. package/source/css/_widgets/_post/commentBarrage.styl +13 -13
  119. package/source/css/_widgets/_post/content.styl +27 -26
  120. package/source/css/_widgets/_post/copyright.styl +9 -9
  121. package/source/css/_widgets/_post/meta.styl +27 -27
  122. package/source/css/_widgets/_post/pagination.styl +13 -13
  123. package/source/css/_widgets/_post/postAI.styl +18 -18
  124. package/source/css/_widgets/_post/relatedPost.styl +8 -8
  125. package/source/css/_widgets/_post/tools.styl +30 -30
  126. package/source/css/_widgets/_search/algolia-search.styl +18 -18
  127. package/source/css/_widgets/_search/local-search.styl +22 -22
  128. package/source/css/_widgets/_tags/button.styl +1 -1
  129. package/source/css/_widgets/_tags/card.styl +12 -12
  130. package/source/css/_widgets/_tags/fold.styl +11 -11
  131. package/source/css/_widgets/_tags/index.styl +26 -26
  132. package/source/css/_widgets/_tags/link.styl +10 -9
  133. package/source/css/_widgets/_tags/mermaid.styl +4 -0
  134. package/source/css/_widgets/_tags/note.styl +2 -2
  135. package/source/css/_widgets/_tags/tabs.styl +10 -10
  136. package/source/css/_widgets/_tags/timeline.styl +5 -5
  137. package/source/img/logo.png +0 -0
  138. package/source/js/comment/twikoo_commentBarrage.js +1 -1
  139. package/source/js/comment/waline_commentBarrage.js +1 -1
  140. package/source/js/covercolor/api.js +18 -18
  141. package/source/js/covercolor/local.js +18 -18
  142. package/source/js/main.js +5 -5
  143. package/source/js/music.js +1 -12
  144. package/source/js/search/algolia.js +7 -7
  145. package/source/js/tw_cn.js +2 -2
  146. package/source/js/universe.min.js +5 -0
  147. package/source/js/utils.js +2 -2
  148. package/source/js/waterfall.min.js +1 -0
package/README.md CHANGED
@@ -4,19 +4,19 @@
4
4
 
5
5
  ## Hexo-Theme-Solitude
6
6
 
7
- ![master version](https://img.shields.io/github/package-json/v/wleelw/hexo-theme-solitude/master?color=%231ab1ad&label=master)
8
- ![master version](https://img.shields.io/github/package-json/v/wleelw/hexo-theme-solitude/dev?label=dev)
7
+ ![main version](https://img.shields.io/github/package-json/v/valor-x/hexo-theme-solitude/master?color=%231ab1ad&label=main)
8
+ ![dev version](https://img.shields.io/github/package-json/v/valor-x/hexo-theme-solitude/dev?label=dev)
9
9
  ![https://img.shields.io/npm/v/hexo-theme-solitude?color=%09%23bf00ff](https://img.shields.io/npm/v/hexo-theme-solitude?color=%09%23bf00ff)
10
10
  ![hexo version](https://img.shields.io/badge/hexo-6.3.0+-0e83c)
11
- ![license](https://img.shields.io/github/license/wleelw/hexo-theme-solitude?color=FF5531)
12
-
13
- ![首页](https://github.com/wleelw/hexo-theme-solitude/assets/74389842/d008aba4-942d-4fdb-a611-d934c0bad9fe)
11
+ [![GitHub all releases](https://img.shields.io/github/downloads/valor-x/hexo-theme-solitude/total)](https://github.com/valor-x/hexo-theme-solitude/releases/latest)
12
+ ![hexo version](https://img.shields.io/badge/hexo-6.3.0+-0e83c)
13
+ ![license](https://img.shields.io/github/license/valor-x/hexo-theme-solitude?color=FF5531)
14
14
 
15
- 主题预览: [王卓Sco](https://blog.wzsco.cn/) | [Demo](https://solitude.wzsco.cn/)
15
+ ![首页](https://github.com/valor-x/hexo-theme-solitude/assets/74389842/d008aba4-942d-4fdb-a611-d934c0bad9fe)
16
16
 
17
- 主题文档: [中文](https://docs.wzsco.cn/) | [ English ](https://docs.wzsco.cn/en/)
17
+ 主题预览: [亦封](https://blog.meuicat.cn/) | 🐞 [Demo](https://solitude-demo.efu.me/)
18
18
 
19
- 主题交流群:`文档内有群二维码和链接`
19
+ 主题文档: [中文](https://solitude-docs.efu.me/)
20
20
 
21
21
  ## 💻 安裝
22
22
 
@@ -27,16 +27,16 @@
27
27
  在博客根目录里安装稳定版【推荐】
28
28
 
29
29
  ```powershell
30
- git clone -b main https://github.com/wleelw/hexo-theme-solitude.git themes/solitude
30
+ git clone -b main https://github.com/valor-x/hexo-theme-solitude.git themes/solitude
31
31
  ```
32
32
 
33
33
  如果想要安装比较新的 dev 分支,可以在博客根目录里安装开发版
34
34
 
35
35
  ```powershell
36
- git clone -b dev https://github.com/wleelw/hexo-theme-solitude.git themes/solitude
36
+ git clone -b dev https://github.com/valor-x/hexo-theme-solitude.git themes/solitude
37
37
  ```
38
38
 
39
- ### npm 安装
39
+ ### NPM 安装
40
40
 
41
41
  > 此方法只支持 Hexo 5.0.0 以上版本。通过 npm 安装并不会在 themes 里生成主题文件夹,而是在 node_modules 里生成
42
42
 
@@ -63,53 +63,29 @@ theme: solitude
63
63
  - [x] 支持多种评论插件
64
64
  - [x] 内置网页访问统计
65
65
  - [x] 支持暗色模式
66
- - [x] 支持脚注语法
67
66
  - [x] 支持自定义CDN静态资源
68
67
  - [x] 支持多功能右键菜单
69
68
  - [x] 支持定制化的主色调随封面图片颜色变化
70
69
  - [x] 支持沉浸式状态栏
71
- - [x] 支持聊天系统
72
70
  - [x] 支持百度分析
73
71
  - [x] 支持图片大图查看
74
72
  - [x] 支持瀑布流即刻说说
73
+ - [x] 瀑布流相册
75
74
  - [x] 支持自定义图标(iconfont、CoDeSign、fontawesome)
76
75
  - [x] 支持高速缓存的swpp,pwa特性
77
76
  - [x] 优秀的隐私协议支持
78
77
  - [x] 文章摘要AI支持
79
78
  - [x] 支持全局中控台
80
79
  - [x] 支持本地搜索/algolia搜索🔍
81
- - [x] 支持 Katex 数学公式
80
+ - [x] 支持 Latex 数学公式
82
81
  - [x] 支持 PWA
83
82
 
84
83
  ## ✨ 贡献者
85
84
 
86
- <a href="https://github.com/wleelw/hexo-theme-solitude/graphs/contributors">
87
- <img src="https://contrib.rocks/image?repo=wleelw/hexo-theme-solitude" />
85
+ <a href="https://github.com/valor-x/hexo-theme-solitude/graphs/contributors">
86
+ <img src="https://contrib.rocks/image?repo=valor-x/hexo-theme-solitude" />
88
87
  </a>
89
88
 
90
- **本主题为 [Heo](https://blog.zhheo.com/) 的衍生主题,由 [@张洪Heo](https://github.com/zhheo) 作者全权授权、设计!**
91
-
92
- > 欢迎你对本主题做出贡献![贡献指南](/CONTRIBUTING.md)
93
-
94
- ## 📷 截图
95
-
96
- ### 首页
97
- ![首页](https://github.com/wleelw/hexo-theme-solitude/assets/74389842/d008aba4-942d-4fdb-a611-d934c0bad9fe)
98
-
99
- ### 即刻短文
100
- ![即刻短文](https://github.com/wleelw/hexo-theme-solitude/assets/74389842/ef6b2657-25e1-4aab-a9b3-eb631840c8da)
101
-
102
- ### 友情链接
103
- ![友情链接](https://github.com/wleelw/hexo-theme-solitude/assets/74389842/d82cf750-8679-4a54-b3e2-96ec01e9665f)
104
-
105
- ### 音乐馆
106
- ![音乐馆](https://github.com/wleelw/hexo-theme-solitude/assets/74389842/ec8c9276-5b43-4950-99a2-c94cb0e5c39e)
107
-
108
- ### 装备
109
- ![装备](https://github.com/wleelw/hexo-theme-solitude/assets/74389842/26596846-f39e-4981-8083-ad1c3e8de290)
110
-
111
- ### 工具箱
112
- ![工具箱](https://github.com/wleelw/hexo-theme-solitude/assets/74389842/d52e6dde-a8a9-4d3c-aa21-fddcfe47de23)
89
+ **主题由 [@张洪Heo](https://github.com/zhheo) 作者全权授权、设计!**
113
90
 
114
- ### 关于
115
- ![关于](https://github.com/wleelw/hexo-theme-solitude/assets/74389842/46d9db0d-a2d8-4c69-a393-f3388389fbcb)
91
+ > 欢迎你对本主题做出贡献![贡献指南](/CONTRIBUTING.md)
package/README_EN.md CHANGED
@@ -5,19 +5,18 @@
5
5
 
6
6
  ## Hexo-Theme-Solitude
7
7
 
8
- ![master version](https://img.shields.io/github/package-json/v/wleelw/hexo-theme-solitude/master?color=%231ab1ad&label=master)
9
- ![master version](https://img.shields.io/github/package-json/v/wleelw/hexo-theme-solitude/dev?label=dev)
8
+ ![master version](https://img.shields.io/github/package-json/v/valor-x/hexo-theme-solitude/master?color=%231ab1ad&label=master)
9
+ ![master version](https://img.shields.io/github/package-json/v/valor-x/hexo-theme-solitude/dev?label=dev)
10
10
  ![https://img.shields.io/npm/v/hexo-theme-solitude?color=%09%23bf00ff](https://img.shields.io/npm/v/hexo-theme-solitude?color=%09%23bf00ff)
11
+ [![GitHub all releases](https://img.shields.io/github/downloads/valor-x/hexo-theme-solitude/total)](https://github.com/valor-x/hexo-theme-solitude/releases/latest)
11
12
  ![hexo version](https://img.shields.io/badge/hexo-6.3.0+-0e83c)
12
- ![license](https://img.shields.io/github/license/wleelw/hexo-theme-solitude?color=FF5531)
13
+ ![license](https://img.shields.io/github/license/valor-x/hexo-theme-solitude?color=FF5531)
13
14
 
14
- ![首页](https://github.com/wleelw/hexo-theme-solitude/assets/74389842/d008aba4-942d-4fdb-a611-d934c0bad9fe)
15
+ ![首页](https://github.com/valor-x/hexo-theme-solitude/assets/74389842/d008aba4-942d-4fdb-a611-d934c0bad9fe)
15
16
 
16
- Theme Preview: [王卓Sco](https://blog.wzsco.cn/)|[Demo](https://solitude.wzsco.cn/)
17
+ Theme Preview: [亦封](https://blog.meuicat.cn/)|[Demo](https://solitude-demo.efu.me/)
17
18
 
18
- Theme Document: [中文](https://docs.wzsco.cn/)|[ English ](https://docs.wzsco.cn/en/)
19
-
20
- Theme discussion group:`The usage document above contains a QR code`
19
+ Theme Document: [中文](https://solitude-docs.efu.me/)
21
20
 
22
21
  ## 💻 Installation
23
22
 
@@ -28,16 +27,16 @@ Theme discussion group:`The usage document above contains a QR code`
28
27
  Install the stable version in the root of your blog directory 【Recommended】
29
28
 
30
29
  ```powershell
31
- git clone -b main https://github.com/wleelw/hexo-theme-solitude.git themes/solitude
30
+ git clone -b main https://github.com/valor-x/hexo-theme-solitude.git themes/solitude
32
31
  ```
33
32
 
34
33
  If you want to install the latest development version, you can install the dev branch in the root of your blog directory
35
34
 
36
35
  ```powershell
37
- git clone -b dev https://github.com/wleelw/hexo-theme-solitude.git themes/solitude
36
+ git clone -b dev https://github.com/valor-x/hexo-theme-solitude.git themes/solitude
38
37
  ```
39
38
 
40
- ### Installation via npm
39
+ ### Installation via NPM
41
40
 
42
41
  > This method only supports Hexo versions above 5.0.0. Installing through npm will not generate a theme folder in themes, but in node_modules instead.
43
42
 
@@ -69,7 +68,6 @@ theme: solitude
69
68
  - [x] Support multi-function right-click menu
70
69
  - [x] Support for customizing the main color to change with the color of the cover image
71
70
  - [x] Support for immersive status bars
72
- - [x] Support for chat system
73
71
  - [x] Support for Baidu Analytics
74
72
  - [x] Support viewing large images
75
73
  - [x] Support for waterfall instant talk
@@ -84,33 +82,10 @@ theme: solitude
84
82
 
85
83
  ## ✨ Contributors
86
84
 
87
- <a href="https://github.com/wleelw/hexo-theme-solitude/graphs/contributors">
88
- <img src="https://contrib.rocks/image?repo=wleelw/hexo-theme-solitude" />
85
+ <a href="https://github.com/valor-x/hexo-theme-solitude/graphs/contributors">
86
+ <img src="https://contrib.rocks/image?repo=valor-x/hexo-theme-solitude" />
89
87
  </a>
90
88
 
91
- **This theme is a derivative theme of [Heo](https://blog.zhheo.com/), designed and authorized by the author [张洪Heo](https://github.com/zhheo)!**
92
-
93
- > Welcome to contribute to this theme! [Contribution Guide](/CONTRIBUTING.md)
94
-
95
- ## 📷 Preview
96
-
97
- ### Home
98
- ![Home](https://github.com/wleelw/hexo-theme-solitude/assets/74389842/d008aba4-942d-4fdb-a611-d934c0bad9fe)
99
-
100
- ### Essay
101
- ![Essay](https://github.com/wleelw/hexo-theme-solitude/assets/74389842/ef6b2657-25e1-4aab-a9b3-eb631840c8da)
102
-
103
- ### Links
104
- ![Links](https://github.com/wleelw/hexo-theme-solitude/assets/74389842/d82cf750-8679-4a54-b3e2-96ec01e9665f)
105
-
106
- ### Music
107
- ![Music](https://github.com/wleelw/hexo-theme-solitude/assets/74389842/ec8c9276-5b43-4950-99a2-c94cb0e5c39e)
108
-
109
- ### Equip
110
- ![Equip](https://github.com/wleelw/hexo-theme-solitude/assets/74389842/26596846-f39e-4981-8083-ad1c3e8de290)
111
-
112
- ### Tools of link
113
- ![Tools of link](https://github.com/wleelw/hexo-theme-solitude/assets/74389842/d52e6dde-a8a9-4d3c-aa21-fddcfe47de23)
89
+ **This theme designed and authorized by the author [张洪Heo](https://github.com/zhheo)!**
114
90
 
115
- ### About
116
- ![About](https://github.com/wleelw/hexo-theme-solitude/assets/74389842/46d9db0d-a2d8-4c69-a393-f3388389fbcb)
91
+ > Welcome to contribute to this theme! [Contribution Guide](/CONTRIBUTING.md)
package/SECURITY.md ADDED
@@ -0,0 +1,9 @@
1
+ # 安全策略
2
+
3
+ ## 报告漏洞
4
+
5
+ 要报告漏洞,请在正确的 GitHub 存储库上 [通过安全选项卡私下报告](https://github.com/valor-x/hexo-theme-solitude/security/advisories/new)(请参阅 [文档](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))。如果无法报告,请随时发送电子邮件至 **o@efu.me**。
6
+
7
+ 所有安全漏洞都将得到及时验证和解决。
8
+
9
+ 虽然发现新漏洞的情况很少见,但建议始终使用最新版本的主题和其他依赖项,通过维护锁定文件(`yarn.lock`、`package-lock.json`),以保证尽可能安全。