Skip to content

Commit d5ef713

Browse files
authored
Merge pull request #445 from EvanNotFound/dev
v2.7.2
2 parents e189999 + 8914057 commit d5ef713

35 files changed

+563
-542
lines changed

.github/workflows/npm-publish.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ jobs:
1919
node-version: '20.x'
2020
registry-url: https://registry.npmjs.org/
2121

22+
- run: npm ci
23+
24+
- run: npm run build:css
25+
2226
- run: npm publish
2327
env:
2428
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

.github/workflows/stale-issues.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ jobs:
99
issues: write
1010
pull-requests: write
1111
steps:
12-
- uses: actions/stale@v5
12+
- uses: actions/stale@v9
1313
with:
1414
days-before-issue-stale: 30
1515
days-before-issue-close: 14
1616
stale-issue-label: "stale"
1717
stale-issue-message: "This issue is stale because it has been open for 30 days with no activity."
1818
close-issue-message: "This issue was closed because it has been inactive for 14 days since being marked as stale."
19-
only-labels: "question"
19+
only-issue-labels: "question"
2020
repo-token: ${{ secrets.GITHUB_TOKEN }}

DONATION.md

Lines changed: 37 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -43,38 +43,40 @@ Thank you!
4343

4444
按时间先后排序 / Sorted by chronological order
4545

