Skip to content

Commit

Permalink
Merge pull request #250 from EvanNotFound/dev
Browse files Browse the repository at this point in the history
v2.5.0
  • Loading branch information
EvanNotFound authored Oct 1, 2023
2 parents 6105934 + 8218511 commit f8b9a23
Show file tree
Hide file tree
Showing 52 changed files with 1,094 additions and 943 deletions.
53 changes: 30 additions & 23 deletions DONATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,26 +43,33 @@ Thank you!

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

| 赞助时间 / Date | 赞助人 / Sponsor | 赞助金额 / Amount | 赞助方式 / Method | 网站 / Website |
|:---------------:|:----------------:|:----------------:|:----------------:|:--------------:|
| Mar 4 | [@username0occupied](https://github.com/username0occupied) | ¥6.66 | 微信红包 | - |
| Mar 4 | [@jkoor](https://github.com/jkoor) | ¥15.00 | 微信红包 | [https://jkor.site](https://jkor.site) |
| Mar 10 | **| ¥20.14 | 支付宝 | - |
| Mar 17 | Summer.南方 | ¥1.68 | 微信赞赏码 | - |
| Mar 19 | 那个我依旧是从前的我😄 | ¥100.00 | 微信赞赏码 | - |
| Mar 31 | [@牧丰086](https://github.com/mufeng086) | ¥6.66 | 支付宝 | [https://mufeng086.top](https://mufeng086.top) |
| Apr 11 | 飞呀菲呀 | ¥6.66 | 微信赞赏码 | - |
| Apr 18 | 👺 | ¥6.66 | 微信赞赏码 | [https://liohi.github.io](https://liohi.github.io) |
| Apr 19 | [@yzsong06](https://github.com/yzsong06) | ¥3.00 | 微信赞赏码 | - |
| Apr 23 | **| ¥10.00 | 支付宝 | - |
| May 7 | JiaqiGemini | ¥14.99 | 微信赞赏码 | - |
| May 12 | [@Sevdawk](https://github.com/Sevdawk) | ¥8.88 | 微信赞赏码 | [https://sevdawk.github.io](https://sevdawk.github.io) |
| May 13 | 好名字 | ¥6.66 | 微信赞赏码 | - |
| May 24 | [@HuTa0kj](https://github.com/HuTa0kj) | ¥8.88 | 微信赞赏码 | [https://huta0kj.github.io](https://huta0kj.github.io) |
| Jun 5 | **| ¥6.00 | 支付宝 | - |
| Jun 12 | Anonymous | ¥0.99 | 微信赞赏码 | - |
| Jun 22 | [@JuTemp](https://github.com/JuTemp) | ¥15.00 | 支付宝 | [https://jtp0415.top](https://jtp0415.top) |
| Jul 11 | 匿名 | ¥40.00 | 支付宝 | - |
| Jul 13 | [@825i](https://github.com/825i) | $20.00 | Paypal | [https://blog.xtu.icu/](https://blog.xtu.icu/) |
| Jul 14 | 点点 | ¥8.88 | 微信赞赏码 | - |
| Aug 1 | 风宇 | ¥14.99 | 微信赞赏码 | [https://krazyu.com](https://krazyu.com) |
| 赞助时间 / Date | 赞助人 / Sponsor | 赞助金额 / Amount | 赞助方式 / Method | 网站 / Website |
|:-----------:|:----------------------------------------------------------:|:-------------:|:----------------:|:------------------------------------------------------:|
| Mar 4 | [@username0occupied](https://github.com/username0occupied) | ¥6.66 | 微信红包 | - |
| Mar 4 | [@jkoor](https://github.com/jkoor) | ¥15.00 | 微信红包 | [https://jkor.site](https://jkor.site) |
| Mar 10 | **| ¥20.14 | 支付宝 | - |
| Mar 17 | Summer.南方 | ¥1.68 | 微信赞赏码 | - |
| Mar 19 | 那个我依旧是从前的我😄 | ¥100.00 | 微信赞赏码 | - |
| Mar 31 | [@牧丰086](https://github.com/mufeng086) | ¥6.66 | 支付宝 | [https://mufeng086.top](https://mufeng086.top) |
| Apr 11 | 飞呀菲呀 | ¥6.66 | 微信赞赏码 | - |
| Apr 18 | 👺 | ¥6.66 | 微信赞赏码 | [https://liohi.github.io](https://liohi.github.io) |
| Apr 19 | [@yzsong06](https://github.com/yzsong06) | ¥3.00 | 微信赞赏码 | - |
| Apr 23 | **| ¥10.00 | 支付宝 | - |
| May 7 | JiaqiGemini | ¥14.99 | 微信赞赏码 | - |
| May 12 | [@Sevdawk](https://github.com/Sevdawk) | ¥8.88 | 微信赞赏码 | [https://sevdawk.github.io](https://sevdawk.github.io) |
| May 13 | 好名字 | ¥6.66 | 微信赞赏码 | - |
| May 24 | [@HuTa0kj](https://github.com/HuTa0kj) | ¥8.88 | 微信赞赏码 | [https://huta0kj.github.io](https://huta0kj.github.io) |
| Jun 5 | **| ¥6.00 | 支付宝 | - |
| Jun 12 | Anonymous | ¥0.99 | 微信赞赏码 | - |
| Jun 22 | [@JuTemp](https://github.com/JuTemp) | ¥15.00 | 支付宝 | [https://jtp0415.top](https://jtp0415.top) |
| Jul 11 | 匿名 | ¥40.00 | 支付宝 | - |
| Jul 13 | [@825i](https://github.com/825i) | $20.00 | Paypal | [https://blog.xtu.icu/](https://blog.xtu.icu/) |
| Jul 14 | 点点 | ¥8.88 | 微信赞赏码 | - |
| Aug 1 | 风宇 | ¥14.99 | 微信赞赏码 | [https://krazyu.com](https://krazyu.com) |
| Aug 27 | 匿名 | ¥88.00 | 微信赞赏码 | - |
| Sep 03 | Locam | ¥30.00 | 支付宝 | [https://locam-cyj.github.io](https://locam-cyj.github.io) |
| Sep 03 | 夜鹿 | ¥6.66 | 微信赞赏码 | - |
| Sep 03 | **| ¥6.66 | 支付宝 | - |
| Sep 04 | 匿名 | ¥10.00 | 微信赞赏码 | - |
| Sep 23 | 今日店休. | ¥6.66 | 微信赞赏码 | - |
| Sep 29 | Ficon | ¥6.00 | 微信 | - |
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,9 @@

# hexo-theme-redefine

"Redefine" hexo theme is **a simple & fast & pure theme**, but with **no compromise**. This theme contains lots of widely use functions and great web design.

Hexo Theme Redefine source code is based on [hexo-theme-keep](https://github.com/XPoet/hexo-theme-keep). Redefine Theme optimized its style and added useful writing modules and plugins. Also, you can customize many things in this theme.

"Redefine" hexo theme is a blend of **simplicity, speed, and purity**, yet it makes **no compromises** on functionality or design. Loaded with widely utilized features and polished web design, it seamlessly marries practicality with aesthetics.

Drawing its core from [hexo-theme-keep](https://github.com/XPoet/hexo-theme-keep), this theme elevates the foundation by enhancing the style and integrating valuable writing modules and plugins. The theme encourages personalization, offering extensive customizability to mold various facets to your liking, making your blogging journey truly unique and user-friendly.


<p align="center">
Expand Down Expand Up @@ -132,7 +130,7 @@ Also, if you are using [Typora](https://typora.io/), check out [Typora Theme Red

Thanks to all the people who have donated to me. Your support is my greatest motivation.

If you like this theme, you can also support me by donating.
If you like this theme, please give a star. You can also support me by [donating](https://github.com/EvanNotFound/hexo-theme-redefine/blob/dev/DONATION.md).

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)

Expand Down
27 changes: 3 additions & 24 deletions README_zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@

# hexo-theme-redefine

"Redefine" 是一个简洁、快速、纯净的 hexo 主题。简洁,但不简单。本主题包含很多广泛使用的功能,并拥有着优秀的设计
"Redefine" 是一款简洁、快速、纯粹的 Hexo 主题,其简约之美遥非平凡,让人领略到设计的力量。本主题不仅包含诸多实用丰富的功能,而且赋予了精致而出色的设计理念

本主题基于 [hexo-theme-keep](https://github.com/XPoet/hexo-theme-keep) 开发,感谢 XPoet 的开源。本主题主要优化了样式,增加了写作模块,以及各种插件的支持。同时加大自定义程度,让你可以更加方便的使用本主题
本主题源自 [hexo-theme-keep](https://github.com/XPoet/hexo-theme-keep) 的早期版本,进一步进行了精心打磨和扩展。在保留了原主题的精炼基础上,我们优化了整体样式,引入了丰富的写作模块,并增添了多种插件支持。同时,大幅提高了自定义的灵活度,旨在让您能够更加便捷、顺畅地运用本主题,打造出独具匠心的个人博客

<p align="center">
<a href="https://www.npmjs.com/package/hexo-theme-redefine">
Expand Down Expand Up @@ -123,7 +123,7 @@ $ git clone https://github.com/EvanNotFound/hexo-theme-redefine.git themes/redef

非常感谢所有赞助者的支持,你们的支持是我维护这个项目的动力。

如果你觉得这个项目还不错,欢迎给我买杯咖啡,给 CDN 续命续久一点,感谢
如果你觉得这个项目还不错,欢迎给我[买杯咖啡](https://github.com/EvanNotFound/hexo-theme-redefine/blob/dev/DONATION.md),让我更有动力维护这个项目。

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

Expand All @@ -144,24 +144,3 @@ $ git clone https://github.com/EvanNotFound/hexo-theme-redefine.git themes/redef
如果你想参与主题开发,请 `clone` 本项目的 `dev` 分支,然后在 `dev` 分支上进行开发。

同时,请查看 [Redefine 主题开发文档](https://redefine-docs.ohevan.com/developer)。

## 🥳 Cirno CDN

> 找不到稳定的公共图床存放你的博客图片和文件?
>
> 公共图床访问速度慢?
>
> 写文章上传图片麻烦?

我个人搭建了一个 CDN,使用阿里云 OSS 存储。

- 全球加速
- PicGo 支持,Typora / VSCode 拖拽图片自动上传
- 阿里云官方 OSS Browser 支持
- 已备案域名,已开启全国加速,延迟 <50ms
- Redefine 主题同款 CDN (`aliyun`)
- 数据保证,即使取消订阅也保留图片
- 只要 Redefine 主题这个项目还在,图床就还在
- 支持除图片以外的小文件托管(word/ppt/...)

需要请查看 [Cirno CDN](https://cdn.ohevan.com/)。
5 changes: 2 additions & 3 deletions README_zh-TW.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,9 @@

# hexo-theme-redefine

"Redefine" 是一個簡潔、快速、純净的 hexo 主題。簡潔,但不簡單。本主題包含很多廣泛使用的功能,並擁有著優秀的設計。

本主題基於 [hexo-theme-keep](https://github.com/XPoet/hexo-theme-keep) 開發,感謝 XPoet 的開源。本主題主要優化了樣式,增加了寫作模塊,以及各種插件的支持。同時加大自定義程度,讓你可以更加方便的使用本主題。
"Redefine" 是一款簡潔、快速、純粹的 Hexo 主題,其簡約之美遙非平凡,讓人領略到設計的力量。本主題不僅包含諸多實用豐富的功能,而且賦予了精緻而出色的設計理念。

本主題源自 [hexo-theme-keep](https://github.com/XPoet/hexo-theme-keep) 的早期版本,進一步進行了精心打磨和擴展。在保留了原主題的精煉基礎上,我們優化了整體風格,引入了豐富的寫作模組,並增添了多種插件支持。同時,大幅提高了自定義的靈活度,旨在讓您能夠更加便捷、順暢地運用本主題,打造出獨具匠心的個人博客。
<p align="center">
<a href="https://www.npmjs.com/package/hexo-theme-redefine">
<img src="https://img.shields.io/npm/v/hexo-theme-redefine?color=F38181&amp;label=version&amp;logo=npm&amp;logoColor=F38181&amp;style=for-the-badge" referrerpolicy="no-referrer" alt="NPM version" />
Expand Down
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ cdn:
# Whether to enable CDN
enable: false
# CDN Provider
provider: jsdelivr # jsdelivr, unpkg, aliyun, custom
provider: staticfile # staticfile, bootcdn, cdnjs, jsdelivr, unpkg, custom
# Custom CDN URL
# format example: https://cdn.custom.com/hexo-theme-redefine/${version}/source/${path}
# The ${path} must be in the source folder of the theme
Expand Down
89 changes: 89 additions & 0 deletions languages/ja.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
# ----------------------------------------
# 网站翻译
# ----------------------------------------
search: 検索...
toc: このページの目次
prev: 前のページ
next: 次のページ
prev_posts: 前一篇
next_posts: 次一篇
page: "%d ページ"
recent_posts: 最新記事
share: 分かち合う
powered_by: "%s で駆動する"
theme: テーマ
rss_feed: RSS Feed
category: 分類
categories: 分類
tag: タグ
tags: タグ
post: 記事
posts: 記事
tagcloud: タグクラウド
comment: コメント
comments: コメント
top: トップ
sticky: 屋根

# ----------------------------------------
# 菜单翻译
# ----------------------------------------
home: トップページ
archive: ファイル
archives: ファイル
about: について
links: リンク
friends: フレンドシップリンク
friend: フレンドシップリンク
タイムライン: 時間軸
shuoshuo: 話す

# ----------------------------------------
# 网站统计
# ----------------------------------------
site_uv: 訪問者数
site_pv: 総アクセス数
read-more: 全文を読む
wordcount:
min2read:
changelog: ログを更新
status: 状態

# ----------------------------------------
# 页脚
# ----------------------------------------
runtime: ブログが稼働する
days:
hours: 時間
ミニッツ:
seconds:

optimized_by: そしてEvanによって最適化される
ライツ: 著作権所有

# ----------------------------------------
# 版权声明
# ----------------------------------------
copyright:
title: タイトル
author: 作者
link: リンク
create_time: で作成されました
update_time: で更新されました
license_title: 著作権宣言
license_content: "この文章は %s を使用して許可します。"
all_rights_reserved: "著作権所有 &#169 %s、転載禁止です。"
public-domain: "この記事はパブリックドメインの著作物であて、転載、引用は自由。"

ago:
second: "%s 秒前"
minute: "%s 分前"
hour: "%s 時間前"
day: "%s 日前"
week: "%s 週間前"
month: "%s 月前"
year: "%s 年前"

create_time: 作成
update_time: 更新
expired: "この記事は %s 日前に最後に更新される"
2 changes: 1 addition & 1 deletion layout/_meta/article-copyright.ejs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div class="article-copyright-info-container">
<ul>
<li><strong><%- __('copyright.title') %>:</strong> <%= page.title %></li>
<li><strong><%- __('copyright.author') %>:</strong> <%= theme.info.author || config.author %></li>
<li><strong><%- __('copyright.author') %>:</strong> <%=(typeof page.author === "string" && (page.author)) || page.author?.name || theme.info.author || config.author %></li>
<li><strong><%- __('copyright.create_time') %>
:</strong> <%= date(page.date, `${config.date_format} ${config.time_format}`) %></li>
<% if (page.updated && page.updated !== page.date) { %>
Expand Down
2 changes: 1 addition & 1 deletion layout/_partials/comments/waline.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<div id="waline"></div>
<script type="module" <%= theme.global.single_page === true ? 'data-swup-reload-script' : '' %>>
import { init } from 'https://evan.beee.top/js/waline.mjs';
import { init } from '<%= renderJSPath('js/libs/waline.mjs') %>';
function loadWaline() {
init({
Expand Down
2 changes: 1 addition & 1 deletion layout/_partials/footer.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<span><%= date(new Date(theme.footer.start), 'YYYY') %></span>
-
<% } %>
<%= date(new Date(), 'YYYY') %>&nbsp;&nbsp;<%- theme.footer.icon || '<i class="fa-regular fa-computer-classic"></i>' %>&nbsp;&nbsp;<a href="/"><%= theme.info.author || config.author %></a>
<%= date(new Date(), 'YYYY') %>&nbsp;&nbsp;<%- theme.footer.icon || '<i class="fa-regular fa-computer-classic"></i>' %>&nbsp;&nbsp;<a href="<%= config.root %>"><%= theme.info.author || config.author %></a>
</div>
<% if (theme.global.website_counter.enable === true) { %>
<script <%= theme.global.single_page === true ? 'data-swup-reload-script' : '' %> src="<%= theme.global.website_counter.url ? theme.global.website_counter.url : "//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js" %>"></script>
Expand Down
27 changes: 15 additions & 12 deletions layout/_partials/head.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,19 @@
<!-- preconnect -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>

<% if (theme.cdn.enable == true) { %>
<% if (theme.cdn.provider == 'jsdelivr') { %>
<link rel="preconnect" href="https://cdn.jsdelivr.net" crossorigin>
<% } else if (theme.cdn.provider == 'unpkg') { %>
<link rel="preconnect" href="https://unpkg.com" crossorigin>
<% } else if (theme.cdn.provider == 'personal') { %>
<link rel="preconnect" href="https://evan.beee.top" crossorigin>
<% } else { %>
<link rel="preconnect" href="https://npm.elemecdn.com" crossorigin>

<% if (theme.cdn.enable) { %>
<% const provider = theme.cdn.provider; %>
<% const cdnLinks = {
'jsdelivr': 'https://cdn.jsdelivr.net',
'unpkg': 'https://unpkg.com',
'personal': 'https://evan.beee.top',
'cdnjs': 'https://cdnjs.cloudflare.com',
'bootcdn': 'https://cdn.bootcdn.net',
'staticfile': 'https://cdn.staticfile.org'
}; %>
<% if (cdnLinks[provider]) { %>
<link rel="preconnect" href="<%= cdnLinks[provider] %>" crossorigin>
<% } %>
<% } %>
<!--- Seo Part-->
Expand Down Expand Up @@ -73,9 +76,9 @@
<%- css('css/style') %>

<% if (theme.developer && theme.developer.enable) {%>
<%- css('css/build/styles.css') %>
<%- css('assets/build/styles.css') %>
<% } else {%>
<%- renderCSS('css/build/styles.css') %>
<%- renderCSS('assets/build/styles.css') %>
<% } %>

<%- renderCSS('fonts/fonts.css') %>
Expand Down
Loading

0 comments on commit f8b9a23

Please sign in to comment.