hexo-theme-solitude 1.5.1 → 1.5.3

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 (153) hide show
  1. package/.github/FUNDING.yml +2 -2
  2. package/.github/ISSUE_TEMPLATE/config.yml +17 -0
  3. package/.github/ISSUE_TEMPLATE/feature_request.yml +48 -0
  4. package/.github/PULL_REQUEST_TEMPLATE.md +35 -0
  5. package/.github/logo.png +0 -0
  6. package/.github/screenshot.png +0 -0
  7. package/.github/workflows/stale.yml +19 -0
  8. package/CONTRIBUTING.md +2 -13
  9. package/LICENSE +21 -674
  10. package/README.md +41 -96
  11. package/README_EN.md +40 -96
  12. package/README_zh-tw.md +60 -0
  13. package/SECURITY.md +9 -0
  14. package/_config.yml +235 -264
  15. package/languages/{en-US.yml → en.yml} +3 -4
  16. package/languages/zh-CN.yml +0 -1
  17. package/languages/zh-TW.yml +0 -1
  18. package/layout/404.pug +1 -1
  19. package/layout/includes/body/gadsense.pug +9 -0
  20. package/layout/includes/console.pug +6 -6
  21. package/layout/includes/footer.pug +13 -13
  22. package/layout/includes/inject/body.pug +10 -1
  23. package/layout/includes/inject/head.pug +4 -4
  24. package/layout/includes/mixins/pagination.pug +2 -2
  25. package/layout/includes/nav.pug +2 -2
  26. package/layout/includes/page/album.pug +9 -9
  27. package/layout/includes/page/says.pug +5 -5
  28. package/layout/includes/sidebar.pug +2 -3
  29. package/layout/includes/widgets/aside/asideInfoCard.pug +1 -1
  30. package/layout/includes/widgets/aside/asideNewestPost.pug +1 -1
  31. package/layout/includes/widgets/aside/asideToc.pug +1 -1
  32. package/layout/includes/widgets/aside/asideWebInfo.pug +8 -8
  33. package/layout/includes/widgets/home/banner.pug +1 -1
  34. package/layout/includes/widgets/home/bbTimeList.pug +7 -7
  35. package/layout/includes/widgets/home/categoryBar.pug +5 -4
  36. package/layout/includes/widgets/home/categoryGroup.pug +1 -1
  37. package/layout/includes/widgets/home/postList.pug +8 -2
  38. package/layout/includes/widgets/home/topGroup.pug +1 -1
  39. package/layout/includes/widgets/nav/menu.pug +1 -1
  40. package/layout/includes/widgets/nav/right.pug +6 -6
  41. package/layout/includes/widgets/page/about/award.pug +3 -3
  42. package/layout/includes/widgets/page/about/hobbies.pug +1 -1
  43. package/layout/includes/widgets/page/banner.pug +1 -1
  44. package/layout/includes/widgets/page/equipment/content.pug +1 -1
  45. package/layout/includes/widgets/page/links/banner.pug +3 -3
  46. package/layout/includes/widgets/page/moments/angle.pug +1 -1
  47. package/layout/includes/widgets/post/award.pug +1 -1
  48. package/layout/includes/widgets/post/copyright.pug +1 -1
  49. package/layout/includes/widgets/post/post-ai.pug +1 -1
  50. package/layout/includes/widgets/post/postMeta.pug +12 -12
  51. package/layout/includes/widgets/rightside/index.pug +25 -25
  52. package/layout/includes/widgets/third-party/comments/comment.pug +1 -1
  53. package/layout/includes/widgets/third-party/music.pug +1 -1
  54. package/layout/includes/widgets/third-party/search/algolia-search.pug +2 -2
  55. package/layout/includes/widgets/third-party/search/local-search.pug +1 -1
  56. package/layout/index.pug +2 -2
  57. package/package.json +9 -9
  58. package/plugins.yml +8 -12
  59. package/scripts/event/cdn.js +10 -0
  60. package/scripts/event/welcome.js +1 -1
  61. package/scripts/filter/lazyload.js +2 -3
  62. package/scripts/helper/related_post.js +1 -1
  63. package/scripts/tags/card.js +1 -1
  64. package/scripts/tags/mermaid.js +9 -0
  65. package/scripts/tags/tabs.js +2 -2
  66. package/source/css/_global/animation.styl +1 -1
  67. package/source/css/_global/index.styl +27 -27
  68. package/source/css/_layout/basic.styl +18 -18
  69. package/source/css/_layout/header.styl +67 -67
  70. package/source/css/_layout/index.styl +14 -14
  71. package/source/css/_mode/index.styl +88 -88
  72. package/source/css/_page/_about/author.styl +5 -5
  73. package/source/css/_page/_about/buff.styl +1 -1
  74. package/source/css/_page/_about/careers.styl +1 -1
  75. package/source/css/_page/_about/contentinfo.styl +2 -2
  76. package/source/css/_page/_about/game.styl +2 -2
  77. package/source/css/_page/_about/like.styl +2 -2
  78. package/source/css/_page/_about/myphoto.styl +1 -1
  79. package/source/css/_page/_about/oneself.styl +2 -2
  80. package/source/css/_page/_about/reward.styl +11 -11
  81. package/source/css/_page/_about/skills.styl +2 -2
  82. package/source/css/_page/_about/statistic.styl +4 -4
  83. package/source/css/_page/_about/tenyear.styl +4 -4
  84. package/source/css/_page/_gallery/index.styl +7 -7
  85. package/source/css/_page/_home/category-bar.styl +11 -8
  86. package/source/css/_page/_home/home-top.styl +16 -16
  87. package/source/css/_page/_home/index.styl +1 -1
  88. package/source/css/_page/_home/pagination.styl +22 -22
  89. package/source/css/_page/_home/recent-post.styl +22 -15
  90. package/source/css/_page/category.styl +11 -11
  91. package/source/css/_page/douban.styl +10 -10
  92. package/source/css/_page/equipment.styl +10 -10
  93. package/source/css/_page/error.styl +3 -3
  94. package/source/css/_page/google.styl +32 -0
  95. package/source/css/_page/index.styl +4 -1
  96. package/source/css/_page/links.styl +27 -27
  97. package/source/css/_page/moment.styl +22 -22
  98. package/source/css/_page/music.styl +16 -14
  99. package/source/css/_page/says.styl +21 -21
  100. package/source/css/_page/share.styl +25 -25
  101. package/source/css/_page/tag.styl +12 -12
  102. package/source/css/_widgets/_aside/allinfo.styl +12 -12
  103. package/source/css/_widgets/_aside/index.styl +4 -4
  104. package/source/css/_widgets/_aside/info.styl +27 -27
  105. package/source/css/_widgets/_aside/newPost.styl +5 -5
  106. package/source/css/_widgets/_aside/toc.styl +7 -7
  107. package/source/css/_widgets/_comment/index.styl +7 -7
  108. package/source/css/_widgets/_comment/twikoo.styl +66 -50
  109. package/source/css/_widgets/_comment/waline.styl +45 -44
  110. package/source/css/_widgets/_extra/console.styl +29 -29
  111. package/source/css/_widgets/_extra/fullpage.styl +1 -1
  112. package/source/css/_widgets/_extra/music.styl +11 -11
  113. package/source/css/_widgets/_extra/pace.styl +2 -2
  114. package/source/css/_widgets/_extra/rightmenu.styl +8 -8
  115. package/source/css/_widgets/_mixins/article-sort.styl +7 -7
  116. package/source/css/_widgets/_mixins/footer.styl +28 -28
  117. package/source/css/_widgets/_mixins/keyboard.styl +8 -8
  118. package/source/css/_widgets/_mixins/other.styl +4 -4
  119. package/source/css/_widgets/_mixins/sidebar.styl +20 -20
  120. package/source/css/_widgets/_post/_highlight/index.styl +16 -16
  121. package/source/css/_widgets/_post/_highlight/theme/default.styl +1 -1
  122. package/source/css/_widgets/_post/_highlight/theme/mac.styl +1 -1
  123. package/source/css/_widgets/_post/commentBarrage.styl +13 -13
  124. package/source/css/_widgets/_post/content.styl +27 -26
  125. package/source/css/_widgets/_post/copyright.styl +9 -9
  126. package/source/css/_widgets/_post/meta.styl +27 -27
  127. package/source/css/_widgets/_post/pagination.styl +13 -13
  128. package/source/css/_widgets/_post/postAI.styl +18 -18
  129. package/source/css/_widgets/_post/relatedPost.styl +8 -8
  130. package/source/css/_widgets/_post/tools.styl +30 -30
  131. package/source/css/_widgets/_search/algolia-search.styl +18 -18
  132. package/source/css/_widgets/_search/local-search.styl +22 -22
  133. package/source/css/_widgets/_tags/button.styl +1 -1
  134. package/source/css/_widgets/_tags/card.styl +12 -12
  135. package/source/css/_widgets/_tags/fold.styl +11 -11
  136. package/source/css/_widgets/_tags/index.styl +26 -26
  137. package/source/css/_widgets/_tags/link.styl +10 -9
  138. package/source/css/_widgets/_tags/mermaid.styl +4 -0
  139. package/source/css/_widgets/_tags/note.styl +2 -2
  140. package/source/css/_widgets/_tags/tabs.styl +10 -10
  141. package/source/css/_widgets/_tags/timeline.styl +5 -5
  142. package/source/img/logo.png +0 -0
  143. package/source/js/comment/twikoo_commentBarrage.js +1 -1
  144. package/source/js/comment/waline_commentBarrage.js +1 -1
  145. package/source/js/covercolor/api.js +18 -18
  146. package/source/js/covercolor/local.js +18 -18
  147. package/source/js/main.js +5 -5
  148. package/source/js/music.js +1 -12
  149. package/source/js/search/algolia.js +7 -7
  150. package/source/js/tw_cn.js +2 -2
  151. package/source/js/universe.min.js +5 -0
  152. package/source/js/utils.js +2 -2
  153. package/source/js/waterfall.min.js +1 -0