46-
| 赞助时间 / Date | 赞助人 / Sponsor | 赞助金额 / Amount | 赞助方式 / Method | 网站 / Website |
47-
|:-----------:|:----------------------------------------------------------:|:-------------:|:----------------:|:------------------------------------------------------:|
48-
| Mar 4 | [@username0occupied](https://github.com/username0occupied) | ¥6.66 | 微信红包 | - |
49-
| Mar 4 | [@jkoor](https://github.com/jkoor) | ¥15.00 | 微信红包 | [https://jkor.site](https://jkor.site) |
50-
| Mar 10 | **| ¥20.14 | 支付宝 | - |
51-
| Mar 17 | Summer.南方 | ¥1.68 | 微信赞赏码 | - |
52-
| Mar 19 | 那个我依旧是从前的我😄 | ¥100.00 | 微信赞赏码 | - |
53-
| Mar 31 | [@牧丰086](https://github.com/mufeng086) | ¥6.66 | 支付宝 | [https://mufeng086.top](https://mufeng086.top) |
54-
| Apr 11 | 飞呀菲呀 | ¥6.66 | 微信赞赏码 | - |
55-
| Apr 18 | 👺 | ¥6.66 | 微信赞赏码 | [https://liohi.github.io](https://liohi.github.io) |
56-
| Apr 19 | [@yzsong06](https://github.com/yzsong06) | ¥3.00 | 微信赞赏码 | - |
57-
| Apr 23 | **| ¥10.00 | 支付宝 | - |
58-
| May 7 | JiaqiGemini | ¥14.99 | 微信赞赏码 | - |
59-
| May 12 | [@Sevdawk](https://github.com/Sevdawk) | ¥8.88 | 微信赞赏码 | [https://sevdawk.github.io](https://sevdawk.github.io) |
60-
| May 13 | 好名字 | ¥6.66 | 微信赞赏码 | - |
61-
| May 24 | [@HuTa0kj](https://github.com/HuTa0kj) | ¥8.88 | 微信赞赏码 | [https://huta0kj.github.io](https://huta0kj.github.io) |
62-
| Jun 5 | **| ¥6.00 | 支付宝 | - |
63-
| Jun 12 | Anonymous | ¥0.99 | 微信赞赏码 | - |
64-
| Jun 22 | [@JuTemp](https://github.com/JuTemp) | ¥15.00 | 支付宝 | [https://jtp0415.top](https://jtp0415.top) |
65-
| Jul 11 | 匿名 | ¥40.00 | 支付宝 | - |
66-
| Jul 13 | [@825i](https://github.com/825i) | $20.00 | Paypal | [https://blog.xtu.icu/](https://blog.xtu.icu/) |
67-
| Jul 14 | 点点 | ¥8.88 | 微信赞赏码 | - |
68-
| Aug 1 | 风宇 | ¥14.99 | 微信赞赏码 | [https://krazyu.com](https://krazyu.com) |
69-
| Aug 27 | 匿名 | ¥88.00 | 微信赞赏码 | - |
70-
| Sep 03 | Locam | ¥30.00 | 支付宝 | [https://locam-cyj.github.io](https://locam-cyj.github.io) |
71-
| Sep 03 | 夜鹿 | ¥6.66 | 微信赞赏码 | - |
72-
| Sep 03 | **| ¥6.66 | 支付宝 | - |
73-
| Sep 04 | 匿名 | ¥10.00 | 微信赞赏码 | - |
74-
| Sep 23 | 今日店休. | ¥6.66 | 微信赞赏码 | - |
75-
| Sep 29 | Ficon | ¥6.00 | 微信 | - |
76-
| Oct 05 | Ryou | ¥14.99 | 微信赞赏码 | - |
77-
| Oct 16 |*| ¥20.00 | 微信赞赏码 | - |
78-
| Oct 24 | Neptune. | ¥14.99 | 微信赞赏码 | - |
79-
| Nov 26 | **| ¥25.00 | 支付宝 | - |
80-
| Nov 27 | :-) | ¥16.66 | 微信 | - |
46+
| 赞助时间 / Date | 赞助人 / Sponsor | 赞助金额 / Amount | 赞助方式 / Method | 网站 / Website |
47+
|:-----------:|:----------------------------------------------------------:|:-------------:|:----------------:|:----------------------------------------------------------:|
48+
| Mar 4 | [@username0occupied](https://github.com/username0occupied) | ¥6.66 | 微信红包 | - |
49+
| Mar 4 | [@jkoor](https://github.com/jkoor) | ¥15.00 | 微信红包 | [https://jkor.site](https://jkor.site) |
50+
| Mar 10 | **| ¥20.14 | 支付宝 | - |
51+
| Mar 17 | Summer.南方 | ¥1.68 | 微信赞赏码 | - |
52+
| Mar 19 | 那个我依旧是从前的我😄 | ¥100.00 | 微信赞赏码 | - |
53+
| Mar 31 | [@牧丰086](https://github.com/mufeng086) | ¥6.66 | 支付宝 | [https://mufeng086.top](https://mufeng086.top) |
54+
| Apr 11 | 飞呀菲呀 | ¥6.66 | 微信赞赏码 | - |
55+
| Apr 18 | 👺 | ¥6.66 | 微信赞赏码 | [https://liohi.github.io](https://liohi.github.io) |
56+
| Apr 19 | [@yzsong06](https://github.com/yzsong06) | ¥3.00 | 微信赞赏码 | - |
57+
| Apr 23 | **| ¥10.00 | 支付宝 | - |
58+
| May 7 | JiaqiGemini | ¥14.99 | 微信赞赏码 | - |
59+
| May 12 | [@Sevdawk](https://github.com/Sevdawk) | ¥8.88 | 微信赞赏码 | [https://sevdawk.github.io](https://sevdawk.github.io) |
60+
| May 13 | 好名字 | ¥6.66 | 微信赞赏码 | - |
61+
| May 24 | [@HuTa0kj](https://github.com/HuTa0kj) | ¥8.88 | 微信赞赏码 | [https://huta0kj.github.io](https://huta0kj.github.io) |
62+
| Jun 5 | **| ¥6.00 | 支付宝 | - |
63+
| Jun 12 | Anonymous | ¥0.99 | 微信赞赏码 | - |
64+
| Jun 22 | [@JuTemp](https://github.com/JuTemp) | ¥15.00 | 支付宝 | [https://jtp0415.top](https://jtp0415.top) |
65+
| Jul 11 | 匿名 | ¥40.00 | 支付宝 | - |
66+
| Jul 13 | [@825i](https://github.com/825i) | $20.00 | Paypal | [https://blog.xtu.icu/](https://blog.xtu.icu/) |
67+
| Jul 14 | 点点 | ¥8.88 | 微信赞赏码 | - |
68+
| Aug 1 | 风宇 | ¥14.99 | 微信赞赏码 | [https://krazyu.com](https://krazyu.com) |
69+
| Aug 27 | 匿名 | ¥88.00 | 微信赞赏码 | - |
70+
| Sep 03 | Locam | ¥30.00 | 支付宝 | [https://locam-cyj.github.io](https://locam-cyj.github.io) |
71+
| Sep 03 | 夜鹿 | ¥6.66 | 微信赞赏码 | - |
72+
| Sep 03 | **| ¥6.66 | 支付宝 | - |
73+
| Sep 04 | 匿名 | ¥10.00 | 微信赞赏码 | - |
74+
| Sep 23 | 今日店休. | ¥6.66 | 微信赞赏码 | - |
75+
| Sep 29 | Ficon | ¥6.00 | 微信 | - |
76+
| Oct 05 | Ryou | ¥14.99 | 微信赞赏码 | - |
77+
| Oct 16 |*| ¥20.00 | 微信赞赏码 | - |
78+
| Oct 24 | Neptune. | ¥14.99 | 微信赞赏码 | - |
79+
| Nov 26 | **| ¥25.00 | 支付宝 | - |
80+
| Nov 27 | :-) | ¥16.66 | 微信 | - |
81+
| Sep 7 | Anjou Duan | ¥99.00 | 微信赞赏码 | [https://heycsm.com](https://heycsm.com) |
82+
| Sep 19 | 夕灵 | ¥6.66 | 微信赞赏码 | [https://starlitxiling.github.io/](https://starlitxiling.github.io/) |

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,10 +134,10 @@ If you like this theme, please give a star. You can also support me by [donating
134134

135135
This is the list of all the people who have donated to me: [Donation List](https://github.com/EvanNotFound/hexo-theme-redefine/blob/dev/DONATION.md)
136136

137+
如果你想要使用OpenAI GPT-4,但不想每月支付 20 美元吗,来看看我的 [GPT Plus Share](https://gpt.oknice.ca) GPT Plus 共享站,使用多达 100 个 ChatGPT Plus 账户,每月仅 17 人民币起步!
137138

138-
Want to use OpenAI GPT-4 but don't want to pay $20 per month? Check out [GPT Plus Share](https://gpt.oknice.ca)! You can use up to 100 ChatGPT Plus Accounts!
139139

140-
![GPT Billboard](https://github.com/EvanNotFound/hexo-theme-redefine/assets/68590232/55346629-cd54-45a4-9b31-3f979750b0c0)
140+
[![GPT Billboard](https://github.com/EvanNotFound/hexo-theme-redefine/assets/68590232/55346629-cd54-45a4-9b31-3f979750b0c0)](https://gpt.oknice.ca)
141141

142142
## 🌟 Star History
143143

README_zh-CN.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,9 +130,10 @@ $ git pull
130130

131131
所有赞助者名单:[赞助者名单](https://github.com/EvanNotFound/hexo-theme-redefine/blob/dev/DONATION.md)
132132

133-
想要使用OpenAI GPT-4,但不想每月支付 20 美元吗来看看我的 [GPT Plus Share](https://gpt.oknice.ca),使用多达 100 个 ChatGPT Plus 账户!
133+
如果你想要使用OpenAI GPT-4,但不想每月支付 20 美元吗来看看我的 [GPT Plus Share](https://gpt.oknice.ca) GPT Plus 共享站,使用多达 100 个 ChatGPT Plus 账户,每月仅 17 人民币起步
134134

135-
![GPT Billboard](https://github.com/EvanNotFound/hexo-theme-redefine/assets/68590232/55346629-cd54-45a4-9b31-3f979750b0c0)
135+
136+
[![GPT Billboard](https://github.com/EvanNotFound/hexo-theme-redefine/assets/68590232/55346629-cd54-45a4-9b31-3f979750b0c0)](https://gpt.oknice.ca)
136137

137138
## 🌟 Star 记录
138139

README_zh-TW.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,10 @@ $ git pull
133133

134134
所有贊助者名單:[贊助者名單](https://github.com/EvanNotFound/hexo-theme-redefine/blob/dev/DONATION.md)
135135

136-
想要使用OpenAI GPT-4,但不想每月支付 20 美元吗?来看看 [GPT Plus Share](https://gpt.oknice.ca),可以使用多达 100 个 ChatGPT Plus 账户!
136+
如果你想要使用OpenAI GPT-4,但不想每月支付 20 美元吗,来看看我的 [GPT Plus Share](https://gpt.oknice.ca) GPT Plus 共享站,使用多达 100 个 ChatGPT Plus 账户,每月仅 17 人民币起步
137137

138-
![GPT Billboard](https://github.com/EvanNotFound/hexo-theme-redefine/assets/68590232/55346629-cd54-45a4-9b31-3f979750b0c0)
138+
139+
[![GPT Billboard](https://github.com/EvanNotFound/hexo-theme-redefine/assets/68590232/55346629-cd54-45a4-9b31-3f979750b0c0)](https://gpt.oknice.ca)
139140

140141

141142
## 🌟 Star 記錄

_config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
info:
1313
# Site title
1414
title: Theme Redefine
15+
# Site subtitle
16+
subtitle: Redefine Your Hexo Journey.
1517
# Author name
1618
author: The Redefine Team
1719
# Site URL

layout/_partials/404-template.ejs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
<h1>404<br>Page Not Found</h1>
44
</div>
55
<div class="nf-button">
6-
<a href="/" class="button large center"><i class="fa-regular fa-house"></i> __("go-back-home")</a>
6+
<a href="/" class="button large center"><i class="fa-regular fa-house"></i> <%= __("go-back-home") %></a>
77
</div>
88
</div>

layout/_partials/comments/giscus.ejs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
theme.comment.config.giscus.category_id
66
) { %>
77
<div id="giscus-container"></div>
8-
<script <%= theme.global.single_page === true ? 'data-swup-reload-script' : '' %> defer>
8+
<script <%= theme.global.single_page === true && 'data-swup-reload-script' %> defer>
99
async function loadGiscus() {
1010
const giscusConfig = {
1111
'src': 'https://giscus.app/client.js',

layout/_partials/comments/gitalk.ejs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
&& theme.comment.config.gitalk.repo
77
) { %>
88
<div id="gitalk-container"></div>
9-
<script <%= theme.global.single_page === true ? 'data-swup-reload-script' : '' %>
9+
<script <%= theme.global.single_page === true && 'data-swup-reload-script' %>
1010
src="https://cdnjs.cloudflare.com/ajax/libs/gitalk/1.8.0/gitalk.min.js"></script>
11-
<script <%= theme.global.single_page === true ? 'data-swup-reload-script' : '' %>>
11+
<script <%= theme.global.single_page === true && 'data-swup-reload-script' %>>
1212
1313
function loadGitalk() {
1414
let __gitalk__pathname = decodeURI(location.pathname);

layout/_partials/comments/twikoo.ejs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<% if(theme.comment.system === 'twikoo' && theme.comment.config.twikoo.server_url) { %>
22
<div class="twikoo-container">
3-
<script <%= theme.global.single_page === true ? 'data-swup-reload-script' : '' %>
3+
<script <%= theme.global.single_page === true && 'data-swup-reload-script' %>
44
src='https://cdnjs.cloudflare.com/ajax/libs/twikoo/<%- theme.comment.config.twikoo.version %>/twikoo.all.min.js'
55
></script>
66
<div id="twikoo-comment"></div>
7-
<script <%= theme.global.single_page === true ? 'data-swup-reload-script' : '' %>>
7+
<script <%= theme.global.single_page === true && 'data-swup-reload-script' %>>
88
function loadTwikoo() {
99
twikoo.init({
1010
el: '#twikoo-comment',
@@ -24,11 +24,11 @@
2424
</div>
2525
<% } else if (theme.comment.system === 'twikoo' && theme.comment.config.twikoo.server_url && theme.comment.config.twikoo.region) { %>
2626
<div class="twikoo-container">
27-
<script <%= theme.global.single_page === true ? 'data-swup-reload-script' : '' %>
27+
<script <%= theme.global.single_page === true && 'data-swup-reload-script' %>
2828
src='<%- theme.comment_version.twikoo %>'
2929
></script>
3030
<div id="twikoo-comment"></div>
31-
<script <%= theme.global.single_page === true ? 'data-swup-reload-script' : '' %>>
31+
<script <%= theme.global.single_page === true && 'data-swup-reload-script' %>>
3232
function loadTwikoo() {
3333
twikoo.init({
3434
el: '#twikoo-comment',

0 commit comments

Comments
 (0)