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.
- package/README.md +26 -29
- package/README_zh-Hant.md +1 -1
- package/{README_en-US.md → README_zh_CN.md} +29 -26
- package/_config.yml +150 -597
- package/languages/default.yml +1 -0
- package/languages/en.yml +1 -0
- package/layout/404.pug +1 -1
- package/layout/includes/console.pug +7 -7
- package/layout/includes/footer.pug +6 -6
- package/layout/includes/head/config.pug +5 -5
- package/layout/includes/inject/body.pug +1 -0
- package/layout/includes/inject/head.pug +1 -1
- package/layout/includes/mixins/articleSort.pug +3 -1
- package/layout/includes/mixins/pagination.pug +2 -2
- package/layout/includes/nav.pug +2 -1
- package/layout/includes/page/categories.pug +3 -2
- package/layout/includes/page/says.pug +5 -5
- package/layout/includes/page/tags.pug +3 -2
- package/layout/includes/rightmenu.pug +19 -20
- package/layout/includes/sidebar.pug +1 -1
- package/layout/includes/widgets/aside/asideInfoCard.pug +1 -1
- package/layout/includes/widgets/aside/asideNewestPost.pug +1 -1
- package/layout/includes/widgets/aside/asideNewstComments.pug +2 -2
- package/layout/includes/widgets/aside/asideToc.pug +1 -1
- package/layout/includes/widgets/aside/asideWebInfo.pug +10 -10
- package/layout/includes/widgets/home/bbTimeList.pug +7 -9
- package/layout/includes/widgets/home/carousel.pug +3 -1
- package/layout/includes/widgets/home/categoryBar.pug +1 -1
- package/layout/includes/widgets/home/hot/artalk.pug +1 -1
- package/layout/includes/widgets/home/hot/twikoo.pug +1 -1
- package/layout/includes/widgets/home/postList.pug +4 -2
- package/layout/includes/widgets/home/topGroup.pug +1 -1
- package/layout/includes/widgets/nav/right.pug +9 -5
- package/layout/includes/widgets/page/about/award.pug +1 -1
- package/layout/includes/widgets/page/about/hobbies.pug +1 -1
- package/layout/includes/widgets/page/about/other.pug +1 -1
- package/layout/includes/widgets/page/banner.pug +1 -1
- package/layout/includes/widgets/page/equipment/content.pug +1 -1
- package/layout/includes/widgets/page/links/banner.pug +2 -2
- package/layout/includes/widgets/page/recentcomment/artalk.pug +1 -1
- package/layout/includes/widgets/page/recentcomment/twikoo.pug +1 -1
- package/layout/includes/widgets/page/recentcomment/valine.pug +1 -1
- package/layout/includes/widgets/page/recentcomment/waline.pug +1 -1
- package/layout/includes/widgets/post/award.pug +1 -1
- package/layout/includes/widgets/post/copyright.pug +10 -10
- package/layout/includes/widgets/post/post-ai.pug +1 -1
- package/layout/includes/widgets/post/postInfo.pug +20 -18
- package/layout/includes/widgets/third-party/comments/comment.pug +4 -4
- package/layout/includes/widgets/third-party/search/algolia-search.pug +1 -4
- package/layout/includes/widgets/third-party/search/local-search.pug +1 -1
- package/layout/includes/widgets/third-party/tianli-talk.pug +1 -1
- package/layout/post.pug +3 -2
- package/layout/tag.pug +3 -2
- package/package.json +1 -1
- package/plugins.yml +6 -6
- package/scripts/helper/related_post.js +1 -1
- package/scripts/helper/stylus.js +1 -0
- package/source/css/_global/index.styl +13 -13
- package/source/css/_highlight/index.styl +2 -2
- package/source/css/_highlight/theme/default.styl +1 -1
- package/source/css/_highlight/theme/mac.styl +1 -1
- package/source/css/_layout/console.styl +2 -1
- package/source/css/_layout/footer.styl +1 -1
- package/source/css/_layout/header.styl +66 -21
- package/source/css/_page/_home/category-bar.styl +4 -4
- package/source/css/_page/_home/home-top.styl +2 -0
- package/source/css/_page/_home/hot-tip.styl +2 -1
- package/source/css/_post/copyright.styl +104 -105
- package/source/css/_search/algolia-search.styl +0 -6
- package/source/js/covercolor/local.js +10 -4
- package/source/js/main.js +5 -5
- package/source/js/tw_cn.js +0 -3
package/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
|
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
|
-
|
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
|

