hexo-theme-solitude 2.0.2 → 2.0.4
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/.github/FUNDING.yml +3 -3
- package/.github/ISSUE_TEMPLATE/config.yml +1 -5
- package/CODE_OF_CONDUCT.md +92 -47
- package/README.md +34 -32
- package/{README_zh_CN.md → README_zh-Hans.md} +24 -22
- package/README_zh-Hant.md +26 -24
- package/SECURITY.md +1 -1
- package/_config.yml +453 -306
- package/languages/default.yml +13 -13
- package/languages/en.yml +14 -13
- package/layout/archive.pug +11 -4
- package/layout/includes/footer.pug +6 -5
- package/layout/includes/widgets/home/categoryBar.pug +2 -1
- package/package.json +1 -1
- package/scripts/event/merge_config.js +5 -0
- package/scripts/filter/post_image.js +0 -1
- package/source/css/_layout/aside.styl +1 -1
- package/source/css/_layout/header.styl +22 -15
- package/source/css/_page/_about/myphoto.styl +1 -1
- package/source/css/_page/_about/oneself.styl +2 -2
- package/source/css/_page/_about/personalities.styl +1 -1
- package/source/css/_page/_about/skills.styl +1 -1
- package/source/css/_page/_about/statistic.styl +1 -1
- package/source/css/var.styl +1 -1
- package/source/img/pwa/favicon.png +0 -0
- package/source/img/pwa/favicon_16.png +0 -0
- package/source/img/pwa/favicon_32.png +0 -0
- package/source/js/main.js +1 -0
- package/.github/persona.avif +0 -0
- package/source/img/pwa/favicon.ico +0 -0
- package/source/img/pwa/favicon_16.ico +0 -0
- package/source/img/pwa/favicon_32.ico +0 -0
package/.github/FUNDING.yml
CHANGED
@@ -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:
|
5
|
-
polar:
|
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
|
package/CODE_OF_CONDUCT.md
CHANGED
@@ -1,85 +1,130 @@
|
|
1
1
|
|
2
|
-
#
|
2
|
+
# Contributor Covenant Code of Conduct
|
3
3
|
|
4
|
-
##
|
4
|
+
## Our Pledge
|
5
5
|
|
6
|
-
|
6
|
+
We as members, contributors, and leaders pledge to make participation in our
|
7
|
+
community a harassment-free experience for everyone, regardless of age, body
|
8
|
+
size, visible or invisible disability, ethnicity, sex characteristics, gender
|
9
|
+
identity and expression, level of experience, education, socio-economic status,
|
10
|
+
nationality, personal appearance, race, caste, color, religion, or sexual
|
11
|
+
identity and orientation.
|
7
12
|
|
8
|
-
|
13
|
+
We pledge to act and interact in ways that contribute to an open, welcoming,
|
14
|
+
diverse, inclusive, and healthy community.
|
9
15
|
|
10
|
-
##
|
16
|
+
## Our Standards
|
11
17
|
|
12
|
-
|
18
|
+
Examples of behavior that contributes to a positive environment for our
|
19
|
+
community include:
|
13
20
|
|
14
|
-
*
|
15
|
-
*
|
16
|
-
*
|
17
|
-
*
|
18
|
-
|
21
|
+
* Demonstrating empathy and kindness toward other people
|
22
|
+
* Being respectful of differing opinions, viewpoints, and experiences
|
23
|
+
* Giving and gracefully accepting constructive feedback
|
24
|
+
* Accepting responsibility and apologizing to those affected by our mistakes,
|
25
|
+
and learning from the experience
|
26
|
+
* Focusing on what is best not just for us as individuals, but for the overall
|
27
|
+
community
|
19
28
|
|
20
|
-
|
29
|
+
Examples of unacceptable behavior include:
|
21
30
|
|
22
|
-
*
|
23
|
-
|
24
|
-
*
|
25
|
-
*
|
26
|
-
*
|
31
|
+
* The use of sexualized language or imagery, and sexual attention or advances of
|
32
|
+
any kind
|
33
|
+
* Trolling, insulting or derogatory comments, and personal or political attacks
|
34
|
+
* Public or private harassment
|
35
|
+
* Publishing others' private information, such as a physical or email address,
|
36
|
+
without their explicit permission
|
37
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
38
|
+
professional setting
|
27
39
|
|
28
|
-
##
|
40
|
+
## Enforcement Responsibilities
|
29
41
|
|
30
|
-
|
42
|
+
Community leaders are responsible for clarifying and enforcing our standards of
|
43
|
+
acceptable behavior and will take appropriate and fair corrective action in
|
44
|
+
response to any behavior that they deem inappropriate, threatening, offensive,
|
45
|
+
or harmful.
|
31
46
|
|
32
|
-
|
47
|
+
Community leaders have the right and responsibility to remove, edit, or reject
|
48
|
+
comments, commits, code, wiki edits, issues, and other contributions that are
|
49
|
+
not aligned to this Code of Conduct, and will communicate reasons for moderation
|
50
|
+
decisions when appropriate.
|
33
51
|
|
34
|
-
##
|
52
|
+
## Scope
|
35
53
|
|
36
|
-
|
54
|
+
This Code of Conduct applies within all community spaces, and also applies when
|
55
|
+
an individual is officially representing the community in public spaces.
|
56
|
+
Examples of representing our community include using an official email address,
|
57
|
+
posting via an official social media account, or acting as an appointed
|
58
|
+
representative at an online or offline event.
|
37
59
|
|
38
|
-
|
60
|
+
## Enforcement
|
39
61
|
|
40
|
-
|
62
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
63
|
+
reported to the community leaders responsible for enforcement at
|
64
|
+
[INSERT CONTACT METHOD].
|
65
|
+
All complaints will be reviewed and investigated promptly and fairly.
|
41
66
|
|
42
|
-
|
43
|
-
|
67
|
+
All community leaders are obligated to respect the privacy and security of the
|
68
|
+
reporter of any incident.
|
44
69
|
|
45
|
-
|
70
|
+
## Enforcement Guidelines
|
46
71
|
|
47
|
-
|
72
|
+
Community leaders will follow these Community Impact Guidelines in determining
|
73
|
+
the consequences for any action they deem in violation of this Code of Conduct:
|
48
74
|
|
49
|
-
|
75
|
+
### 1. Correction
|
50
76
|
|
51
|
-
|
77
|
+
**Community Impact**: Use of inappropriate language or other behavior deemed
|
78
|
+
unprofessional or unwelcome in the community.
|
52
79
|
|
53
|
-
|
80
|
+
**Consequence**: A private, written warning from community leaders, providing
|
81
|
+
clarity around the nature of the violation and an explanation of why the
|
82
|
+
behavior was inappropriate. A public apology may be requested.
|
54
83
|
|
55
|
-
|
84
|
+
### 2. Warning
|
56
85
|
|
57
|
-
|
86
|
+
**Community Impact**: A violation through a single incident or series of
|
87
|
+
actions.
|
58
88
|
|
59
|
-
|
89
|
+
**Consequence**: A warning with consequences for continued behavior. No
|
90
|
+
interaction with the people involved, including unsolicited interaction with
|
91
|
+
those enforcing the Code of Conduct, for a specified period of time. This
|
92
|
+
includes avoiding interactions in community spaces as well as external channels
|
93
|
+
like social media. Violating these terms may lead to a temporary or permanent
|
94
|
+
ban.
|
60
95
|
|
61
|
-
|
96
|
+
### 3. Temporary Ban
|
62
97
|
|
63
|
-
|
98
|
+
**Community Impact**: A serious violation of community standards, including
|
99
|
+
sustained inappropriate behavior.
|
64
100
|
|
65
|
-
|
101
|
+
**Consequence**: A temporary ban from any sort of interaction or public
|
102
|
+
communication with the community for a specified period of time. No public or
|
103
|
+
private interaction with the people involved, including unsolicited interaction
|
104
|
+
with those enforcing the Code of Conduct, is allowed during this period.
|
105
|
+
Violating these terms may lead to a permanent ban.
|
66
106
|
|
67
|
-
|
107
|
+
### 4. Permanent Ban
|
68
108
|
|
69
|
-
|
109
|
+
**Community Impact**: Demonstrating a pattern of violation of community
|
110
|
+
standards, including sustained inappropriate behavior, harassment of an
|
111
|
+
individual, or aggression toward or disparagement of classes of individuals.
|
70
112
|
|
71
|
-
|
113
|
+
**Consequence**: A permanent ban from any sort of public interaction within the
|
114
|
+
community.
|
72
115
|
|
73
|
-
|
116
|
+
## Attribution
|
74
117
|
|
75
|
-
|
118
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
|
119
|
+
version 2.1, available at
|
120
|
+
[https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].
|
76
121
|
|
77
|
-
|
122
|
+
Community Impact Guidelines were inspired by
|
123
|
+
[Mozilla's code of conduct enforcement ladder][Mozilla CoC].
|
78
124
|
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
其他语言翻译参见 [https://www.contributor-covenant.org/translations][translations]。
|
125
|
+
For answers to common questions about this code of conduct, see the FAQ at
|
126
|
+
[https://www.contributor-covenant.org/faq][FAQ]. Translations are available at
|
127
|
+
[https://www.contributor-covenant.org/translations][translations].
|
83
128
|
|
84
129
|
[homepage]: https://www.contributor-covenant.org
|
85
130
|
[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
|
package/README.md
CHANGED
@@ -1,51 +1,44 @@
|
|
1
|
-
English丨[简体中文](
|
1
|
+
English丨[简体中文](README_zh-Hans.md)丨[繁体中文](README_zh-Hant.md)
|
2
2
|
|
3
3
|
<div align="center">
|
4
4
|
|
5
|
-
<
|
5
|
+
<h1>Solitude</h1>
|
6
6
|
|
7
|
-
|
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
|
-

|
16
|
-

|
17
|
-

|
18
|
-
[](https://github.com/everfu/hexo-theme-solitude/stargazers)
|
19
|
-
[](https://www.npmjs.com/package/hexo-theme-solitude)
|
20
|
-
|
21
|
-

|
22
|
-

|
23
|
-
[](https://socket.dev/npm/package/hexo-theme-solitude/overview)
|
24
10
|
|
25
|
-
|
26
|
-
|
11
|
+

|
12
|
+

|
13
|
+
[](https://github.com/everfu/hexo-theme-solitude/stargazers)
|
14
|
+
[](https://www.npmjs.com/package/hexo-theme-solitude)
|
27
15
|
|
28
|
-

|
17
|
+

|
30
18
|
|
31
|
-
|
32
|
-
[
|
20
|
+
[](https://discord.gg/HZXAnK4Sut)
|
21
|
+

|
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
|

|
39
30
|
|
31
|
+
</div>
|
32
|
+
|
40
33
|
## Features
|
41
34
|
|
42
|
-
- Pjax
|
43
|
-
- Comments(Twikoo
|
44
|
-
- ColorMode
|
45
|
-
- Lightbox(medium-zoom
|
46
|
-
- Mathematical formulas(Latex)
|
47
|
-
-
|
48
|
-
- Article features: AI
|
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,14 +62,23 @@ Check out the [Documentation](https://solitude.js.org/) for more information.
|
|
69
62
|
|
70
63
|
## Sponsors
|
71
64
|
|
72
|
-
|
65
|
+
<div align="center">
|
66
|
+
|
67
|
+
[](https://ko-fi.com/everfu)
|
68
|
+
|
69
|
+
</div>
|
73
70
|
|
74
71
|
<p align="center">
|
75
72
|
<a href="https://cdn.jsdelivr.net/gh/efuo/static/sponsors.svg">
|
76
|
-
<img src='https://cdn.jsdelivr.net/gh/efuo/static/sponsors.svg'/>
|
73
|
+
<img src='https://cdn.jsdelivr.net/gh/efuo/static/sponsors.svg' alt="sponsor"/>
|
77
74
|
</a>
|
78
75
|
</p>
|
79
76
|
|
77
|
+
## Community
|
78
|
+
|
79
|
+
[](https://discord.gg/HZXAnK4Sut)
|
80
|
+
[](https://qm.qq.com/q/mxfomMvJPG)
|
81
|
+
|
80
82
|
## License
|
81
83
|
|
82
84
|
[MIT](./LICENSE) License © 2023-PRESENT [Ever Fu](https://github.com/everfu)
|
@@ -2,41 +2,34 @@
|
|
2
2
|
|
3
3
|
<div align="center">
|
4
4
|
|
5
|
-
<
|
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
|
-
|
14
|
-
|
15
|
-

|
18
|
-
[](https://github.com/everfu/hexo-theme-solitude/stargazers)
|
19
|
-
[](https://www.npmjs.com/package/hexo-theme-solitude)
|
20
|
-
|
21
|
-

|
22
|
-

|
23
|
-
[](https://socket.dev/npm/package/hexo-theme-solitude/overview)
|
24
|
-
|
25
|
-
[](https://twitter.com/efu_oo)
|
26
|
-
[](https://t.me/solitudePro)
|
11
|
+

|
12
|
+

|
13
|
+
[](https://github.com/everfu/hexo-theme-solitude/stargazers)
|
14
|
+
[](https://www.npmjs.com/package/hexo-theme-solitude)
|
27
15
|
|
28
|
-

|
17
|
+

|
30
18
|
|
31
|
-
|
32
|
-
[
|
20
|
+
[](https://discord.gg/HZXAnK4Sut)
|
21
|
+

|
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
|

|
39
30
|
|
31
|
+
</div>
|
32
|
+
|
40
33
|
## 特性
|
41
34
|
|
42
35
|
- 页面懒加载(Pjax)、图片懒加载(LazyLoad)、离线应用(PWA)
|
@@ -70,7 +63,11 @@
|
|
70
63
|
|
71
64
|
## 赞助者
|
72
65
|
|
73
|
-
|
66
|
+
<div align="center">
|
67
|
+
|
68
|
+
[](https://ko-fi.com/everfu)
|
69
|
+
|
70
|
+
</div>
|
74
71
|
|
75
72
|
<p align="center">
|
76
73
|
<a href="https://cdn.jsdelivr.net/gh/efuo/static/sponsors.svg">
|
@@ -78,6 +75,11 @@
|
|
78
75
|
</a>
|
79
76
|
</p>
|
80
77
|
|
78
|
+
## 社区
|
79
|
+
|
80
|
+
[](https://discord.gg/HZXAnK4Sut)
|
81
|
+
[](https://qm.qq.com/q/mxfomMvJPG)
|
82
|
+
|
81
83
|
## 版权
|
82
84
|
|
83
85
|
[MIT](./LICENSE) License © 2023-至今 [EverFu](https://github.com/efuo)
|
package/README_zh-Hant.md
CHANGED
@@ -1,42 +1,35 @@
|
|
1
|
-
[English](README.md)丨[简体中文](
|
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>
|
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
|
-
|
11
|
+

|
12
|
+

|
13
|
+
[](https://github.com/everfu/hexo-theme-solitude/stargazers)
|
14
|
+
[](https://www.npmjs.com/package/hexo-theme-solitude)
|
14
15
|
|
15
|
-

|
18
|
-
[](https://github.com/everfu/hexo-theme-solitude/stargazers)
|
19
|
-
[](https://www.npmjs.com/package/hexo-theme-solitude)
|
16
|
+

|
17
|
+

|
20
18
|
|
21
|
-
](https://twitter.com/efu_oo)
|
26
|
-
[](https://t.me/solitudePro)
|
27
|
-
|
28
|
-

|
29
|
-

|
30
|
-
|
31
|
-
[](https://gitee.com/nsjjd_w/hexo-theme-solitude)
|
32
|
-
[](https://gitlab.com/efu/hexo-theme-solitude)
|
19
|
+

|
20
|
+
[](https://discord.gg/HZXAnK4Sut)
|
21
|
+

|
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
|

|
39
30
|
|
31
|
+
</div>
|
32
|
+
|
40
33
|
## 特性
|
41
34
|
|
42
35
|
- 頁面懶載入(Pjax)、圖片懶載入(LazyLoad)、離線應用(PWA)
|
@@ -67,7 +60,11 @@
|
|
67
60
|
|
68
61
|
## 贊助者
|
69
62
|
|
70
|
-
|
63
|
+
<div align="center">
|
64
|
+
|
65
|
+
[](https://ko-fi.com/everfu)
|
66
|
+
|
67
|
+
</div>
|
71
68
|
|
72
69
|
<p align="center">
|
73
70
|
<a href="https://cdn.jsdelivr.net/gh/efuo/static/sponsors.svg">
|
@@ -75,6 +72,11 @@
|
|
75
72
|
</a>
|
76
73
|
</p>
|
77
74
|
|
75
|
+
## 社區
|
76
|
+
|
77
|
+
[](https://discord.gg/HZXAnK4Sut)
|
78
|
+
[](https://qm.qq.com/q/mxfomMvJPG)
|
79
|
+
|
78
80
|
## 版權
|
79
81
|
|
80
82
|
[MIT](./LICENSE) License © 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@
|
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
|
|