Skip to content

Commit 4a4461c

Browse files
committed
本地化所有资源
1 parent d5c533a commit 4a4461c

File tree

148 files changed

+19808
-27
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

148 files changed

+19808
-27
lines changed

_config.kratos-rebirth.yml

Lines changed: 24 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ search:
99

1010
# 图片配置
1111
image:
12-
favicon: "/assets/favicon.png" # 站点图标
13-
avatar: "/images/avatar.jpeg" # 个人信息挂件上的头像
12+
favicon: "/static/assets/favicon.png" # 站点图标
13+
avatar: "/static/images/avatar.jpeg" # 个人信息挂件上的头像
1414
banner:
15-
light: "/assets/banner.webp"
16-
dark: "/assets/banner_dark.webp"
15+
light: "/static/images/banner.webp"
16+
dark: "/static/images/banner_dark.webp"
1717
background:
18-
light: "/assets/bg.webp"
19-
dark: "/assets/bg.webp"
18+
light: "/static/assets/bg.webp"
19+
dark: "/static/assets/bg.webp"
2020

2121
# 顶部导航栏配置
2222
nav:
@@ -82,15 +82,15 @@ share:
8282

8383
# 打赏组件设置
8484
donate:
85-
enable: false
85+
enable: true
8686
title: "大冰块"
8787
message: 非常感谢您的喜欢! <i class="fa fa-heart" style="color:#d43f57"></i>
88-
qrcode_placeholder: "https://dev.krt.moe/demo-assets/donate.webp"
89-
platforms:
90-
- name: "模拟支付"
91-
icon: "credit-card"
92-
color: "skyblue"
93-
qrcode: "example_payment"
88+
qrcode_placeholder: "/static/images/donate.webp"
89+
platforms: []
90+
# - name: "模拟支付"
91+
# icon: "credit-card"
92+
# color: "skyblue"
93+
# qrcode: "example_payment"
9494

9595
# 版权说明
9696
# copyright_notice:
@@ -106,7 +106,8 @@ comments:
106106
- post
107107
- page
108108
template:
109-
_shared: <div id="gitalk-container" class="kr-comments lazy-load" data-path="$PATH" data-path-hash="$PATH_HASH"></div>
109+
# _shared: <div id="gitalk-container" class="kr-comments lazy-load" data-path="$PATH" data-path-hash="$PATH_HASH"></div>
110+
_shared: ""
110111
index: ""
111112
post: <div id="w-comments" class="kr-comments" data-path="$PATH"></div>
112113
page: <div id="w-comments" class="kr-comments" data-path="$PATH"></div>
@@ -132,18 +133,18 @@ visit_count:
132133
################## 额外的注入代码 ##################
133134
additional_injections:
134135
head: |
135-
<link rel="stylesheet" href="/effects/snow.css" />
136+
<link rel="stylesheet" href="/static/effects/snow.css" />
136137
<link rel="stylesheet" href="https://unpkg.com/@waline/client@v3/dist/waline.css" />
137-
<link rel="stylesheet" href="/comments/waline.css" />
138-
<link rel="stylesheet" href="/css/custom.css" />
138+
<link rel="stylesheet" href="/static/comments/waline.css" />
139+
<link rel="stylesheet" href="/static/css/custom.css" />
139140
# <link rel="stylesheet" href="https://unpkg.com/gitalk/dist/gitalk.css">
140-
# <link rel="stylesheet" href="/comments/gitalk.css" />
141+
# <link rel="stylesheet" href="/static/comments/gitalk.css" />
141142
footer: |
142143
<canvas id="snow"></canvas>
143144
after_footer: |
144-
<script src="/effects/snow.js"></script>
145-
<script src="/effects/cursor-effects.js"></script>
146-
<script type="module" src="/comments/waline.js"></script>
147-
<script src="/others/random-post-cover.js"></script>
145+
<script src="/static/effects/snow.js"></script>
146+
<script src="/static/effects/cursor-effects.js"></script>
147+
<script type="module" src="/static/comments/waline.js"></script>
148+
<script src="/static/others/random-post-cover.js"></script>
148149
# <script src="https://unpkg.com/gitalk/dist/gitalk.min.js"></script>
149-
# <script src="/comments/gitalk.js"></script>
150+
# <script src="/static/comments/gitalk.js"></script>

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
"hexo-renderer-ejs": "^2.0.0",
2929
"hexo-renderer-marked": "^7.0.0",
3030
"hexo-renderer-stylus": "^3.0.1",
31-
"hexo-server": "^3.0.0",
32-
"hexo-theme-kratos-rebirth": "3.0.0-alpha.2"
31+
"hexo-server": "^3.0.0"
3332
}
3433
}

0 commit comments

Comments
 (0)