package/README.md CHANGED
@@ -1,115 +1,60 @@
1
- <div align="right">
2
- <a title="English" href="/README_EN.md">English</a>
3
- </div>
4
-
5
- ## Hexo-Theme-Solitude
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)
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
- ![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)
14
-
15
- 主题预览: [王卓Sco](https://blog.wzsco.cn/) | [Demo](https://solitude.wzsco.cn/)
16
-
17
- 主题文档: [中文](https://docs.wzsco.cn/) | [ English ](https://docs.wzsco.cn/en/)
18
-
19
- 主题交流群:`文档内有群二维码和链接`
20
-
21
- ## 💻 安裝
22
-
23
- ### Git 安裝
24
-
25
- > 本仓库同时上传到 [Gitee](https://gitee.com/nsjjd_w/hexo-theme-solitude),如果你访问 Github 缓慢,可从 Gitee 中下载。
1
+ 简体中文丨[繁体中文](README_zh-tw.md)丨[English](README_EN.md)
26
2
 
27
- 在博客根目录里安装稳定版【推荐】
3
+ <div align="center">
4
+ <img width="200" style="border-radius:10%;" src="./.github/logo.png" alt="Solitude logo"/>
28
5
 
29
- ```powershell
30
- git clone -b main https://github.com/wleelw/hexo-theme-solitude.git themes/solitude
31
- ```
6
+ <h1 align="center">Hexo Theme Solitude</h1>
32
7
 
33
- 如果想要安装比较新的 dev 分支,可以在博客根目录里安装开发版
8
+ <p align="center">一款优雅的 Hexo 主题,支持懒加载、PWA、Latex以及多种评论系统。</p>
34
9
 
35
- ```powershell
36
- git clone -b dev https://github.com/wleelw/hexo-theme-solitude.git themes/solitude
37
- ```
10
+ ![release](https://img.shields.io/github/package-json/v/valor-x/hexo-theme-solitude/master?color=%231ab1ad&label=release)
11
+ ![https://img.shields.io/npm/v/hexo-theme-solitude?color=%09%23bf00ff](https://img.shields.io/npm/v/hexo-theme-solitude?color=%09%23bf00ff)
12
+ ![license](https://img.shields.io/github/license/valor-x/hexo-theme-solitude?color=FF5531)
13
+ ![hexo version](https://img.shields.io/badge/hexo-6.3.0+-0e83c)
14
+ [![Stars](https://img.shields.io/github/stars/valor-x/hexo-theme-solitude)](https://github.com/valor-x/hexo-theme-solitude/stargazers)
15
+ [![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)
38
16
 
39
- ### npm 安装
17
+ [预览](https://solitude-demo.efu.me/) 丨 [文档](https://solitude-docs.efu.me/)
40
18
 
41
- > 此方法只支持 Hexo 5.0.0 以上版本。通过 npm 安装并不会在 themes 里生成主题文件夹,而是在 node_modules 里生成
19
+ </div>
42
20
 
43
- 在博客根目录里执行:
21
+ ![Screenshot](.github/screenshot.png)
44
22
 
45
- ```powershell
46
- npm install hexo-theme-solitude
47
- ```
23
+ ## 特性
48
24
 
49
- ## ⚙ 应用主题
25
+ - 页面懒加载(Pjax)、图片懒加载(LazyLoad)、离线应用(PWA)
26
+ - 评论(Twikoo、Waline)
27
+ - 显示切换(ColorMode)
28
+ - 灯箱(medium-zoom、fancybox)
29
+ - 数学公式(Latex)
30
+ - 特色页面:即刻短文、我的装备、在线工具、音乐馆、友链鱼塘、相册页、豆瓣页
31
+ - 文章功能:AI 摘要、代码高亮
50
32
 
51
- 修改hexo配置文件`_config.yml`,把主题改为`solitude`
33
+ ## Todo
52
34
 
53
- ```
54
- theme: solitude
55
- ```
35
+ - [x] Waline 评论支持
36
+ - [ ] Tags plugin 插件化
37
+ - [ ] 相册页重构
56
38
 
57
- ## 🎉 特色
39
+ ## 应用
58
40
 
59
- - [x] 页面组件懒加载(pjax方案)
60
- - [x] 图片懒加载
61
- - [x] 多种代码高亮方案
62
- - [x] 多语言配置
63
- - [x] 支持多种评论插件
64
- - [x] 内置网页访问统计
65
- - [x] 支持暗色模式
66
- - [x] 支持脚注语法
67
- - [x] 支持自定义CDN静态资源
68
- - [x] 支持多功能右键菜单
69
- - [x] 支持定制化的主色调随封面图片颜色变化
70
- - [x] 支持沉浸式状态栏
71
- - [x] 支持聊天系统
72
- - [x] 支持百度分析
73
- - [x] 支持图片大图查看
74
- - [x] 支持瀑布流即刻说说
75
- - [x] 支持自定义图标(iconfont、CoDeSign、fontawesome)
76
- - [x] 支持高速缓存的swpp,pwa特性
77
- - [x] 优秀的隐私协议支持
78
- - [x] 文章摘要AI支持
79
- - [x] 支持全局中控台
80
- - [x] 支持本地搜索/algolia搜索🔍
81
- - [x] 支持 Katex 数学公式
82
- - [x] 支持 PWA
41
+ 1. 使用 NPM 包进行安装
42
+ ```bash
43
+ npm i hexo-theme-solitude
44
+ ```
45
+ 2. 应用主题
46
+ ```yaml
47
+ theme: solitude
48
+ ```
49
+
50
+ 前往 [文档](https://solitude-docs.efu.me/) 获取更多信息。
83
51
 
84
- ## 贡献者
52
+ ## 贡献者
85
53
 
86
- <a href="https://github.com/wleelw/hexo-theme-solitude/graphs/contributors">
87
- <img src="https://contrib.rocks/image?repo=wleelw/hexo-theme-solitude" />
54
+ <a href="https://github.com/valor-x/hexo-theme-solitude/graphs/contributors">
55
+ <img alt="contributors" src="https://contrib.rocks/image?repo=valor-x/hexo-theme-solitude" />
88
56
  </a>
89
57
 
90
- **本主题为 [Heo](https://blog.zhheo.com/) 的衍生主题,由 [@张洪Heo](https://github.com/zhheo) 作者全权授权、设计!**
58
+ **主题由 [@张洪Heo](https://github.com/zhheo) 作者全权授权、设计!**
91
59
 
92
60
  > 欢迎你对本主题做出贡献![贡献指南](/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)
113
-
114
- ### 关于
115
- ![关于](https://github.com/wleelw/hexo-theme-solitude/assets/74389842/46d9db0d-a2d8-4c69-a393-f3388389fbcb)
package/README_EN.md CHANGED
@@ -1,116 +1,60 @@
1
- <div align="right">
2
- <a title="English" href="/README.md">中文</a>
3
- </div>
1
+ [简体中文](README.md)丨[繁体中文](README_EN.md)丨English
2
+
3
+ <div align="center">
4
+ <img width="200" style="border-radius:10%;" src="./.github/logo.png" alt="Solitude logo"/>
4
5
 
6
+ <h1 align="center">Hexo Theme Solitude</h1>
5
7
 
6
- ## Hexo-Theme-Solitude
8
+ <p align="center">An elegant Hexo theme that supports lazy loading, PWA, Latex, and multiple comment systems.</p>
7
9
 
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)
10
+ ![release](https://img.shields.io/github/package-json/v/valor-x/hexo-theme-solitude/master?color=%231ab1ad&label=release)
10
11
  ![https://img.shields.io/npm/v/hexo-theme-solitude?color=%09%23bf00ff](https://img.shields.io/npm/v/hexo-theme-solitude?color=%09%23bf00ff)
12
+ ![license](https://img.shields.io/github/license/valor-x/hexo-theme-solitude?color=FF5531)
11
13
  ![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
-
14
- ![首页](https://github.com/wleelw/hexo-theme-solitude/assets/74389842/d008aba4-942d-4fdb-a611-d934c0bad9fe)
15
-
16
- Theme Preview: [王卓Sco](https://blog.wzsco.cn/)|[Demo](https://solitude.wzsco.cn/)
17
-
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`
21
-
22
- ## 💻 Installation
23
-
24
- ### Installation via Git
25
-
26
- > This repository is also uploaded to [Gitee](https://gitee.com/nsjjd_w/hexo-theme-solitude). If you have trouble accessing Github, you can download it from Gitee.
27
-
28
- Install the stable version in the root of your blog directory 【Recommended】
29
-
30
- ```powershell
31
- git clone -b main https://github.com/wleelw/hexo-theme-solitude.git themes/solitude
32
- ```
14
+ [![Stars](https://img.shields.io/github/stars/valor-x/hexo-theme-solitude)](https://github.com/valor-x/hexo-theme-solitude/stargazers)
15
+ [![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)
33
16
 
34
- If you want to install the latest development version, you can install the dev branch in the root of your blog directory
17
+ [Preview](https://solitude-demo.efu.me/) 丨 [Documentation](https://solitude-docs.efu.me/)
35
18
 
36
- ```powershell
37
- git clone -b dev https://github.com/wleelw/hexo-theme-solitude.git themes/solitude
38
- ```
39
-
40
- ### Installation via npm
19
+ </div>
41
20
 
42
- > 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.
21
+ ![Screenshot](.github/screenshot.png)
43
22
 
44
- Execute the following command in the root of your blog directory:
23
+ ## Features
45
24
 
46
- ```powershell
47
- npm install hexo-theme-solitude
48
- ```
25
+ - Pjax、LazyLoad、PWA
26
+ - Comments(Twikoo、Waline)
27
+ - ColorMode
28
+ - Lightbox(medium-zoom、fancybox)
29
+ - Mathematical formulas(Latex)
30
+ - Featured pages: Instant Short Article, My Equipment, Online Tools, Music Gallery, Friend Chain Fish Pond, Photo Album Page, Douban Page
31
+ - Article features: AI summary, code highlighting
49
32
 
50
- ## ⚙ Applying the Theme
33
+ ## Todo
51
34
 
52
- Modify the hexo configuration file `_config.yml` and change the theme to `solitude`
35
+ - [x] Support Waline
36
+ - [ ] Tags plugin
37
+ - [ ] Album reconstruction
53
38
 
54
- ```
55
- theme: solitude
56
- ```
39
+ ## Setup
57
40
 
58
- ## 🎉 Features
41
+ 1. Use the NPM package
42
+ ```bash
43
+ npm i hexo-theme-solitude
44
+ ```
45
+ 2. Apply
46
+ ```yaml
47
+ theme: solitude
48
+ ```
59
49
 
60
- - [x] Lazy loading of page components (pjax scheme)
61
- - [x] Lazy loading of images
62
- - [x] Multiple code highlighting schemes
63
- - [x] Multi-language configuration
64
- - [x] Support for multiple comment plugins
65
- - [x] Built-in web page access statistics
66
- - [x] Support for dark mode
67
- - [x] Support for footnote syntax
68
- - [x] Support for custom CDN static resources
69
- - [x] Support multi-function right-click menu
70
- - [x] Support for customizing the main color to change with the color of the cover image
71
- - [x] Support for immersive status bars
72
- - [x] Support for chat system
73
- - [x] Support for Baidu Analytics
74
- - [x] Support viewing large images
75
- - [x] Support for waterfall instant talk
76
- - [x] Support for custom icons (iconfont, CoDeSign, fontawesome)
77
- - [x] Support SWPP and PWA features for caching
78
- - [x] Excellent privacy protocol support
79
- - [x] Article abstract AI support
80
- - [x] Support for global center consoles
81
- - [x] Support local search/algolia search 🔍
82
- - [x] Support for Katex math formulas
83
- - [x] PWA support
50
+ Check out the [Documentation](https://solitude-docs.efu.me/) for more information.
84
51
 
85
- ## Contributors
52
+ ## Contributors
86
53
 
87
- <a href="https://github.com/wleelw/hexo-theme-solitude/graphs/contributors">
88
- <img src="https://contrib.rocks/image?repo=wleelw/hexo-theme-solitude" />
54
+ <a href="https://github.com/valor-x/hexo-theme-solitude/graphs/contributors">
55
+ <img alt="contributors" src="https://contrib.rocks/image?repo=valor-x/hexo-theme-solitude" />
89
56
  </a>
90
57
 
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)
58
+ **Theme is fully licensed and designed by the author of [@张洪Heo](https://github.com/zhheo)!**
114
59
 
115
- ### About
116
- ![About](https://github.com/wleelw/hexo-theme-solitude/assets/74389842/46d9db0d-a2d8-4c69-a393-f3388389fbcb)
60
+ > You are welcome to contribute to this topic! [Contribution Guide](/CONTRIBUTING.md)
@@ -0,0 +1,60 @@
1
+ [简体中文](README.md)丨繁体中文丨[English](README_EN.md)
2
+
3
+ <div align="center">
4
+ <img width="200" style="border-radius:10%;" src="./.github/logo.png" alt="Solitude logo"/>
5
+
6
+ <h1 align="center">Hexo Theme Solitude</h1>
7
+
8
+ <p align="center">一款優雅的 Hexo 主題,支援懶載入、PWA、Latex以及多種評論系統。</p>
9
+
10
+ ![release](https://img.shields.io/github/package-json/v/valor-x/hexo-theme-solitude/master?color=%231ab1ad&label=release)
11
+ ![https://img.shields.io/npm/v/hexo-theme-solitude?color=%09%23bf00ff](https://img.shields.io/npm/v/hexo-theme-solitude?color=%09%23bf00ff)
12
+ ![license](https://img.shields.io/github/license/valor-x/hexo-theme-solitude?color=FF5531)
13
+ ![hexo version](https://img.shields.io/badge/hexo-6.3.0+-0e83c)
14
+ [![Stars](https://img.shields.io/github/stars/valor-x/hexo-theme-solitude)](https://github.com/valor-x/hexo-theme-solitude/stargazers)
15
+ [![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)
16
+
17
+ [預覽](https://solitude-demo.efu.me/) 丨 [文档](https://solitude-docs.efu.me/)
18
+
19
+ </div>
20
+
21
+ ![Screenshot](.github/screenshot.png)
22
+
23
+ ## 特性
24
+
25
+ - 頁面懶載入(Pjax)、圖片懶載入(LazyLoad)、離線應用(PWA)
26
+ - 評論(Twikoo、Waline)
27
+ - 顯示切換(ColorMode)
28
+ - 燈箱(medium-zoom、fancybox)
29
+ - 數學公式(Latex)
30
+ - 特色頁面:即刻短文、我的裝備、在線工具、音樂館、友鏈魚塘、相冊頁、豆瓣頁
31
+ - 文章功能:AI 摘要、代碼高亮
32
+
33
+ ## Todo
34
+
35
+ - [x] Waline 評論支援
36
+ - [ ] Tags plugin 外掛程式化
37
+ - [ ] 相冊頁重構
38
+
39
+ ## 應用
40
+
41
+ 1. 使用 NPM 包進行安裝
42
+ ```bash
43
+ npm i hexo-theme-solitude
44
+ ```
45
+ 2. 應用主題
46
+ ```yaml
47
+ theme: solitude
48
+ ```
49
+
50
+ 前往 [文檔](https://solitude-docs.efu.me) 獲取更多資訊。
51
+
52
+ ## 貢獻者
53
+
54
+ <a href="https://github.com/valor-x/hexo-theme-solitude/graphs/contributors">
55
+ <img alt="contributors" src="https://contrib.rocks/image?repo=valor-x/hexo-theme-solitude" />
56
+ </a>
57
+
58
+ **主題由 [@张洪Heo](https://github.com/zhheo) 全權授權、設計!**
59
+
60
+ > 歡迎你對本主題做出貢獻![貢獻指南](/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`),以保证尽可能安全。