hexo-theme-solitude 1.5.3 → 1.5.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.
@@ -10,4 +10,4 @@ liberapay: # Replace with a single Liberapay username
10
10
  issuehunt: # Replace with a single IssueHunt username
11
11
  otechie: # Replace with a single Otechie username
12
12
  lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
13
- custom: ['https://afdian.net/a/efu0u0'] # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
13
+ custom: ['https://afdian.net/a/efu0u0','https://7.isyangs.cn/34/65f2e5814db1a-34.png','https://7.isyangs.cn/34/65ed434e0b8d7-34.png'] # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
@@ -0,0 +1,13 @@
1
+ <svg width="230.246382px" height="528.14px" viewBox="0 0 230.246382 528.14" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
2
+ <g transform="translate(-226, -116)" fill="#ffffff">
3
+ <g transform="translate(226, 116)">
4
+ <path d="M57.45,507.17 C87.47,434.44 230.61,428.18 164.36,316.39 C212.12,434.18 9.66,435.54 36.6,528.14 C17.62,500.02 25.38,462.49 52.37,442.85 C75.91,424.74 107.39,421.7 130.58,402.53 C171.31,374.92 166.56,325.05 133.62,293.12 C132.68,292.18 131.28,291.3 130.01,291.17 C119.53,290.08 109.04,289.05 98.53,288.24 C79.12,286.75 60.28,288.9 42.67,297.89 C37.86,300.34 33.03,302.08 27.6,300.14 C33.72,298.92 39.79,297.68 44.87,293.88 C44.79,293.56 44.72,293.24 44.64,292.92 C41.32,293.46 38.49,294.75 34.98,294.61 C52.95,282.27 33.41,281.35 22.36,283.36 C60.84,254.97 50.11,209.81 117.04,223.24 C139.92,175.21 157.05,197.72 184.56,168.99 C179.89,182.55 173.44,195.52 167.6,208.66 C161.44,224.1 147.53,226.31 133.23,229.81 C138.31,228.28 140.3,231.71 142.79,234.8 C178.23,276.79 218.08,323.74 215.23,382.21 C203.29,447.16 91.81,452.67 57.45,507.17 L57.45,507.17 Z M98.73,237.9 C84.56,245.85 62.06,243.13 65.36,266.34 C72.8,249.43 82.85,269.83 98.73,237.9 L98.73,237.9 Z"></path>
5
+ <path d="M103.24,292.22 C145.96,290.35 154.28,363.26 122.46,383.67 C75.04,415.94 -15.57,451.75 26.56,523.99 C26.33,524.2 26.11,524.4 25.88,524.61 C-15.13,490.92 3.46,427.39 41.47,399.45 C75.34,371.1 137.8,345.29 103.24,292.22 Z"></path>
6
+ <path d="M180.53,61.39 C193.55,71.71 205.68,82.95 214.14,98.2 C235.91,61.72 209.58,23.4 181.1,1.42108547e-14 C225.16,22.33 250.67,81.66 209.34,121.31 C183.34,150.9 113.9,176.15 113.94,217.67 L95.83,217.67 C97.99,174.23 143.39,172.05 127.65,156.15 C117.75,141.99 113.4,126.39 114.33,108.12 C128.05,176.8 164.52,145.45 199.59,112.86 C211.65,96.64 189.69,74.44 180.53,61.4 L180.53,61.39 Z"></path>
7
+ <path d="M85.9,78.04 C59.55,88.09 25.27,104.68 32.74,138.16 C42.5,137.44 52.22,136.73 61.94,136.01 C62,136.43 62.07,136.84 62.13,137.26 C26.33,142.58 40.67,154.56 60.06,170.78 C76.17,181.91 90.18,139.63 98.01,129.66 C93.29,140.64 88.5,151.59 83.89,162.61 C80.13,172.92 74.04,181.5 84.12,190.32 C90.76,198.2 93.17,207.28 91.84,217.64 C86.92,218.82 81.9,220.02 76.85,221.22 C83.3,186.96 61.25,189.69 40.71,170.75 C-2.36,130.04 36.14,81.84 85.9,78.04 Z"></path>
8
+ <path d="M0.01,197.73 C23.76,225.14 49.6,200.73 64.2,227.4 C56.81,232.31 51.62,239.03 48,246.92 C29.16,243.37 12.18,223.59 0,197.74 L0.01,197.73 Z"></path>
9
+ <path d="M39.77,287.74 C34.98,288.66 32.59,293.58 28.57,295.68 C22.5,295.98 16.89,294.03 15.98,287.06 C23.86,286.49 31.01,285.98 38.16,285.46 L39.77,287.73 L39.77,287.74 Z"></path>
10
+ <path d="M90.51,244.92 C82.85,248.24 72.72,246.39 69.03,256.91 C77.44,255 86.24,254.41 90.51,244.92 Z" id="路径"></path>
11
+ </g>
12
+ </g>
13
+ </svg>
@@ -0,0 +1,128 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ We as members, contributors, and leaders pledge to make participation in our
6
+ community a harassment-free experience for everyone, regardless of age, body
7
+ size, visible or invisible disability, ethnicity, sex characteristics, gender
8
+ identity and expression, level of experience, education, socio-economic status,
9
+ nationality, personal appearance, race, religion, or sexual identity
10
+ and orientation.
11
+
12
+ We pledge to act and interact in ways that contribute to an open, welcoming,
13
+ diverse, inclusive, and healthy community.
14
+
15
+ ## Our Standards
16
+
17
+ Examples of behavior that contributes to a positive environment for our
18
+ community include:
19
+
20
+ * Demonstrating empathy and kindness toward other people
21
+ * Being respectful of differing opinions, viewpoints, and experiences
22
+ * Giving and gracefully accepting constructive feedback
23
+ * Accepting responsibility and apologizing to those affected by our mistakes,
24
+ and learning from the experience
25
+ * Focusing on what is best not just for us as individuals, but for the
26
+ overall community
27
+
28
+ Examples of unacceptable behavior include:
29
+
30
+ * The use of sexualized language or imagery, and sexual attention or
31
+ advances of any kind
32
+ * Trolling, insulting or derogatory comments, and personal or political attacks
33
+ * Public or private harassment
34
+ * Publishing others' private information, such as a physical or email
35
+ address, without their explicit permission
36
+ * Other conduct which could reasonably be considered inappropriate in a
37
+ professional setting
38
+
39
+ ## Enforcement Responsibilities
40
+
41
+ Community leaders are responsible for clarifying and enforcing our standards of
42
+ acceptable behavior and will take appropriate and fair corrective action in
43
+ response to any behavior that they deem inappropriate, threatening, offensive,
44
+ or harmful.
45
+
46
+ Community leaders have the right and responsibility to remove, edit, or reject
47
+ comments, commits, code, wiki edits, issues, and other contributions that are
48
+ not aligned to this Code of Conduct, and will communicate reasons for moderation
49
+ decisions when appropriate.
50
+
51
+ ## Scope
52
+
53
+ This Code of Conduct applies within all community spaces, and also applies when
54
+ an individual is officially representing the community in public spaces.
55
+ Examples of representing our community include using an official e-mail address,
56
+ posting via an official social media account, or acting as an appointed
57
+ representative at an online or offline event.
58
+
59
+ ## Enforcement
60
+
61
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
62
+ reported to the community leaders responsible for enforcement at
63
+ o@efu.me.
64
+ All complaints will be reviewed and investigated promptly and fairly.
65
+
66
+ All community leaders are obligated to respect the privacy and security of the
67
+ reporter of any incident.
68
+
69
+ ## Enforcement Guidelines
70
+
71
+ Community leaders will follow these Community Impact Guidelines in determining
72
+ the consequences for any action they deem in violation of this Code of Conduct:
73
+
74
+ ### 1. Correction
75
+
76
+ **Community Impact**: Use of inappropriate language or other behavior deemed
77
+ unprofessional or unwelcome in the community.
78
+
79
+ **Consequence**: A private, written warning from community leaders, providing
80
+ clarity around the nature of the violation and an explanation of why the
81
+ behavior was inappropriate. A public apology may be requested.
82
+
83
+ ### 2. Warning
84
+
85
+ **Community Impact**: A violation through a single incident or series
86
+ of actions.
87
+
88
+ **Consequence**: A warning with consequences for continued behavior. No
89
+ interaction with the people involved, including unsolicited interaction with
90
+ those enforcing the Code of Conduct, for a specified period of time. This
91
+ includes avoiding interactions in community spaces as well as external channels
92
+ like social media. Violating these terms may lead to a temporary or
93
+ permanent ban.
94
+
95
+ ### 3. Temporary Ban
96
+
97
+ **Community Impact**: A serious violation of community standards, including
98
+ sustained inappropriate behavior.
99
+
100
+ **Consequence**: A temporary ban from any sort of interaction or public
101
+ communication with the community for a specified period of time. No public or
102
+ private interaction with the people involved, including unsolicited interaction
103
+ with those enforcing the Code of Conduct, is allowed during this period.
104
+ Violating these terms may lead to a permanent ban.
105
+
106
+ ### 4. Permanent Ban
107
+
108
+ **Community Impact**: Demonstrating a pattern of violation of community
109
+ standards, including sustained inappropriate behavior, harassment of an
110
+ individual, or aggression toward or disparagement of classes of individuals.
111
+
112
+ **Consequence**: A permanent ban from any sort of public interaction within
113
+ the community.
114
+
115
+ ## Attribution
116
+
117
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage],
118
+ version 2.0, available at
119
+ https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
120
+
121
+ Community Impact Guidelines were inspired by [Mozilla's code of conduct
122
+ enforcement ladder](https://github.com/mozilla/diversity).
123
+
124
+ [homepage]: https://www.contributor-covenant.org
125
+
126
+ For answers to common questions about this code of conduct, see the FAQ at
127
+ https://www.contributor-covenant.org/faq. Translations are available at
128
+ https://www.contributor-covenant.org/translations.
package/README.md CHANGED
@@ -1,11 +1,12 @@
1
1
  简体中文丨[繁体中文](README_zh-tw.md)丨[English](README_EN.md)
2
2
 
3
3
  <div align="center">
4
- <img width="200" style="border-radius:10%;" src="./.github/logo.png" alt="Solitude logo"/>
5
4
 
6
- <h1 align="center">Hexo Theme Solitude</h1>
5
+ <img src=".github/logo.svg" alt="Solitude logo" height="200">
7
6
 
8
- <p align="center">一款优雅的 Hexo 主题,支持懒加载、PWA、Latex以及多种评论系统。</p>
7
+ <h1 align="center">Hexo Theme Solitude</h1>
8
+
9
+ <p align="center">一款优雅的 Hexo 主题,支持懒加载、PWA、Latex以及多种评论系统。</p>
9
10
 
10
11
  ![release](https://img.shields.io/github/package-json/v/valor-x/hexo-theme-solitude/master?color=%231ab1ad&label=release)
11
12
  ![https://img.shields.io/npm/v/hexo-theme-solitude?color=%09%23bf00ff](https://img.shields.io/npm/v/hexo-theme-solitude?color=%09%23bf00ff)
package/README_EN.md CHANGED
@@ -1,7 +1,8 @@
1
- [简体中文](README.md)丨[繁体中文](README_EN.md)丨English
1
+ [简体中文](README.md)丨[繁体中文](README_zh-tw.md)丨English
2
2
 
3
3
  <div align="center">
4
- <img width="200" style="border-radius:10%;" src="./.github/logo.png" alt="Solitude logo"/>
4
+
5
+ <img src=".github/logo.svg" alt="Solitude logo" height="200">
5
6
 
6
7
  <h1 align="center">Hexo Theme Solitude</h1>
7
8
 
package/README_zh-tw.md CHANGED
@@ -1,7 +1,8 @@
1
1
  [简体中文](README.md)丨繁体中文丨[English](README_EN.md)
2
2
 
3
3
  <div align="center">
4
- <img width="200" style="border-radius:10%;" src="./.github/logo.png" alt="Solitude logo"/>
4
+
5
+ <img src=".github/logo.svg" alt="Solitude logo" height="200">
5
6
 
6
7
  <h1 align="center">Hexo Theme Solitude</h1>
7
8
 
@@ -78,7 +78,7 @@ script.
78
78
  )(window)
79
79
 
80
80
  console.log(
81
- "%c Program: Hexo %c Theme: Solitude %c Version: v1.5.3",
81
+ "%c Program: Hexo %c Theme: Solitude %c Version: v1.5.4",
82
82
  "border-radius:5px 0 0 5px;padding: 5px 10px;color:white;background:#ff3842;",
83
83
  "padding: 5px 10px;color:white;background:#3e9f50;",
84
84
  "border-radius:0 5px 5px 0;padding: 5px 10px;background:#0084ff;color:white;"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hexo-theme-solitude",
3
- "version": "1.5.3",
3
+ "version": "1.5.4",
4
4
  "description": "A beautiful, powerful, and efficient Hexo theme developed by the wleelw",
5
5
  "main": "package.json",
6
6
  "scripts": {
@@ -6,13 +6,13 @@ hexo.extend.filter.register('after_post_render', function (data) {
6
6
  if (data.layout === 'post') {
7
7
  data.locate = data.locate || config.post.default.locate
8
8
  data.cc = data.cc || config.post.default.copyright
9
- data.cover = data.cover || config.post.default.cover[getRandomInt(0, config.post.default.cover.length)]
9
+ data.cover = data.cover || config.post.default.cover[getRandomInt(0, config.post.default.cover.length)] || '/img/default.png'
10
10
  data.excerpt = data.description || data.excerpt
11
11
  if (config.aside.toc.post && data.toc !== false) data.toc = true
12
12
  else data.toc = false
13
13
  }
14
14
  if (data.layout === 'page') {
15
- data.cover = data.cover || config.page.default.cover[getRandomInt(0, config.post.default.cover.length)]
15
+ data.cover = data.cover || config.page.default.cover[getRandomInt(0, config.post.default.cover.length)] || '/img/default.png'
16
16
  data.excerpt = data.title
17
17
  if (config.aside.toc.page && data.toc !== false && data.aside) data.toc = true
18
18
  else data.toc = false
package/.github/logo.png DELETED
Binary file