hexo-theme-solitude 2.0.3 → 2.0.5

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 (52) hide show
  1. package/.github/FUNDING.yml +3 -3
  2. package/.github/ISSUE_TEMPLATE/config.yml +1 -5
  3. package/README.md +35 -31
  4. package/README_zh-Hans.md +25 -21
  5. package/README_zh-Hant.md +28 -24
  6. package/SECURITY.md +1 -1
  7. package/_config.yml +453 -306
  8. package/languages/default.yml +13 -13
  9. package/languages/en.yml +14 -13
  10. package/layout/archive.pug +11 -4
  11. package/layout/includes/footer.pug +6 -5
  12. package/layout/includes/inject/body.pug +4 -4
  13. package/layout/includes/loading.pug +14 -2
  14. package/layout/includes/widgets/home/categoryBar.pug +2 -1
  15. package/package.json +8 -5
  16. package/scripts/event/merge_config.js +1 -0
  17. package/scripts/filter/post_image.js +0 -1
  18. package/scripts/helper/stylus.js +1 -1
  19. package/scripts/tags/mermaid.js +1 -1
  20. package/scripts/tags/tabs.js +11 -15
  21. package/source/css/_layout/aside.styl +1 -1
  22. package/source/css/_layout/header.styl +22 -15
  23. package/source/css/_tags/mermaid.styl +1 -1
  24. package/source/css/_tags/tabs.styl +1 -1
  25. package/source/css/var.styl +1 -1
  26. package/source/js/main.js +3 -2
  27. package/.github/persona.avif +0 -0
  28. package/scripts/tags/btns.js +0 -35
  29. package/scripts/tags/button.js +0 -21
  30. package/scripts/tags/bvideo.js +0 -7
  31. package/scripts/tags/checkbox.js +0 -51
  32. package/scripts/tags/fold.js +0 -13
  33. package/scripts/tags/image.js +0 -75
  34. package/scripts/tags/inline-image.js +0 -12
  35. package/scripts/tags/label.js +0 -10
  36. package/scripts/tags/link.js +0 -50
  37. package/scripts/tags/media.js +0 -29
  38. package/scripts/tags/note.js +0 -13
  39. package/scripts/tags/span.js +0 -17
  40. package/scripts/tags/timeline.js +0 -22
  41. package/source/css/_tags/btns.styl +0 -212
  42. package/source/css/_tags/button.styl +0 -40
  43. package/source/css/_tags/checkbox.styl +0 -204
  44. package/source/css/_tags/fold.styl +0 -65
  45. package/source/css/_tags/image.styl +0 -4
  46. package/source/css/_tags/index.styl +0 -63
  47. package/source/css/_tags/label.styl +0 -4
  48. package/source/css/_tags/link.styl +0 -59
  49. package/source/css/_tags/media.styl +0 -57
  50. package/source/css/_tags/note.styl +0 -104
  51. package/source/css/_tags/span.styl +0 -34
  52. package/source/css/_tags/timeline.styl +0 -82
@@ -1,10 +1,10 @@
1
1
  # These are supported funding model platforms
2
2
 
3
3
  github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
4
- patreon: everfu # Replace with a single Patreon username
5
- polar: everfu
4
+ patreon: # Replace with a single Patreon username
5
+ polar:
6
6
  open_collective: # Replace with a single Open Collective username
7
- ko_fi: # Replace with a single Ko-fi username
7
+ ko_fi: everfu # Replace with a single Ko-fi username
8
8
  tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
9
9
  community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
10
10
  liberapay: # Replace with a single Liberapay username
@@ -13,9 +13,5 @@ contact_links:
13
13
  about: 新建立的QQ群
14
14
 
15
15
  - name: Discord
16
- url: https://discord.gg/Y8VEvVgW
16
+ url: https://discord.gg/aXbBcrY8
17
17
  about: 'Official Discord Group'
