hexo-theme-solitude 2.0.1 → 2.0.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.
@@ -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
- 社区领导有权力和责任删除、编辑或拒绝或拒绝与本行为准则不相符的评论(comment)、提交(commits)、代码、维基(wiki)编辑、议题(issues)或其他贡献,并在适当时机知采取措施的理由。
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
- ### 1. 纠正
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
- ### 2. 警告
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
- ### 3. 临时封禁
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
- ### 4. 永久封禁
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
- 本行为准则改编自 [Contributor Covenant][homepage] 2.1 版, 参见 [https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1]。
122
+ Community Impact Guidelines were inspired by
123
+ [Mozilla's code of conduct enforcement ladder][Mozilla CoC].
78
124
 
79
- 社区处理方针灵感来源于 [Mozilla's code of conduct enforcement ladder][Mozilla CoC]。
80
-
81
- 有关本行为准则的常见问题的答案,参见 [https://www.contributor-covenant.org/faq][FAQ]
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,4 +1,4 @@
1
- English丨[简体中文](README_zh_CN.md)丨[繁体中文](README_zh-Hant.md)
1
+ English丨[简体中文](README_zh-Hans)丨[繁体中文](README_zh-Hant.md)
2
2
 
3
3
  <div align="center">
4
4
 
@@ -69,11 +69,9 @@ Check out the [Documentation](https://solitude.js.org/) for more information.
69
69
 
70
70
  ## Sponsors
71
71
 
72
- [!["Buy Me A Coffee"](https://img.buymeacoffee.com/button-api/?text=Buy&nbsp;Me&nbsp;A&nbsp;Coffee&emoji=%E2%98%95&everfu=ezgif&button_colour=FFDD00&font_colour=000000&font_family=Cookie&outline_colour=000000&coffee_colour=ffffff)](https://www.buymeacoffee.com/everfu)
73
-
74
72
  <p align="center">
75
73
  <a href="https://cdn.jsdelivr.net/gh/efuo/static/sponsors.svg">
76
- <img src='https://cdn.jsdelivr.net/gh/efuo/static/sponsors.svg'/>
74
+ <img src='https://cdn.jsdelivr.net/gh/efuo/static/sponsors.svg' alt="sponsor"/>
77
75
  </a>
78
76
  </p>
79
77
 
@@ -70,8 +70,6 @@
70
70
 
71
71
  ## 赞助者
72
72
 
73
- [!["Buy Me A Coffee"](https://img.buymeacoffee.com/button-api/?text=请我喝杯咖啡&emoji=%E2%98%95&everfu=ezgif&button_colour=FFDD00&font_colour=000000&font_family=Cookie&outline_colour=000000&coffee_colour=ffffff)](https://www.buymeacoffee.com/everfu)
74
-
75
73
  <p align="center">
76
74
  <a href="https://cdn.jsdelivr.net/gh/efuo/static/sponsors.svg">
77
75
  <img src='https://cdn.jsdelivr.net/gh/efuo/static/sponsors.svg' alt="赞助者"/>
package/README_zh-Hant.md CHANGED
@@ -1,4 +1,4 @@
1
- [English](README.md)丨[简体中文](README_zh_CN.md)丨繁体中文
1
+ [English](README.md)丨[简体中文](README_zh-Hans)丨繁体中文
2
2
 
3
3
  <div align="center">
4
4
 
@@ -67,8 +67,6 @@
67
67
 
68
68
  ## 贊助者
69
69
 
70
- [!["Buy Me A Coffee"](https://img.buymeacoffee.com/button-api/?text=請我喝杯咖啡&emoji=%E2%98%95&everfu=ezgif&button_colour=FFDD00&font_colour=000000&font_family=Cookie&outline_colour=000000&coffee_colour=ffffff)](https://www.buymeacoffee.com/everfu)
71
-
72
70
  <p align="center">
73
71
  <a href="https://cdn.jsdelivr.net/gh/efuo/static/sponsors.svg">
74
72
  <img src='https://cdn.jsdelivr.net/gh/efuo/static/sponsors.svg'/>
package/_config.yml CHANGED
@@ -492,11 +492,11 @@ pwa:
492
492
  enable: false
493
493
  manifest: /manifest.json # manifest.json 文件路径
494
494
  theme_color: "#006a73" # 主题颜色
495
- mask_icon: /img/pwa/favicon.ico # 遮罩图标
496
- apple_touch_icon: /img/pwa/favicon.ico # 苹果触摸图标
497
- bookmark_icon: /img/pwa/favicon.ico # 书签图标
498
- favicon_32_32: /img/pwa/favicon_32.ico # 32x32图标
499
- favicon_16_16: /img/pwa/favicon_16.ico # 16x16图标
495
+ mask_icon: /img/pwa/favicon.png # 遮罩图标
496
+ apple_touch_icon: /img/pwa/favicon.png # 苹果触摸图标
497
+ bookmark_icon: /img/pwa/favicon.png # 书签图标
498
+ favicon_32_32: /img/pwa/favicon_32.png # 32x32图标
499
+ favicon_16_16: /img/pwa/favicon_16.png # 16x16图标
500
500
 
501
501
  google_adsense:
502
502
  enable: false
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hexo-theme-solitude",
3
- "version": "2.0.1",
3
+ "version": "2.0.3",
4
4
  "description": "A beautiful, powerful, and efficient Hexo theme developed by EverFu.",
5
5
  "main": "package.json",
6
6
  "scripts": {
@@ -151,6 +151,10 @@ hexo.extend.filter.register('before_generate', () => {
151
151
  api: 'https://api.qjqq.cn/api/Imgcolor?img=',
152
152
  time: 43200000,
153
153
  },
154
+ share: {
155
+ enable: false,
156
+ list: []
157
+ },
154
158
  footer: {
155
159
  enable: true,
156
160
  desc: "来自 Efu 的文章",
@@ -177,6 +177,7 @@
177
177
  .center
178
178
  width .5rem
179
179
  height .3rem
180
+
180
181
  .right
181
182
  width .3rem
182
183
  height 100%
@@ -394,16 +395,15 @@
394
395
  opacity: 1
395
396
 
396
397
  i.fa-solid.fa-home
397
- +minWidth900()
398
- opacity 0
399
- position absolute
400
- display flex
401
- z-index 1
402
- align-items center
403
- justify-content center
404
- font-size 22px
405
- line-height 1
406
- color var(--efu-card-bg)
398
+ opacity 0
399
+ position absolute
400
+ display flex
401
+ z-index 1
402
+ align-items center
403
+ justify-content center
404
+ font-size 22px
405
+ line-height 1
406
+ color var(--efu-card-bg)
407
407
 
408
408
  if hexo-config('site.name.class') == i_class
409
409
  i
@@ -4,7 +4,7 @@
4
4
  min-height 240px
5
5
  position relative
6
6
  overflow hidden
7
- width 39.5%
7
+ width calc(40% - (.5rem / 2))
8
8
  display flex
9
9
  align-items center
10
10
  justify-content center
@@ -3,14 +3,14 @@
3
3
  &.column
4
4
  display flex
5
5
  flex-direction column
6
- width 49%
6
+ width calc(50% - (.5rem / 2))
7
7
  justify-content space-between
8
8
 
9
9
  +maxWidth768()
10
10
  width 100% !important
11
11
 
12
12
  &.mapAndInfo
13
- width 59.5%
13
+ width calc(60% - (.5rem / 2))
14
14
  gap .5rem
15
15
 
16
16
  .author-content-item
@@ -1,7 +1,7 @@
1
1
  .author-content-item.personalities
2
2
  overflow hidden
3
3
  position relative
4
- width 59.5%
4
+ width calc(60% - (.5rem / 2))
5
5
  +maxWidth768()
6
6
  min-height 360px
7
7
 
@@ -4,7 +4,7 @@
4
4
  justify-content center
5
5
  align-items flex-start
6
6
  flex-direction column
7
- width 49.5%
7
+ width calc(50% - (.5rem / 2))
8
8
  min-height 450px
9
9
 
10
10
  .tags-group-all
@@ -5,7 +5,7 @@
5
5
 
6
6
  .about-statistic
7
7
  min-height 380px
8
- width 39.5%
8
+ width calc(40% - (.5rem / 2))
9
9
  background-size cover
10
10
  color var(--efu-white)
11
11
  overflow hidden
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file