|
@@ -31,55 +31,52 @@
|
|
31
31
|
[](https://gitee.com/nsjjd_w/hexo-theme-solitude)
|
32
32
|
[](https://gitlab.com/efu/hexo-theme-solitude)
|
33
33
|
|
34
|
-
[
|
34
|
+
[Documentation](https://solitude.js.org/)丨[Preview](https://everfu.github.io/Solitude/)
|
35
35
|
|
36
36
|
</div>
|
37
37
|
|
38
38
|

|
39
39
|
|
40
|
-
##
|
40
|
+
## Features
|
41
41
|
|
42
|
-
-
|
43
|
-
-
|
44
|
-
-
|
45
|
-
-
|
46
|
-
-
|
47
|
-
-
|
48
|
-
-
|
42
|
+
- Pjax、LazyLoad、PWA.
|
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
|
-
>
|
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.
|
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
|
-
|
70
|
+
## Sponsors
|
71
|
+
|
72
|
+
[](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'
|
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 © 2023-至今 [EverFu](https://github.com/efuo)
|
80
|
+
## License
|
84
81
|
|
85
|
-
[
|
82
|
+
[MIT](./LICENSE) License © 2023-PRESENT [Ever Fu](https://github.com/everfu)
|
package/README_zh-Hant.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
[
|
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
|
-
|
9
|
+
一款优雅的 Hexo 主题,支持懒加载、PWA、Latex 以及多种评论系统。
|
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
|

|
@@ -31,52 +31,55 @@
|
|
31
31
|
[](https://gitee.com/nsjjd_w/hexo-theme-solitude)
|
32
32
|
[](https://gitlab.com/efu/hexo-theme-solitude)
|
33
33
|
|
34
|
-
[
|
34
|
+
[文档](https://solitude.js.org/)丨[预览](https://everfu.github.io/Solitude/)
|
35
35
|
|
36
36
|
</div>
|
37
37
|
|
38
38
|

|
39
39
|
|
40
|
-
##
|
40
|
+
## 特性
|
41
41
|
|
42
|
-
- Pjax
|
43
|
-
-
|
44
|
-
- ColorMode
|
45
|
-
-
|
46
|
-
-
|
47
|
-
-
|
48
|
-
-
|
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]
|
53
|
-
- [x]
|
52
|
+
- [x] 首页顶部新样式
|
53
|
+
- [x] 首页文章列表三列显示
|
54
|
+
- [x] btns 外挂标签
|
54
55
|
|
55
|
-
>
|
56
|
+
> 如有问题请提 [issue](https://github.com/everfu/hexo-theme-solitude/issues)
|
56
57
|
|
57
|
-
##
|
58
|
+
## 应用
|
58
59
|
|
59
|
-
1.
|
60
|
+
1. 使用 NPM 包进行安装
|
60
61
|
```bash
|
61
62
|
npm i hexo-theme-solitude
|
62
63
|
```
|
63
|
-
2.
|
64
|
+
2. 应用主题
|
64
65
|
```yaml
|
65
66
|
theme: solitude
|
66
67
|
```
|
68
|
+
|
69
|
+
前往 [文档](https://solitude.js.org/) 获取更多信息。
|
67
70
|
|
68
|
-
|
71
|
+
## 赞助者
|
69
72
|
|
70
|
-
|
71
|
-
|
72
|
-
[](https://www.buymeacoffee.com/everfu)
|
73
|
+
[](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
|
-
##
|
81
|
+
## 版权
|
82
|
+
|
83
|
+
[MIT](./LICENSE) License © 2023-至今 [EverFu](https://github.com/efuo)
|
81
84
|
|
82
|
-
[
|
85
|
+
[](https://app.fossa.com/projects/git%2Bgithub.com%2Fvalor-x%2Fhexo-theme-solitude?ref=badge_large)
|