18
-
19
- - name: Telegram
20
- url: https://t.me/solitudePro
21
- about: 'Official Telegram Group'
package/README.md CHANGED
@@ -1,51 +1,44 @@
1
- English丨[简体中文](README_zh-Hans)丨[繁体中文](README_zh-Hant.md)
1
+ English丨[简体中文](README_zh-Hans.md)丨[繁体中文](README_zh-Hant.md)
2
2
 
3
3
  <div align="center">
4
4
 
5
- <img src=".github/persona.avif" alt="Solitude logo" height="200">
5
+ <h1>Solitude</h1>
6
6
 
7
- <h1>Hexo Theme Solitude</h1>
8
-
9
- An elegant Hexo theme that supports lazy loading, PWA, Latex, and multiple comment systems.
7
+ An elegant Hexo theme that supports lazy loading, PWA, Latex, and multiple commenting systems.
10
8
 
11
9
  Theme design is fully licensed by [@张洪Heo](https://github.com/zhheo).
12
-
13
- <a href="https://polar.sh/everfu"><img src="https://polar.sh/embed/seeks-funding-shield.svg?org=everfu" /></a>
14
-
15
- ![npm package](https://img.shields.io/npm/v/hexo-theme-solitude?logo=npm)
16
- ![release](https://img.shields.io/github/package-json/v/valor-x/hexo-theme-solitude/master?color=%231ab1ad&label=release)
17
- ![license](https://img.shields.io/github/license/valor-x/hexo-theme-solitude?color=FF5531)
18
- [![Stars](https://img.shields.io/github/stars/everfu/hexo-theme-solitude)](https://github.com/everfu/hexo-theme-solitude/stargazers)
19
- [![NPM all downloads](https://img.shields.io/npm/dy/hexo-theme-solitude?color=white)](https://www.npmjs.com/package/hexo-theme-solitude)
20
10
 
21
- ![hexo version](https://img.shields.io/badge/hexo-7.0.0+-blue?logo=hexo&logoColor=white)
22
- ![node version](https://img.shields.io/badge/node-14.0.0-white?logo=node.js&logoColor=white)
23
- [![Socket Badge](https://socket.dev/api/badge/npm/package/hexo-theme-solitude/)](https://socket.dev/npm/package/hexo-theme-solitude/overview)
11
+ ![npm package](https://img.shields.io/npm/v/hexo-theme-solitude?style=for-the-badge)
12
+ ![license](https://img.shields.io/github/license/everfu/hexo-theme-solitude?color=FF5531&style=for-the-badge)
13
+ [![Stars](https://img.shields.io/github/stars/everfu/hexo-theme-solitude?style=for-the-badge)](https://github.com/everfu/hexo-theme-solitude/stargazers)
14
+ [![NPM all downloads](https://img.shields.io/npm/dy/hexo-theme-solitude?color=white&style=for-the-badge)](https://www.npmjs.com/package/hexo-theme-solitude)
24
15
 
25
- [![twiter](https://img.shields.io/badge/Twitter-gray?logo=x)](https://twitter.com/efu_oo)
26
- [![TG](https://img.shields.io/badge/Telegram-gray?logo=Telegram&logoColor=white)](https://t.me/solitudePro)
16
+ ![hexo version](https://img.shields.io/badge/hexo-7.0.0+-blue?logo=hexo&logoColor=white&style=for-the-badge)
17
+ ![node version](https://img.shields.io/badge/node-14.0.0+-white?logo=node.js&logoColor=white&style=for-the-badge)
27
18
 
28
- ![JetBrains](https://img.shields.io/badge/jetbrains-support-black?logo=jetbrains)
29
- ![DuoLingo](https://img.shields.io/badge/duolingo-support-black?logo=duolingo&logoColor=white)
30
-
31
- [![gitee](https://img.shields.io/badge/Gitee-red?logo=gitee)](https://gitee.com/nsjjd_w/hexo-theme-solitude)
32
- [![gitlab](https://img.shields.io/badge/GitLab-blue?logo=gitlab)](https://gitlab.com/efu/hexo-theme-solitude)
19
+ ![page view](https://komarev.com/ghpvc/?username=hexo-theme-solitude&abbreviated=true&base=12345&style=for-the-badge)
20
+ [![discord](https://img.shields.io/discord/1266610921942548553?style=for-the-badge&logo=discord&label=discord&logoColor=white)](https://discord.gg/HZXAnK4Sut)
21
+ ![JetBrains](https://img.shields.io/badge/jetbrains-support-black?logo=jetbrains&style=for-the-badge)
33
22
 
34
23
  [Documentation](https://solitude.js.org/)丨[Preview](https://everfu.github.io/Solitude/)
35
24
 
36
25
  </div>
37
26
 
27
+ <div style="width: 80%; margin: 0 auto">
28
+
38
29
  ![Screenshot](.github/screenshot.avif)
39
30
 
31
+ </div>
32
+
40
33
  ## Features
41
34
 
42
- - PjaxLazyLoadPWA.
43
- - Comments(TwikooWalineValineArtalkGiscus), Can double comment.
44
- - ColorMode.
45
- - Lightbox(medium-zoomfancybox).
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.
35
+ - Page lazy loading (Pjax), image lazy loading (LazyLoad), offline application (PWA)
36
+ - Comments (Twikoo, Waline, Valine, Artalk, Giscus), supporting dual comments
37
+ - Day and night mode switch (ColorMode)
38
+ - Lightbox (medium-zoom, fancybox)
39
+ - Mathematical formulas (Latex)
40
+ - Special pages: Moments, My Equipment, Online Tools, Music Library, Friends' Links, Photo Album, Douban Page, Danmaku Message Board
41
+ - Article features: AI Summary, Code Highlighting
49
42
 
50
43
  ## Todo
51
44
 
@@ -69,12 +62,23 @@ Check out the [Documentation](https://solitude.js.org/) for more information.
69
62
 
70
63
  ## Sponsors
71
64
 
65
+ <div align="center">
66
+
67
+ [![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/W7W1YSMOK)
68
+
69
+ </div>
70
+
72
71
  <p align="center">
73
72
  <a href="https://cdn.jsdelivr.net/gh/efuo/static/sponsors.svg">
74
73
  <img src='https://cdn.jsdelivr.net/gh/efuo/static/sponsors.svg' alt="sponsor"/>
75
74
  </a>
76
75
  </p>
77
76
 
77
+ ## Community
78
+
79
+ [![Discord](https://img.shields.io/discord/1266610921942548553?style=for-the-badge&logo=discord&label=discord&logoColor=white)](https://discord.gg/HZXAnK4Sut)
80
+ [![QQ Group](https://img.shields.io/badge/QQ%20Group-948375336-FFD700?logo=Tencent-QQ&logoColor=white&style=for-the-badge)](https://qm.qq.com/q/mxfomMvJPG)
81
+
78
82
  ## License
79
83
 
80
- [MIT](./LICENSE) License &copy; 2023-PRESENT [Ever Fu](https://github.com/everfu)
84
+ [MIT](./LICENSE) License &copy; 2023-PRESENT [Ever Fu](https://github.com/everfu)
package/README_zh-Hans.md CHANGED
@@ -2,41 +2,34 @@
2
2
 
3
3
  <div align="center">
4
4
 
5
- <img src=".github/persona.avif" alt="Solitude logo" height="200">
6
-
7
- <h1>Hexo Theme Solitude</h1>
5
+ <h1>Solitude</h1>
8
6
 
9
7
  一款优雅的 Hexo 主题,支持懒加载、PWA、Latex 以及多种评论系统。
10
8
 
11
9
  主题设计由 [@张洪Heo](https://github.com/zhheo) 全权授权
12
10
 
13
- <a href="https://polar.sh/everfu"><img src="https://polar.sh/embed/seeks-funding-shield.svg?org=everfu" /></a>
14
-
15
- ![npm package](https://img.shields.io/npm/v/hexo-theme-solitude?logo=npm)
16
- ![release](https://img.shields.io/github/package-json/v/valor-x/hexo-theme-solitude/master?color=%231ab1ad&label=release)
17
- ![license](https://img.shields.io/github/license/valor-x/hexo-theme-solitude?color=FF5531)
18
- [![Stars](https://img.shields.io/github/stars/everfu/hexo-theme-solitude)](https://github.com/everfu/hexo-theme-solitude/stargazers)
19
- [![NPM all downloads](https://img.shields.io/npm/dy/hexo-theme-solitude?color=white)](https://www.npmjs.com/package/hexo-theme-solitude)
20
-
21
- ![hexo version](https://img.shields.io/badge/hexo-7.0.0+-blue?logo=hexo&logoColor=white)
22
- ![node version](https://img.shields.io/badge/node-14.0.0-white?logo=node.js&logoColor=white)
23
- [![Socket Badge](https://socket.dev/api/badge/npm/package/hexo-theme-solitude/)](https://socket.dev/npm/package/hexo-theme-solitude/overview)
24
-
25
- [![twiter](https://img.shields.io/badge/Twitter-gray?logo=x)](https://twitter.com/efu_oo)
26
- [![TG](https://img.shields.io/badge/Telegram-gray?logo=Telegram&logoColor=white)](https://t.me/solitudePro)
11
+ ![npm package](https://img.shields.io/npm/v/hexo-theme-solitude?style=for-the-badge)
12
+ ![license](https://img.shields.io/github/license/everfu/hexo-theme-solitude?color=FF5531&style=for-the-badge)
13
+ [![Stars](https://img.shields.io/github/stars/everfu/hexo-theme-solitude?style=for-the-badge)](https://github.com/everfu/hexo-theme-solitude/stargazers)
14
+ [![NPM all downloads](https://img.shields.io/npm/dy/hexo-theme-solitude?color=white&style=for-the-badge)](https://www.npmjs.com/package/hexo-theme-solitude)
27
15
 
28
- ![JetBrains](https://img.shields.io/badge/jetbrains-support-black?logo=jetbrains)
29
- ![DuoLingo](https://img.shields.io/badge/duolingo-support-black?logo=duolingo&logoColor=white)
16
+ ![hexo version](https://img.shields.io/badge/hexo-7.0.0+-blue?logo=hexo&logoColor=white&style=for-the-badge)
17
+ ![node version](https://img.shields.io/badge/node-14.0.0+-white?logo=node.js&logoColor=white&style=for-the-badge)
30
18
 
31
- [![gitee](https://img.shields.io/badge/Gitee-red?logo=gitee)](https://gitee.com/nsjjd_w/hexo-theme-solitude)
32
- [![gitlab](https://img.shields.io/badge/GitLab-blue?logo=gitlab)](https://gitlab.com/efu/hexo-theme-solitude)
19
+ ![page view](https://komarev.com/ghpvc/?username=hexo-theme-solitude&abbreviated=true&base=12345&style=for-the-badge)
20
+ [![discord](https://img.shields.io/discord/1266610921942548553?style=for-the-badge&logo=discord&label=discord&logoColor=white)](https://discord.gg/HZXAnK4Sut)
21
+ ![JetBrains](https://img.shields.io/badge/jetbrains-support-black?logo=jetbrains&style=for-the-badge)
33
22
 
34
23
  [文档](https://solitude.js.org/)丨[预览](https://everfu.github.io/Solitude/)
35
24
 
36
25
  </div>
37
26
 
27
+ <div style="width: 80%; margin: 0 auto">
28
+
38
29
  ![Screenshot](.github/screenshot.avif)
39
30
 
31
+ </div>
32
+
40
33
  ## 特性
41
34
 
42
35
  - 页面懒加载(Pjax)、图片懒加载(LazyLoad)、离线应用(PWA)
@@ -70,12 +63,23 @@
70
63
 
71
64
  ## 赞助者
72
65
 
66
+ <div align="center">
67
+
68
+ [![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/W7W1YSMOK)
69
+
70
+ </div>
71
+
73
72
  <p align="center">
74
73
  <a href="https://cdn.jsdelivr.net/gh/efuo/static/sponsors.svg">
75
74
  <img src='https://cdn.jsdelivr.net/gh/efuo/static/sponsors.svg' alt="赞助者"/>
76
75
  </a>
77
76
  </p>
78
77
 
78
+ ## 社区
79
+
80
+ [![Discord](https://img.shields.io/discord/1266610921942548553?style=for-the-badge&logo=discord&label=discord&logoColor=white)](https://discord.gg/HZXAnK4Sut)
81
+ [![QQ 群](https://img.shields.io/badge/QQ%20群-948375336-FFD700?logo=Tencent-QQ&logoColor=white&style=for-the-badge)](https://qm.qq.com/q/mxfomMvJPG)
82
+
79
83
  ## 版权
80
84
 
81
85
  [MIT](./LICENSE) License &copy; 2023-至今 [EverFu](https://github.com/efuo)
package/README_zh-Hant.md CHANGED
@@ -1,42 +1,35 @@
1
- [English](README.md)丨[简体中文](README_zh-Hans)丨繁体中文
1
+ [English](README.md)丨[简体中文](README_zh-Hans.md)丨繁体中文
2
2
 
3
3
  <div align="center">
4
-
5
- <img src=".github/persona.avif" alt="Solitude logo" height="200">
6
4
 
7
- <h1>Hexo Theme Solitude</h1>
5
+ <h1>Solitude</h1>
8
6
 
9
7
  一款優雅的 Hexo 主題,支援懶載入、PWA、Latex 以及多種評論系統。
10
8
 
11
- 主題設計由 [@张洪Heo](https://github.com/zhheo)全權授權
9
+ 主題設計由 [@张洪Heo](https://github.com/zhheo) 全權授權
12
10
 
13
- <a href="https://polar.sh/everfu"><img src="https://polar.sh/embed/seeks-funding-shield.svg?org=everfu" /></a>
11
+ ![npm package](https://img.shields.io/npm/v/hexo-theme-solitude?style=for-the-badge)
12
+ ![license](https://img.shields.io/github/license/everfu/hexo-theme-solitude?color=FF5531&style=for-the-badge)
13
+ [![Stars](https://img.shields.io/github/stars/everfu/hexo-theme-solitude?style=for-the-badge)](https://github.com/everfu/hexo-theme-solitude/stargazers)
14
+ [![NPM all downloads](https://img.shields.io/npm/dy/hexo-theme-solitude?color=white&style=for-the-badge)](https://www.npmjs.com/package/hexo-theme-solitude)
14
15
 
15
- ![npm package](https://img.shields.io/npm/v/hexo-theme-solitude?logo=npm)
16
- ![release](https://img.shields.io/github/package-json/v/valor-x/hexo-theme-solitude/master?color=%231ab1ad&label=release)
17
- ![license](https://img.shields.io/github/license/valor-x/hexo-theme-solitude?color=FF5531)
18
- [![Stars](https://img.shields.io/github/stars/everfu/hexo-theme-solitude)](https://github.com/everfu/hexo-theme-solitude/stargazers)
19
- [![NPM all downloads](https://img.shields.io/npm/dy/hexo-theme-solitude?color=white)](https://www.npmjs.com/package/hexo-theme-solitude)
16
+ ![hexo version](https://img.shields.io/badge/hexo-7.0.0+-blue?logo=hexo&logoColor=white&style=for-the-badge)
17
+ ![node version](https://img.shields.io/badge/node-14.0.0+-white?logo=node.js&logoColor=white&style=for-the-badge)
20
18
 
21
- ![hexo version](https://img.shields.io/badge/hexo-7.0.0+-blue?logo=hexo&logoColor=white)
22
- ![node version](https://img.shields.io/badge/node-14.0.0-white?logo=node.js&logoColor=white)
23
- [![Socket Badge](https://socket.dev/api/badge/npm/package/hexo-theme-solitude/)](https://socket.dev/npm/package/hexo-theme-solitude/overview)
24
-
25
- [![twiter](https://img.shields.io/badge/Twitter-gray?logo=x)](https://twitter.com/efu_oo)
26
- [![TG](https://img.shields.io/badge/Telegram-gray?logo=Telegram&logoColor=white)](https://t.me/solitudePro)
27
-
28
- ![JetBrains](https://img.shields.io/badge/jetbrains-support-black?logo=jetbrains)
29
- ![DuoLingo](https://img.shields.io/badge/duolingo-support-black?logo=duolingo&logoColor=white)
30
-
31
- [![gitee](https://img.shields.io/badge/Gitee-red?logo=gitee)](https://gitee.com/nsjjd_w/hexo-theme-solitude)
32
- [![gitlab](https://img.shields.io/badge/GitLab-blue?logo=gitlab)](https://gitlab.com/efu/hexo-theme-solitude)
19
+ ![page view](https://komarev.com/ghpvc/?username=hexo-theme-solitude&abbreviated=true&base=12345&style=for-the-badge)
20
+ [![discord](https://img.shields.io/discord/1266610921942548553?style=for-the-badge&logo=discord&label=discord&logoColor=white)](https://discord.gg/HZXAnK4Sut)
21
+ ![JetBrains](https://img.shields.io/badge/jetbrains-support-black?logo=jetbrains&style=for-the-badge)
33
22
 
34
23
  [文档](https://solitude.js.org/)丨[預覽](https://everfu.github.io/Solitude/)
35
24
 
36
25
  </div>
37
26
 
27
+ <div style="width: 80%; margin: 0 auto">
28
+
38
29
  ![Screenshot](.github/screenshot.avif)
39
30
 
31
+ </div>
32
+
40
33
  ## 特性
41
34
 
42
35
  - 頁面懶載入(Pjax)、圖片懶載入(LazyLoad)、離線應用(PWA)
@@ -67,12 +60,23 @@
67
60
 
68
61
  ## 贊助者
69
62
 
63
+ <div align="center">
64
+
65
+ [![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/W7W1YSMOK)
66
+
67
+ </div>
68
+
70
69
  <p align="center">
71
70
  <a href="https://cdn.jsdelivr.net/gh/efuo/static/sponsors.svg">
72
71
  <img src='https://cdn.jsdelivr.net/gh/efuo/static/sponsors.svg'/>
73
72
  </a>
74
73
  </p>
75
74
 
75
+ ## 社區
76
+
77
+ [![Discord](https://img.shields.io/discord/1266610921942548553?style=for-the-badge&logo=discord&label=discord&logoColor=white)](https://discord.gg/HZXAnK4Sut)
78
+ [![QQ 群](https://img.shields.io/badge/QQ%20群-948375336-FFD700?logo=Tencent-QQ&logoColor=white&style=for-the-badge)](https://qm.qq.com/q/mxfomMvJPG)
79
+
76
80
  ## 版權
77
81
 
78
- [MIT](./LICENSE) License &copy; 2023-至今 [Efu](https://github.com/everfu)
82
+ [MIT](./LICENSE) License &copy; 2023-至今 [Efu](https://github.com/everfu)
package/SECURITY.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  ## Report a vulnerability
4
4
 
5
- To report a vulnerability, please [report privately via security tab](https://github.com/everfu/hexo-theme-solitude/security/advisories/new) on the correct GitHub repository (see [Document](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 are unable to report, please feel free to email us at o@efu.me.
5
+ To report a vulnerability, please [report privately via security tab](https://github.com/everfu/hexo-theme-solitude/security/advisories/new) on the correct GitHub repository (see [Document](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 are unable to report, please feel free to email us at o@everfu.org.
6
6
 
7
7
  All security vulnerabilities will be verified and resolved in a timely manner.
8
8