hexo-theme-solitude 2.0.6 → 2.0.8
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.
- package/.github/workflows/code-review-bot.yml +28 -0
- package/_config.yml +384 -126
- package/layout/includes/console.pug +1 -1
- package/layout/includes/footer.pug +8 -14
- package/layout/includes/head/opengraph.pug +2 -2
- package/layout/includes/head/pwa.pug +2 -2
- package/layout/includes/head.pug +2 -2
- package/layout/includes/layout.pug +1 -1
- package/layout/includes/loading.pug +4 -2
- package/layout/includes/page/categories.pug +1 -1
- package/layout/includes/page/tags.pug +1 -1
- package/layout/includes/widgets/aside/asideInfoCard.pug +13 -10
- package/layout/includes/widgets/page/about/award.pug +2 -2
- package/layout/includes/widgets/third-party/pjax.pug +1 -1
- package/package.json +2 -5
- package/plugins.yml +3 -3
- package/scripts/filter/default.js +1 -1
- package/scripts/helper/getArchiveLength.js +1 -1
- package/source/css/_comments/twikoo.styl +3 -0
- package/source/css/_layout/aside.styl +16 -14
- package/source/css/_layout/footer.styl +0 -46
- package/source/css/_layout/header.styl +1 -1
- package/source/css/_layout/sidebar.styl +12 -2
- package/source/css/_page/_home/home-top.styl +2 -2
- package/source/css/_page/error.styl +2 -2
- package/source/css/_page/recentcomment.styl +2 -1
- package/source/css/_search/algolia-search.styl +6 -6
- package/source/js/main.js +637 -645
- package/source/img/recent_c.avif +0 -0
package/_config.yml
CHANGED
@@ -1,29 +1,39 @@
|
|
1
1
|
# ---------------------------
|
2
2
|
# Hexo Theme Solitude
|
3
|
-
# Author:
|
3
|
+
# Author: Ever Fu
|
4
4
|
# Github: https://github.com/everfu/hexo-theme-solitude
|
5
5
|
#
|
6
6
|
# Guide: https://solitude.js.org
|
7
7
|
# You can get more detailed help from the guide
|
8
|
+
# 指南:https://solitude.js.org
|
9
|
+
# 你可以从指南中获取更详细的帮助
|
8
10
|
#
|
9
|
-
# sponsor: https://
|
11
|
+
# sponsor: https://ko-fi.com/everfu
|
12
|
+
# 赞助:https://afdian.com/a/everfu
|
10
13
|
# ---------------------------
|
11
14
|
|
12
15
|
# --------------------------- start ---------------------------
|
13
16
|
# Site information
|
17
|
+
# 网站信息
|
14
18
|
site:
|
15
19
|
name:
|
16
20
|
class: text # text / i_class / img
|
17
21
|
custom: Solitude # Solitude / fas fa-ghost / /img/pwa/favicon.ico
|
18
|
-
|
19
|
-
icon: /img/pwa/favicon.ico
|
22
|
+
icon: /img/pwa/favicon.ico # Site icon / 网站图标
|
20
23
|
# --------------------------- end ---------------------------
|
21
24
|
|
22
25
|
# --------------------------- start ---------------------------
|
26
|
+
# Navigation bar
|
27
|
+
# 导航栏
|
23
28
|
nav:
|
29
|
+
# Left Box
|
30
|
+
# 左侧盒子
|
24
31
|
group:
|
25
32
|
# project: # name
|
26
33
|
# Solitude: https://github.com/everfu/hexo-theme-solitude || /img/pwa/favicon.ico # name: url || icon
|
34
|
+
|
35
|
+
# Menu
|
36
|
+
# 菜单
|
27
37
|
menu:
|
28
38
|
# Home: / # name: link
|
29
39
|
# Article: # name
|
@@ -39,8 +49,11 @@ nav:
|
|
39
49
|
# Toobox: /tlink/ || fas fa-toolbox
|
40
50
|
# Music: /music/ || fas fa-music
|
41
51
|
# About: /about/
|
42
|
-
|
43
|
-
|
52
|
+
|
53
|
+
# Right button
|
54
|
+
# 右侧按钮
|
55
|
+
right:
|
56
|
+
random: false # Random article / 随机文章按钮
|
44
57
|
custom:
|
45
58
|
# - name: Start # name
|
46
59
|
# url: https://www.travellings.cn/go.html # Jump link
|
@@ -50,10 +63,12 @@ nav:
|
|
50
63
|
# --------------------------- end ---------------------------
|
51
64
|
|
52
65
|
# --------------------------- start ---------------------------
|
66
|
+
# Home Top Banner
|
67
|
+
# 首页顶部
|
53
68
|
hometop:
|
54
69
|
enable: false
|
55
70
|
banner:
|
56
|
-
title: Tranquility <br>and love life
|
71
|
+
title: # Tranquility <br>and love life / 宁静致远 <br> 热爱生活 # Title
|
57
72
|
url: Hexo Theme Solitude
|
58
73
|
icon:
|
59
74
|
# HTML: # name
|
@@ -75,21 +90,28 @@ hometop:
|
|
75
90
|
# img: https://i.postimg.cc/nhgjwjCS/git.png
|
76
91
|
# color: "#df5b40"
|
77
92
|
group:
|
78
|
-
#
|
79
|
-
# Course: /tags/Course/ || fas fa-book || linear-gradient(to right,#358bff,#15c6ff)
|
80
|
-
# Curation: /tags/Curation/ || fas fa-star || linear-gradient(to right,#18e7ae,#1eebeb)
|
93
|
+
# 热门: /tags/Fire/ || fas fa-fire || linear-gradient(to right,#f65,#ffbf37)
|
81
94
|
recommendList:
|
82
|
-
sup:
|
83
|
-
title: Solitude
|
95
|
+
sup: 置顶
|
96
|
+
title: Solitude 官方文档
|
84
97
|
url: https://solitude.js.org/
|
85
98
|
img: /img/default.avif
|
86
99
|
color: "none"
|
100
|
+
|
101
|
+
# Article Top Banner
|
102
|
+
# 文章推荐轮播图
|
87
103
|
carousel: false
|
88
104
|
# --------------------------- end ---------------------------
|
89
105
|
|
90
106
|
# --------------------------- start ---------------------------
|
107
|
+
# Aside
|
108
|
+
# 侧边栏
|
91
109
|
aside:
|
92
110
|
# Values: about (info card), newestPost (latest article), allInfo (website information), flip (official account QR code), newest_comment (latest comment)
|
111
|
+
# 值: about(信息卡), newestPost(最新文章), allInfo(网站信息), flip(官方账号二维码), newest_comment(最新评论)
|
112
|
+
|
113
|
+
# Sticky: Fixed position / noSticky: Not fixed position
|
114
|
+
# Sticky: 固定位置 / noSticky: 不固定位置
|
93
115
|
home: # on the homepage
|
94
116
|
noSticky: "about"
|
95
117
|
Sticky: "allInfo"
|
@@ -99,29 +121,39 @@ aside:
|
|
99
121
|
page: # on the page
|
100
122
|
noSticky: "about"
|
101
123
|
Sticky: "newestPost,allInfo"
|
124
|
+
# 菜单栏位置(0: 左 1: 右)
|
102
125
|
position: 1 # Sidebar positioning(0: left 1: right)
|
103
126
|
|
104
127
|
# --------------------------- start ---------------------------
|
105
128
|
# Information card
|
129
|
+
# 信息卡
|
106
130
|
card:
|
107
131
|
style: 0 # 0: default 1: style 1 2: style 2
|
108
132
|
author:
|
109
|
-
img: /img/avatar.avif # url
|
110
|
-
sticker: # url
|
111
|
-
url: /about/ #
|
133
|
+
img: /img/avatar.avif # url
|
134
|
+
sticker: # url, 24x24 size
|
135
|
+
url: /about/ # link / 点击头像跳转链接
|
112
136
|
background: # https://s3.qjqq.cn/47/663af296b85f4.webp!color # Background image(Invalid if style is 0)
|
113
|
-
|
114
|
-
|
115
|
-
|
137
|
+
# Content(Invalid if style is 0)
|
138
|
+
# 内容(Style 0 无效)
|
139
|
+
content: # 这是我的博客 / This is my Blog
|
140
|
+
content2: # 一个热爱生活的人 / A person who loves life
|
141
|
+
# Style 2 is invalid
|
142
|
+
# Style 2 无效
|
143
|
+
sayhello:
|
116
144
|
morning: ✨ Good morning. It's a new day
|
117
145
|
noon: It's time for a midday break
|
118
146
|
afternoon: Tea time. 🍵
|
119
147
|
night: early bedtime
|
120
148
|
goodnight: Good night 😴
|
121
|
-
|
149
|
+
# Style 2 is invalid, Triggered when sayhello is clicked.
|
150
|
+
# Style 2 无效, 点击 sayhello 时触发
|
151
|
+
sayhello2:
|
122
152
|
# - You'll make it.
|
123
153
|
# - You're gonna make it.
|
124
154
|
# - Good luck, stranger.
|
155
|
+
# social
|
156
|
+
# 社交信息图标
|
125
157
|
information:
|
126
158
|
# Github: https://github.com/everfu || fab fa-github # Name: link || icon
|
127
159
|
# Bilibili: https://space.bilibili.com/1329819902 || fab fa-bilibili
|
@@ -129,6 +161,7 @@ aside:
|
|
129
161
|
|
130
162
|
# --------------------------- start ---------------------------
|
131
163
|
# Sidebar QR code component
|
164
|
+
# 侧边栏二维码组件
|
132
165
|
flip:
|
133
166
|
favicon: # url (favicon)
|
134
167
|
face: # url (QR code)
|
@@ -138,6 +171,7 @@ aside:
|
|
138
171
|
|
139
172
|
# --------------------------- start ---------------------------
|
140
173
|
# recent comments(⚠️ Comments need to be configured first.)
|
174
|
+
# 最新评论(⚠️ 需要先配置评论)
|
141
175
|
newest_comment:
|
142
176
|
enable: true
|
143
177
|
storage: .5 # 缓存时间 1: 1天 / .5 : 半天 / Cache time 1: 1 day .5 : half a day
|
@@ -146,6 +180,7 @@ aside:
|
|
146
180
|
|
147
181
|
# --------------------------- start ---------------------------
|
148
182
|
# article table of contents
|
183
|
+
# 文章目录
|
149
184
|
toc:
|
150
185
|
post: true
|
151
186
|
page: false
|
@@ -154,111 +189,193 @@ aside:
|
|
154
189
|
|
155
190
|
# --------------------------- start ---------------------------
|
156
191
|
# Tags
|
192
|
+
# 标签
|
157
193
|
tags:
|
158
194
|
enable: false
|
159
195
|
limit: 20 # Number of tags displayed
|
160
|
-
|
196
|
+
# Highlighted tags
|
197
|
+
highlight_list:
|
161
198
|
# - Hexo
|
162
199
|
# --------------------------- end ---------------------------
|
163
200
|
|
164
201
|
# --------------------------- start ---------------------------
|
165
202
|
# Archive
|
203
|
+
# 归档
|
166
204
|
archive:
|
167
205
|
enable: false
|
168
206
|
type: "month" # month: by month / year: by year
|
169
207
|
# --------------------------- end ---------------------------
|
170
208
|
|
171
209
|
# --------------------------- start ---------------------------
|
210
|
+
# Site Info
|
211
|
+
# 网站信息
|
172
212
|
siteinfo:
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
213
|
+
# Number of articles
|
214
|
+
# 文章数量
|
215
|
+
postcount: true
|
216
|
+
# Total number of words
|
217
|
+
# 总字数
|
218
|
+
wordcount: false
|
219
|
+
# PV
|
220
|
+
pv: true
|
221
|
+
# UV
|
222
|
+
uv: true
|
223
|
+
# Last update date
|
224
|
+
# 最后更新日期
|
225
|
+
updatetime: true
|
226
|
+
# Website creation time
|
227
|
+
# 网站创建时间
|
228
|
+
runtimeenable: true
|
229
|
+
# Format: yyyy-MM-dd hh-mm-ss
|
230
|
+
# 格式: yyyy-MM-dd hh-mm-ss
|
231
|
+
runtime: "2023-04-20 00:00:00"
|
180
232
|
# --------------------------- end ---------------------------
|
181
233
|
# --------------------------- end ---------------------------
|
182
234
|
|
183
235
|
# --------------------------- start ---------------------------
|
184
236
|
# Home page article configuration information
|
237
|
+
# 首页文章配置信息
|
185
238
|
index_post_list:
|
186
239
|
direction: column # row / column
|
187
240
|
column: 2 # 2: 2 columns 3: 3 columns
|
188
|
-
|
189
|
-
|
190
|
-
|
241
|
+
# 1: 1 post.description / 1: 使用自己写的文章摘要
|
242
|
+
# 2: 2 Automatically get descriptions or screenshots / 2: 自动获取描述或截图
|
243
|
+
# 3: 3 Use only interception / 3: 仅使用截取
|
244
|
+
# false: Do not display / false: 不显示
|
245
|
+
content: false
|
246
|
+
# The length of the screenshot content
|
247
|
+
# 截图内容长度
|
248
|
+
length: 500
|
249
|
+
# left: on the left : left / right: on the right : right / both: both sides : both
|
250
|
+
# left: 左侧 : left / right: 右侧 : right / both: 两侧 : both
|
251
|
+
cover: both
|
191
252
|
# --------------------------- end ---------------------------
|
192
253
|
|
193
254
|
# --------------------------- start ---------------------------
|
194
255
|
# Page default settings
|
256
|
+
# 页面默认设置
|
195
257
|
page:
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
258
|
+
# 404 page
|
259
|
+
# 404 页面
|
260
|
+
error: true
|
261
|
+
# Tags page
|
262
|
+
# 标签页面
|
263
|
+
tags: true
|
264
|
+
# Categories page
|
265
|
+
# 分类页面
|
266
|
+
categories: true
|
267
|
+
# list: Sort List / 1: Follow HomeList
|
268
|
+
# list: 排序列表 / 1: 跟随首页列表
|
269
|
+
archives: 0
|
270
|
+
# Default value
|
271
|
+
# 默认值
|
272
|
+
default:
|
273
|
+
# Default image when no cover is set
|
274
|
+
# 未设置封面时的默认图片
|
201
275
|
cover:
|
202
276
|
# - /img/default.png # 默认图片 / default cover
|
203
277
|
# --------------------------- end ---------------------------
|
204
278
|
|
205
279
|
# --------------------------- start ---------------------------
|
206
280
|
# Post default settings
|
281
|
+
# 文章默认设置
|
207
282
|
post:
|
208
283
|
default:
|
209
|
-
|
210
|
-
|
284
|
+
# The cover of the article is displayed
|
285
|
+
# 文章封面显示
|
286
|
+
top_cover: true
|
287
|
+
# Default image when no cover is set
|
288
|
+
# 未设置封面时的默认图片
|
289
|
+
cover:
|
211
290
|
# - # 默认图片 / default cover
|
212
|
-
|
213
|
-
|
291
|
+
# Location
|
292
|
+
# 位置
|
293
|
+
locate: China
|
294
|
+
# Copyright
|
295
|
+
# 版权
|
296
|
+
copyright:
|
214
297
|
enable: true
|
215
298
|
author:
|
216
299
|
url: /about/ # Author link
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
300
|
+
# Default icon is not filled in
|
301
|
+
# 不填显示默认图标
|
302
|
+
img:
|
303
|
+
# License
|
304
|
+
# 许可证
|
305
|
+
license: CC BY-NC-SA 4.0
|
306
|
+
# License link
|
307
|
+
# 许可证链接
|
308
|
+
licenurl: https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh
|
309
|
+
# Article meta information
|
310
|
+
# 文章元信息
|
311
|
+
meta:
|
312
|
+
# Release date
|
313
|
+
# 发布日期
|
314
|
+
date: false
|
315
|
+
# Update date
|
316
|
+
# 更新日期
|
317
|
+
updated: false
|
318
|
+
# Location
|
319
|
+
# 位置
|
320
|
+
locate: false
|
321
|
+
# Number of words
|
322
|
+
# 字数
|
323
|
+
wordcount: false
|
324
|
+
# uv
|
325
|
+
readtime: false
|
326
|
+
# pv
|
327
|
+
pv: false
|
328
|
+
# Comment count
|
329
|
+
# 评论数
|
330
|
+
comment: false
|
331
|
+
# Reward
|
332
|
+
# 打赏
|
333
|
+
award:
|
229
334
|
enable: false
|
230
335
|
appreciators: /about/ # Reward page
|
231
|
-
|
232
|
-
|
336
|
+
# Reward Title
|
337
|
+
# 打赏标题
|
338
|
+
title: # Thanks for your appreciation. / 感谢您的赞赏
|
339
|
+
desc: # Because of your support, I realize the value of writing articles. / 由于您的支持,我才能够实现写作的价值。
|
340
|
+
# Reward list
|
341
|
+
# 打赏列表
|
233
342
|
list:
|
234
343
|
# - name: Github Sponsor
|
235
344
|
# qcode: https://s3.qjqq.cn/47/661ba900c4bc1.webp!color
|
236
345
|
# url: https://github.com/sponsors/everfu
|
237
346
|
# color: var(--efu-black)
|
238
|
-
|
347
|
+
|
348
|
+
# Share icon
|
349
|
+
# 分享图标
|
350
|
+
share:
|
239
351
|
enable: false
|
240
352
|
list:
|
241
|
-
#
|
242
|
-
#
|
243
|
-
#
|
244
|
-
#
|
245
|
-
#
|
246
|
-
#
|
247
|
-
#
|
248
|
-
#
|
249
|
-
#
|
353
|
+
# - qq
|
354
|
+
# - weibo
|
355
|
+
# - twitter
|
356
|
+
# - facebook
|
357
|
+
# - telegram
|
358
|
+
# - whatsapp
|
359
|
+
# - linkedin
|
360
|
+
# - link
|
361
|
+
# - qrcode
|
250
362
|
rss: # /atom.xml
|
251
|
-
|
363
|
+
# Article reading progress
|
364
|
+
# 文章封面取色
|
365
|
+
covercolor:
|
252
366
|
enable: false
|
253
|
-
|
254
|
-
|
255
|
-
|
367
|
+
# local: local color / api: api color
|
368
|
+
mode: local
|
369
|
+
# api address / api 地址
|
370
|
+
api: https://api.qjqq.cn/api/Imgcolor?img=
|
371
|
+
# Storage / 缓存时间
|
372
|
+
time: 43200000
|
256
373
|
footer:
|
257
|
-
enable:
|
258
|
-
desc: Articles from Ever Fu. # description
|
374
|
+
enable: false
|
375
|
+
desc: # Articles from Ever Fu. / 文章来自 Ever Fu # description
|
259
376
|
button: # Button
|
260
377
|
enable: true
|
261
|
-
name: Learn more
|
378
|
+
name: # Learn more / 了解更多
|
262
379
|
url: /about/
|
263
380
|
# --------------------------- end ---------------------------
|
264
381
|
|
@@ -276,48 +393,61 @@ theme_color:
|
|
276
393
|
# --------------------------- end ---------------------------
|
277
394
|
|
278
395
|
# --------------------------- start ---------------------------
|
279
|
-
#
|
396
|
+
# display mode
|
397
|
+
# 显示模式
|
280
398
|
display_mode:
|
281
|
-
|
282
|
-
|
283
|
-
|
399
|
+
# auto: automatic switching(Recognize the current theme mode of the device) / dark: dark mode / light: light mode
|
400
|
+
# auto: 自动切换(识别设备当前主题模式) / dark: 深色模式 / light: 浅色模式
|
401
|
+
type: auto
|
402
|
+
# After opening, the dark mode will display the starry sky background
|
403
|
+
# 开启后深色模式会显示星空背景
|
404
|
+
universe: false
|
284
405
|
# --------------------------- end ---------------------------
|
285
406
|
|
286
407
|
# --------------------------- start ---------------------------
|
287
408
|
# Related articles
|
409
|
+
# 相关文章
|
288
410
|
related_post:
|
289
411
|
enable: false
|
290
412
|
limit: 2
|
291
|
-
|
413
|
+
# created: release date / updated: update date
|
414
|
+
# created: 发布日期 / updated: 更新日期
|
415
|
+
date_type: created
|
292
416
|
# --------------------------- end ---------------------------
|
293
417
|
|
294
418
|
# --------------------------- start ---------------------------
|
295
419
|
# Footer
|
420
|
+
# 页脚
|
296
421
|
footer:
|
422
|
+
# Information social icon
|
297
423
|
information:
|
298
|
-
author: false # enable
|
424
|
+
author: false # enable site.icon in footer
|
299
425
|
left:
|
300
|
-
# Github: https://github.com/
|
426
|
+
# Github: https://github.com/everfu || fab fa-github # Name: link || icon
|
301
427
|
# Mail: mailto:o@efu.me || fab fa-envelope
|
302
428
|
right:
|
303
429
|
# Bilibili: https://space.bilibili.com/1329819902 || fab fa-bilibili
|
304
430
|
# Douyin: https://v.douyin.com/iJsLc8jt/ || fab fa-tiktok
|
305
431
|
group:
|
306
|
-
#
|
432
|
+
# Navigation:
|
307
433
|
# Archives: /archives/
|
308
434
|
# Categories: /categories/
|
309
435
|
# Tags: /tags/
|
310
|
-
# Server:
|
311
|
-
# Aliyun: https://aliyun.com/
|
312
|
-
# 51la: https://v6.51.la/
|
313
436
|
# Arrangement:
|
314
437
|
# Cookies: /cookies/
|
315
438
|
# Privacy: /privacy/
|
316
439
|
# Copyright: /copyright/
|
317
440
|
|
441
|
+
# Random link
|
442
|
+
# 随机友链
|
318
443
|
randomlink: false # Random link
|
319
|
-
|
444
|
+
# License
|
320
445
|
license: # https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh # License
|
446
|
+
|
447
|
+
# Footer information text
|
448
|
+
# 页脚信息文字
|
449
|
+
# Please do not delete the theme information, this is respect for the author
|
450
|
+
# 请不要删除主题信息,这是对作者的尊重
|
321
451
|
links:
|
322
452
|
- name: Theme
|
323
453
|
url: https://github.com/everfu/hexo-theme-solitude
|
@@ -326,7 +456,8 @@ footer:
|
|
326
456
|
# --------------------------- end ---------------------------
|
327
457
|
|
328
458
|
# --------------------------- start ---------------------------
|
329
|
-
#
|
459
|
+
# 404 page
|
460
|
+
# 404 页面
|
330
461
|
errorpage:
|
331
462
|
img: /img/404.avif
|
332
463
|
text: =awa= Page NotFound # Text
|
@@ -335,16 +466,18 @@ errorpage:
|
|
335
466
|
|
336
467
|
# --------------------------- start ---------------------------
|
337
468
|
# Says Page
|
469
|
+
# 即可短文
|
338
470
|
says:
|
339
471
|
enable: false
|
340
472
|
home_mini: false
|
341
|
-
page:
|
473
|
+
page: /essay/
|
342
474
|
style: 1
|
343
475
|
strip: 30
|
344
476
|
# --------------------------- end ---------------------------
|
345
477
|
|
346
478
|
# --------------------------- start ---------------------------
|
347
479
|
# Recent comments Page
|
480
|
+
# 最近评论页面
|
348
481
|
recent_comments:
|
349
482
|
enable: false
|
350
483
|
limit: 50 # ⚠️waline 仅支持最大50条评论 / ⚠️waline only supports a maximum of 50 comments
|
@@ -355,6 +488,7 @@ recent_comments:
|
|
355
488
|
|
356
489
|
# --------------------------- start ---------------------------
|
357
490
|
# Danmaku Page
|
491
|
+
# 弹幕留言页面
|
358
492
|
envelope:
|
359
493
|
enable: false
|
360
494
|
line: 10 # 显示行数
|
@@ -367,27 +501,38 @@ envelope:
|
|
367
501
|
# --------------------------- start ---------------------------
|
368
502
|
# This part of the content uses metingjs,
|
369
503
|
# can only use NetEase Cloud Music, QQ Music and other music platforms supported by the mainland China region,
|
370
|
-
# the subsequent consideration of the use of JSON files to store music information and customize the implementation of the third-party API does not depend on the.
|
504
|
+
# the subsequent consideration of the use of JSON files to store music information and customize the implementation of the third-party API does not depend on the page.
|
371
505
|
# Music Page
|
372
506
|
meting_api: "https://meting.qjqq.cn/?server=:server&type=:type&id=:id&auth=:auth&r=:r" # Custom API
|
373
507
|
music:
|
374
508
|
enable: false
|
509
|
+
# 歌单 ID / 单曲 ID
|
375
510
|
id: 1994908354
|
511
|
+
# 服务商:netease / qq / xiami / kugou / baidu
|
376
512
|
server: netease
|
513
|
+
# 类型:playlist / song
|
377
514
|
type: playlist
|
515
|
+
# 默认音量
|
378
516
|
volume: 0.8
|
517
|
+
# 是否自动播放
|
379
518
|
mutex: true
|
380
519
|
# Capsule music
|
520
|
+
# 音乐胶囊
|
381
521
|
capsule:
|
382
522
|
enable: false
|
523
|
+
# 歌单 ID / 单曲 ID
|
383
524
|
id: 8407304077
|
525
|
+
# 服务商:netease / qq / xiami / kugou / baidu
|
384
526
|
server: netease
|
527
|
+
# 类型:playlist / song
|
385
528
|
type: playlist
|
386
529
|
# --------------------------- end ---------------------------
|
387
530
|
|
388
531
|
# --------------------------- start ---------------------------
|
389
532
|
# Quick Menu
|
390
533
|
# Open with shift + ?
|
534
|
+
# 快捷菜单
|
535
|
+
# 使用 shift + ? 打开
|
391
536
|
keyboard:
|
392
537
|
enable: false
|
393
538
|
list:
|
@@ -407,44 +552,71 @@ keyboard:
|
|
407
552
|
|
408
553
|
# --------------------------- start ---------------------------
|
409
554
|
# Copy
|
555
|
+
# information
|
556
|
+
# 复制信息
|
410
557
|
copy:
|
411
|
-
enable:
|
412
|
-
|
413
|
-
|
414
|
-
|
558
|
+
enable: false
|
559
|
+
# Turn on Link copyright information after copying.
|
560
|
+
# 复制后链接版权信息
|
561
|
+
copyright:
|
562
|
+
enable: false
|
563
|
+
# Display when the number of words copied exceeds
|
564
|
+
# 复制文字时超过多少字数显示
|
565
|
+
limit: 50
|
415
566
|
# --------------------------- end ---------------------------
|
416
567
|
|
417
568
|
# --------------------------- start ---------------------------
|
418
569
|
# Lazyload
|
570
|
+
# 图片懒加载
|
419
571
|
lazyload:
|
420
572
|
enable: false
|
421
|
-
|
573
|
+
# post, site
|
574
|
+
field: site
|
575
|
+
# 加载时替换图
|
422
576
|
placeholder: /img/loading.avif
|
577
|
+
# 加载失败替换图
|
423
578
|
errorimg: /img/error_load.avif
|
424
579
|
# --------------------------- end ---------------------------
|
425
580
|
|
426
581
|
# --------------------------- start ---------------------------
|
427
582
|
# Loading
|
583
|
+
# 加载
|
428
584
|
loading:
|
429
|
-
|
430
|
-
|
585
|
+
# Full screen loading
|
586
|
+
# 全屏加载
|
587
|
+
fullpage: false
|
588
|
+
# Pace loading
|
589
|
+
# Pace 加载
|
590
|
+
pace: true
|
431
591
|
# --------------------------- end ---------------------------
|
432
592
|
|
433
593
|
# --------------------------- start ---------------------------
|
434
594
|
# Highlight
|
595
|
+
# 代码块高亮
|
435
596
|
highlight:
|
436
597
|
enable: true
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
598
|
+
# Display the fold button when the number of words exceeds
|
599
|
+
# 当超过多少字时显示折叠按钮
|
600
|
+
limit: 200
|
601
|
+
# Whether to enable the copy button
|
602
|
+
# 是否启用复制按钮
|
603
|
+
copy: true
|
604
|
+
# Whether to expand by default
|
605
|
+
# 是否默认展开
|
606
|
+
expand: true
|
607
|
+
# default: default / mac : apple terminal
|
608
|
+
# default: 默认 / mac : 苹果终端
|
609
|
+
theme: mac
|
610
|
+
# default / solidity / dracula
|
611
|
+
color: default
|
442
612
|
# --------------------------- end ---------------------------
|
443
613
|
|
444
614
|
# --------------------------- start ---------------------------
|
445
615
|
# Lightbox
|
616
|
+
# 图片灯箱
|
446
617
|
lightbox: false
|
447
618
|
# warning: Please select any one, but cannot be turned on at the same time.
|
619
|
+
# 警告: 请任选其一,但不能同时开启。
|
448
620
|
fancybox: false # fancybox
|
449
621
|
mediumZoom: false # mediumZoom
|
450
622
|
# --------------------------- end ---------------------------
|
@@ -469,21 +641,30 @@ OpenGraph:
|
|
469
641
|
# --------------------------- end ---------------------------
|
470
642
|
|
471
643
|
# --------------------------- start ---------------------------
|
472
|
-
#
|
644
|
+
# Word count
|
645
|
+
# 字数统计
|
473
646
|
# warning: Please install the hexo-wordcount plugin first.
|
647
|
+
# 警告: 请先安装 hexo-wordcount 插件。
|
474
648
|
wordcount: false
|
475
649
|
# --------------------------- end ---------------------------
|
476
650
|
|
477
651
|
# --------------------------- start ---------------------------
|
478
652
|
# Busuanzi
|
479
653
|
busuanzi: false
|
480
|
-
|
654
|
+
# 0: Use the original version of busuanzi / 1: Use the custom version of busuanzi
|
655
|
+
# The difference between the original and the default: please search by yourself
|
656
|
+
# 0:使用原版的不蒜子 / 1:使用不蒜子的自定义版本
|
657
|
+
# 原版和默认的区别:请自行搜索
|
658
|
+
busuanzi_use: 0
|
481
659
|
# --------------------------- end ---------------------------
|
482
660
|
|
483
661
|
# --------------------------- start ---------------------------
|
484
662
|
# Search
|
663
|
+
# warning: Please open the search page config: https://solitude.js.org/search/algolia or https://solitude.js.org/search/local
|
664
|
+
# 警告: 请打开搜索页面配置: https://solitude.js.org/zh/search/algolia 或 https://solitude.js.org/zh/search/local
|
485
665
|
search:
|
486
666
|
enable: false
|
667
|
+
# type: 使用的搜索引擎 / search engine
|
487
668
|
type: local # local / algolia
|
488
669
|
tags:
|
489
670
|
# - Solitude
|
@@ -498,6 +679,7 @@ search:
|
|
498
679
|
|
499
680
|
# --------------------------- start ---------------------------
|
500
681
|
# This part is only supported in mainland China, and we will consider supporting ChatGPT Key in the future.
|
682
|
+
# 该部分仅支持中国大陆,后续会考虑支持 ChatGPT Key。
|
501
683
|
tianli_talk:
|
502
684
|
enable: false
|
503
685
|
title: 智能客服与搜索 # title
|
@@ -509,39 +691,63 @@ post_ai:
|
|
509
691
|
key:
|
510
692
|
talk: # 我是 Efu 开发的摘要生成助理EfuGPT,EfuGPT在静态部署时进行摘要的撰写,并且在访客访问时通过EfuCorrection转译后的文本摘要实现工具。我在这里只负责已经生成的摘要显示,你无法与我直接沟通,但我可以回答一些预设的问题。
|
511
693
|
randomPost: false
|
512
|
-
report: https://
|
694
|
+
report: https://solitude.js.org
|
513
695
|
tips: # 此内容根据文章生成,并经过人工审核,仅用于文章内容的解释与总结
|
514
696
|
# --------------------------- end ---------------------------
|
515
697
|
|
516
698
|
# --------------------------- start ---------------------------
|
517
699
|
# Katex
|
700
|
+
# Latex formula support
|
701
|
+
# Latex 公式支持
|
518
702
|
katex:
|
519
703
|
enable: false
|
520
|
-
|
521
|
-
|
704
|
+
# Whether to load on each page
|
705
|
+
# 是否在每个页面加载
|
706
|
+
per_page: false
|
707
|
+
# Whether to enable copy formula
|
708
|
+
# 是否启用复制公式
|
709
|
+
copytex: false
|
522
710
|
# --------------------------- end ---------------------------
|
523
711
|
|
524
712
|
# --------------------------- start ---------------------------
|
713
|
+
# Comment
|
714
|
+
# 评论
|
525
715
|
comment:
|
716
|
+
# Which commenting system to use(e.g. waline or waline,twikoo)
|
717
|
+
# 使用哪个评论系统(例如: waline or waline,twikoo)
|
526
718
|
use: # waline, twikoo, valine, artalk, giscus # Up to two comment systems can be turned on at the same time
|
527
|
-
|
528
|
-
|
529
|
-
|
530
|
-
|
531
|
-
|
532
|
-
|
719
|
+
# Whether to display the hot comment switch.
|
720
|
+
# 是否显示热门评论开关
|
721
|
+
commentBarrage: false
|
722
|
+
# Lazy load
|
723
|
+
# 懒加载评论区
|
724
|
+
lazyload: false
|
725
|
+
# Whether to display the comment count
|
726
|
+
# 显示评论数
|
727
|
+
count: false
|
728
|
+
# PV
|
729
|
+
pv: false
|
730
|
+
# Avatar
|
731
|
+
avatar: https://gravatar.com/avatar
|
732
|
+
# Hot comment tips
|
733
|
+
# 热评提示
|
734
|
+
hot_tip:
|
533
735
|
enable: false
|
534
|
-
|
736
|
+
# Number of hot comments
|
737
|
+
count: 3
|
738
|
+
# Twikoo: https://solitude.js.org/comment/twikoo
|
535
739
|
twikoo: # https://twikoo.js.org/
|
536
740
|
envId: # url: https://twikoo.sondy.top/
|
537
741
|
region: # Environment locale, default is ap-shanghai, Tencent cloud environment fill ap-shanghai or ap-guangzhou; Vercel environment do not fill the.
|
538
742
|
style: true # Use custom styles when turned on
|
539
743
|
accessToken: # AccessToken
|
540
744
|
option: # twikoo option
|
745
|
+
# Waline: https://solitude.js.org/comment/waline
|
541
746
|
waline: # https://waline.js.org/
|
542
747
|
envId: # url: https://waline.wzsco.top
|
543
748
|
pageview: false # Whether to enable page access statistics
|
544
749
|
option: # waline configuration item
|
750
|
+
# Valine: https://solitude.js.org/comment/valine
|
545
751
|
valine:
|
546
752
|
appId: # leancloud application app id
|
547
753
|
appKey: # leancloud application app key
|
@@ -550,10 +756,13 @@ valine:
|
|
550
756
|
visitor: false
|
551
757
|
style: true # Use custom styles when turned on
|
552
758
|
option: # options list
|
759
|
+
# Artalk: https://solitude.js.org/comment/artalk
|
760
|
+
# Artalk: https://solitude.js.org/zh/comment/artalk
|
553
761
|
artalk:
|
554
762
|
server: # server url
|
555
763
|
site: # site name
|
556
764
|
option: # options
|
765
|
+
# Giscus: https://solitude.js.org/comment/giscus
|
557
766
|
giscus:
|
558
767
|
repo: # GitHub repository name
|
559
768
|
repo_id: # GitHub repository ID
|
@@ -566,18 +775,28 @@ giscus:
|
|
566
775
|
|
567
776
|
# --------------------------- start ---------------------------
|
568
777
|
# Console
|
778
|
+
# 控制台
|
569
779
|
console:
|
570
780
|
enable: false
|
571
|
-
|
781
|
+
# Recent comments
|
782
|
+
# 最新评论
|
783
|
+
recentComment:
|
572
784
|
enable: false
|
573
|
-
|
785
|
+
# Cache time 1: 1 day / .5 : half a day
|
786
|
+
# 缓存时间 1: 1天 / .5 : 半天
|
787
|
+
storage: .2
|
574
788
|
card:
|
575
|
-
|
576
|
-
|
789
|
+
# Tags
|
790
|
+
# 标签
|
791
|
+
tags: true
|
792
|
+
# Archives
|
793
|
+
# 归档
|
794
|
+
archive: true
|
577
795
|
# --------------------------- end ---------------------------
|
578
796
|
|
579
797
|
# --------------------------- start ---------------------------
|
580
798
|
# verification
|
799
|
+
# 验证
|
581
800
|
verify_site:
|
582
801
|
# - name: google-site-verification
|
583
802
|
# content: xxxxxx
|
@@ -587,31 +806,44 @@ verify_site:
|
|
587
806
|
|
588
807
|
# --------------------------- start ---------------------------
|
589
808
|
# CSS Prefix
|
809
|
+
# CSS 前缀
|
590
810
|
# When turned on, it will automatically prefix the CSS (to get better browser support), but this will increase the size of the CSS file.
|
811
|
+
# 开启后会自动给 CSS 加前缀(以获得更好的浏览器支持),但这会增加 CSS 文件的大小。
|
591
812
|
css_prefix: false
|
592
813
|
# --------------------------- end ---------------------------
|
593
814
|
|
594
815
|
# --------------------------- start ---------------------------
|
595
816
|
# Font
|
817
|
+
# 字体
|
596
818
|
font:
|
597
819
|
font-size: 16px
|
598
820
|
code-font-size: 16px
|
821
|
+
# Global font
|
822
|
+
# 全局字体
|
599
823
|
font-family: "PingFang SC, Hiragino Sans GB, Microsoft YaHei"
|
824
|
+
# Code font
|
825
|
+
# 代码字体
|
600
826
|
code-font-family: '"monospace", monospace'
|
601
827
|
# --------------------------- end ---------------------------
|
602
828
|
|
603
829
|
# --------------------------- start ---------------------------
|
604
830
|
# Extend
|
831
|
+
# 扩展
|
605
832
|
extends:
|
606
|
-
head:
|
607
833
|
# Insert in head
|
834
|
+
# 插入到 head
|
835
|
+
head:
|
608
836
|
# - <script src="https://cdn.bootcdn.net/ajax/libs/pace/1.2.4/pace.min.js"></script>
|
609
|
-
|
837
|
+
|
610
838
|
# Insert in body
|
839
|
+
# 插入到 body
|
840
|
+
body:
|
841
|
+
# - <script src="https://cdn.bootcdn.net/ajax/libs/pace/1.2.4/pace.min.js"></script>
|
611
842
|
# --------------------------- end ---------------------------
|
612
843
|
|
613
844
|
# --------------------------- start ---------------------------
|
614
845
|
# PWA
|
846
|
+
# Progressive Web App
|
615
847
|
pwa:
|
616
848
|
enable: false
|
617
849
|
manifest: /manifest.json # manifest.json
|
@@ -625,28 +857,48 @@ pwa:
|
|
625
857
|
|
626
858
|
# --------------------------- start ---------------------------
|
627
859
|
# Google Adsense
|
860
|
+
# 谷歌广告
|
628
861
|
google_adsense:
|
629
862
|
enable: false
|
630
|
-
|
631
|
-
|
632
|
-
|
633
|
-
|
634
|
-
|
635
|
-
|
863
|
+
# Auto ads
|
864
|
+
# 自动广告
|
865
|
+
auto_ads: false
|
866
|
+
# Page-level ads
|
867
|
+
# 页面级广告
|
868
|
+
enable_page_level_ads: true
|
869
|
+
# Sidebar card ads
|
870
|
+
# 侧边栏卡片广告
|
871
|
+
aside_card: true
|
872
|
+
# Post card ads
|
873
|
+
# 文章卡片广告
|
874
|
+
post_card: true
|
875
|
+
# Post content ads
|
876
|
+
# 文章内容广告
|
877
|
+
post_content: true
|
878
|
+
# Google Adsense js
|
879
|
+
# 谷歌广告 js
|
880
|
+
js: https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js
|
636
881
|
client: # ca-pub-XXXXXXXXXXXXXX
|
637
882
|
slot: # 4236388782
|
638
883
|
# --------------------------- end ---------------------------
|
639
884
|
|
640
885
|
# --------------------------- start ---------------------------
|
641
886
|
# Custom right menu
|
887
|
+
# 自定义右键菜单
|
642
888
|
right_menu:
|
643
889
|
enable: false
|
644
|
-
|
645
|
-
|
890
|
+
# Whether to display the hot comment switch.
|
891
|
+
# 是否显示热门评论开关
|
892
|
+
commentBarrage: false
|
893
|
+
# Simplified and Traditional Chinese translation.
|
894
|
+
# 简繁体转换
|
895
|
+
translate:
|
646
896
|
enable: false
|
647
897
|
defaultEncoding: 2 # 1: 默认繁体 2: 默认简体
|
648
898
|
translateDelay: 0 # 首次加载翻译迟疑时间
|
649
|
-
|
899
|
+
# Custom list
|
900
|
+
# 自定义列表
|
901
|
+
custom_list:
|
650
902
|
# - name: Random
|
651
903
|
# click: toRandomPost()
|
652
904
|
# id: menu-randomPost
|
@@ -667,6 +919,7 @@ right_menu:
|
|
667
919
|
# --------------------------- start ---------------------------
|
668
920
|
# Memorial
|
669
921
|
# Turn the entire site gray on memorable days.
|
922
|
+
# 在纪念日整个网站变灰
|
670
923
|
memorial:
|
671
924
|
enable: false
|
672
925
|
date:
|
@@ -678,6 +931,7 @@ memorial:
|
|
678
931
|
# --------------------------- start ---------------------------
|
679
932
|
# Lure
|
680
933
|
# When the user exits the page, modify the title
|
934
|
+
# 当用户退出页面时,修改标题
|
681
935
|
lure:
|
682
936
|
enable: false
|
683
937
|
jump: 404 Not Found
|
@@ -686,16 +940,18 @@ lure:
|
|
686
940
|
|
687
941
|
# --------------------------- start ---------------------------
|
688
942
|
# Article expiration
|
943
|
+
# 文章过期
|
689
944
|
expire:
|
690
945
|
enable: false
|
691
946
|
time: 30 # days
|
692
947
|
position: top # top / bottom
|
693
|
-
text_prev:
|
694
|
-
text_next:
|
948
|
+
text_prev: "This article expired "
|
949
|
+
text_next: " day ago, if the content does not match, please contact the webmaster to update it."
|
695
950
|
# --------------------------- end ---------------------------
|
696
951
|
|
697
952
|
# --------------------------- start ---------------------------
|
698
953
|
# Background
|
954
|
+
# 背景图片
|
699
955
|
background:
|
700
956
|
enable: false
|
701
957
|
opacity: .2
|
@@ -704,6 +960,8 @@ background:
|
|
704
960
|
# --------------------------- end ---------------------------
|
705
961
|
|
706
962
|
# --------------------------- start ---------------------------
|
963
|
+
# Do not modify unless necessary
|
964
|
+
# 非必要请勿修改
|
707
965
|
CDN:
|
708
966
|
internal: local # local / cdnjs / jsdelivr / unpkg / custom
|
709
967
|
third_party: cdnjs # cdnjs / jsdelivr / unpkg / custom
|