hexo-theme-solitude 2.0.3 → 2.0.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.
- package/.github/FUNDING.yml +3 -3
- package/.github/ISSUE_TEMPLATE/config.yml +1 -5
- package/README.md +34 -30
- package/README_zh-Hans.md +25 -21
- package/README_zh-Hant.md +27 -23
- package/SECURITY.md +1 -1
- package/_config.yml +453 -306
- package/languages/default.yml +13 -13
- package/languages/en.yml +14 -13
- package/layout/archive.pug +11 -4
- package/layout/includes/footer.pug +6 -5
- package/layout/includes/widgets/home/categoryBar.pug +2 -1
- package/package.json +1 -1
- package/scripts/event/merge_config.js +1 -0
- package/scripts/filter/post_image.js +0 -1
- package/source/css/_layout/aside.styl +1 -1
- package/source/css/_layout/header.styl +22 -15
- package/source/css/var.styl +1 -1
- package/source/js/main.js +1 -0
- package/.github/persona.avif +0 -0
package/_config.yml
CHANGED
@@ -3,210 +3,241 @@
|
|
3
3
|
# Author: EverFu
|
4
4
|
# Github: https://github.com/everfu/hexo-theme-solitude
|
5
5
|
#
|
6
|
-
#
|
7
|
-
# 你可以从指南中获得更详细的说明
|
8
|
-
#
|
9
|
-
# Guide: https://solitude.js.org/
|
6
|
+
# Guide: https://solitude.js.org
|
10
7
|
# You can get more detailed help from the guide
|
11
8
|
#
|
12
|
-
# 赞助:https://www.patreon.com/everfu
|
13
9
|
# sponsor: https://www.patreon.com/everfu
|
14
10
|
# ---------------------------
|
15
11
|
|
12
|
+
# --------------------------- start ---------------------------
|
13
|
+
# Site information
|
16
14
|
site:
|
17
15
|
name:
|
18
|
-
class: text
|
19
|
-
custom: Solitude
|
20
|
-
siteIcon: /img/pwa/favicon.ico
|
16
|
+
class: text # text / i_class / img
|
17
|
+
custom: Solitude # Solitude / fas fa-ghost / /img/pwa/favicon.ico
|
18
|
+
siteIcon: /img/pwa/favicon.ico # Site icon
|
21
19
|
icon: /img/pwa/favicon.ico
|
20
|
+
# --------------------------- end ---------------------------
|
22
21
|
|
22
|
+
# --------------------------- start ---------------------------
|
23
23
|
nav:
|
24
24
|
group:
|
25
|
-
#
|
26
|
-
# Solitude: https://github.com/everfu/hexo-theme-solitude || /img/pwa/favicon.ico #
|
25
|
+
# project: # name
|
26
|
+
# Solitude: https://github.com/everfu/hexo-theme-solitude || /img/pwa/favicon.ico # name: url || icon
|
27
27
|
menu:
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
#
|
43
|
-
|
44
|
-
random: false # 随机文章跳转 / random post button
|
45
|
-
console: false # 控制台 / console
|
28
|
+
# Home: / # name: link
|
29
|
+
# Article: # name
|
30
|
+
# Archives: /archives/ || fas fa-folder-closed # item name: link || icon
|
31
|
+
# Categories: /categories/ || fas fa-clone
|
32
|
+
# Tags: /tags/ || fas fa-tags
|
33
|
+
# Friends:
|
34
|
+
# Moments: /moments/ || fas fa-wifi
|
35
|
+
# Links: /links/ || fas fa-user-group
|
36
|
+
# Treasure: javascript:travelling() || fas fa-gift
|
37
|
+
# Myself:
|
38
|
+
# Equipment: /equipment/ || fas fa-laptop
|
39
|
+
# Toobox: /tlink/ || fas fa-toolbox
|
40
|
+
# Music: /music/ || fas fa-music
|
41
|
+
# About: /about/
|
42
|
+
right: # right button
|
43
|
+
random: false # Random article
|
46
44
|
custom:
|
47
|
-
# - name:
|
48
|
-
# url: https://www.travellings.cn/go.html #
|
49
|
-
# icon: fas fa-train #
|
50
|
-
# onclick: #
|
45
|
+
# - name: Start # name
|
46
|
+
# url: https://www.travellings.cn/go.html # Jump link
|
47
|
+
# icon: fas fa-train # Icon
|
48
|
+
# onclick: # Click event
|
51
49
|
# id: travellings_button # id
|
50
|
+
# --------------------------- end ---------------------------
|
52
51
|
|
52
|
+
# --------------------------- start ---------------------------
|
53
53
|
hometop:
|
54
54
|
enable: false
|
55
55
|
banner:
|
56
56
|
title: Tranquility <br>and love life
|
57
57
|
url: Hexo Theme Solitude
|
58
58
|
icon:
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
59
|
+
# HTML: # name
|
60
|
+
# img: https://i.postimg.cc/vBWVnY8q/html.png # url
|
61
|
+
# color: "#e9572b" # color
|
62
|
+
# JS:
|
63
|
+
# img: https://i.postimg.cc/3N10Ltv2/js.png
|
64
|
+
# color: "#f7cb4f"
|
65
|
+
# Docker:
|
66
|
+
# img: https://i.postimg.cc/8Pk6Fg24/docker.png
|
67
|
+
# color: "#57b6e6"
|
68
|
+
# Flutter:
|
69
|
+
# img: https://i.postimg.cc/hPC7T3gB/flutter.png
|
70
|
+
# color: "#ffffff"
|
71
|
+
# WebPack:
|
72
|
+
# img: https://i.postimg.cc/dVLZBmtT/webpack.png
|
73
|
+
# color: "#2e3a41"
|
74
|
+
# Git:
|
75
|
+
# img: https://i.postimg.cc/nhgjwjCS/git.png
|
76
|
+
# color: "#df5b40"
|
77
77
|
group:
|
78
|
-
|
79
|
-
|
80
|
-
|
78
|
+
# Fire: /tags/Fire/ || fas fa-fire || linear-gradient(to right, #f65, #ffbf37)
|
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)
|
81
81
|
recommendList:
|
82
82
|
sup: Top
|
83
83
|
title: Solitude Documentation
|
84
84
|
url: https://solitude.js.org/
|
85
85
|
img: /img/default.avif
|
86
86
|
color: "none"
|
87
|
-
|
88
87
|
carousel: false
|
88
|
+
# --------------------------- end ---------------------------
|
89
89
|
|
90
|
+
# --------------------------- start ---------------------------
|
90
91
|
aside:
|
91
|
-
# 值:about(关于我)、newestPost(最新文章)、allInfo(网站信息)、flip(公众号二维码)、newest_comment(最新评论)
|
92
92
|
# Values: about (info card), newestPost (latest article), allInfo (website information), flip (official account QR code), newest_comment (latest comment)
|
93
|
-
home:
|
93
|
+
home: # on the homepage
|
94
94
|
noSticky: "about"
|
95
95
|
Sticky: "allInfo"
|
96
|
-
post:
|
96
|
+
post: # on the article page
|
97
97
|
noSticky: "about"
|
98
98
|
Sticky: "newestPost"
|
99
|
-
page:
|
99
|
+
page: # on the page
|
100
100
|
noSticky: "about"
|
101
101
|
Sticky: "newestPost,allInfo"
|
102
|
-
position: 1 #
|
102
|
+
position: 1 # Sidebar positioning(0: left 1: right)
|
103
|
+
|
104
|
+
# --------------------------- start ---------------------------
|
105
|
+
# Information card
|
103
106
|
card:
|
104
|
-
style: 0 # 0:
|
107
|
+
style: 0 # 0: default 1: style 1 2: style 2
|
105
108
|
author:
|
106
|
-
img: /img/avatar.avif
|
107
|
-
sticker:
|
108
|
-
url: /about/
|
109
|
-
background: # https://s3.qjqq.cn/47/663af296b85f4.webp!color #
|
110
|
-
content:
|
111
|
-
content2:
|
112
|
-
sayhello:
|
113
|
-
morning:
|
114
|
-
noon:
|
115
|
-
afternoon:
|
116
|
-
night:
|
117
|
-
goodnight:
|
118
|
-
sayhello2:
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
# - 🔨 设计开发一条龙
|
123
|
-
# - 🤝 专修交互与设计
|
124
|
-
# - 🏃 脚踏实地行动派
|
125
|
-
# - 🧱 团队小组发动机
|
126
|
-
# - 💢 壮汉人狠话不多
|
127
|
-
# - 🎮 电竞游戏爱好者
|
109
|
+
img: /img/avatar.avif # url (avatar)
|
110
|
+
sticker: # url (sticker), 24x24
|
111
|
+
url: /about/ # Click name to jump to address
|
112
|
+
background: # https://s3.qjqq.cn/47/663af296b85f4.webp!color # Background image(Invalid if style is 0)
|
113
|
+
content: Here is my personal blog # Introduction (Invalid if style is 1)
|
114
|
+
content2: I believe you can find knowledge and tutorials here that will be useful to you. # Introduction (Invalid if style is 1)
|
115
|
+
sayhello: # Style 2 is invalid
|
116
|
+
morning: ✨ Good morning. It's a new day
|
117
|
+
noon: It's time for a midday break
|
118
|
+
afternoon: Tea time. 🍵
|
119
|
+
night: early bedtime
|
120
|
+
goodnight: Good night 😴
|
121
|
+
sayhello2: # Style 2 is invalid, Triggered when sayhello is clicked.
|
122
|
+
# - You'll make it.
|
123
|
+
# - You're gonna make it.
|
124
|
+
# - Good luck, stranger.
|
128
125
|
information:
|
129
|
-
# Github: https://github.com/everfu ||
|
130
|
-
# Bilibili: https://space.bilibili.com/1329819902 ||
|
126
|
+
# Github: https://github.com/everfu || fab fa-github # Name: link || icon
|
127
|
+
# Bilibili: https://space.bilibili.com/1329819902 || fab fa-bilibili
|
128
|
+
# --------------------------- end ---------------------------
|
129
|
+
|
130
|
+
# --------------------------- start ---------------------------
|
131
|
+
# Sidebar QR code component
|
131
132
|
flip:
|
132
|
-
favicon:
|
133
|
-
face:
|
134
|
-
backface:
|
135
|
-
backcolor: "var(--efu-blue)"
|
133
|
+
favicon: # url (favicon)
|
134
|
+
face: # url (QR code)
|
135
|
+
backface: # url (QR code)
|
136
|
+
backcolor: "var(--efu-blue)" # Background color
|
137
|
+
# --------------------------- end ---------------------------
|
138
|
+
|
139
|
+
# --------------------------- start ---------------------------
|
140
|
+
# recent comments(⚠️ Comments need to be configured first.)
|
136
141
|
newest_comment:
|
137
142
|
enable: true
|
138
143
|
storage: .5 # 缓存时间 1: 1天 / .5 : 半天 / Cache time 1: 1 day .5 : half a day
|
139
144
|
limit: 5 # 评论数 / Number of comments
|
145
|
+
# --------------------------- end ---------------------------
|
146
|
+
|
147
|
+
# --------------------------- start ---------------------------
|
148
|
+
# article table of contents
|
140
149
|
toc:
|
141
150
|
post: true
|
142
151
|
page: false
|
143
152
|
vague: true
|
153
|
+
# --------------------------- end ---------------------------
|
154
|
+
|
155
|
+
# --------------------------- start ---------------------------
|
156
|
+
# Tags
|
144
157
|
tags:
|
145
158
|
enable: false
|
146
|
-
limit: 20
|
147
|
-
highlight_list:
|
148
|
-
|
159
|
+
limit: 20 # Number of tags displayed
|
160
|
+
highlight_list: # Highlighted tags
|
161
|
+
# - Hexo
|
162
|
+
# --------------------------- end ---------------------------
|
163
|
+
|
164
|
+
# --------------------------- start ---------------------------
|
165
|
+
# Archive
|
149
166
|
archive:
|
150
167
|
enable: false
|
151
|
-
type: "month" # month:
|
152
|
-
|
153
|
-
postcount: true
|
154
|
-
wordcount: false
|
155
|
-
pv: true
|
156
|
-
uv: true
|
157
|
-
updatetime: true
|
158
|
-
runtimeenable: true
|
159
|
-
runtime: "2023-04-20 00:00:00"
|
168
|
+
type: "month" # month: by month / year: by year
|
169
|
+
# --------------------------- end ---------------------------
|
160
170
|
|
171
|
+
# --------------------------- start ---------------------------
|
172
|
+
siteinfo:
|
173
|
+
postcount: true # Number of articles
|
174
|
+
wordcount: false # Total number of words
|
175
|
+
pv: true # PV
|
176
|
+
uv: true # UV
|
177
|
+
updatetime: true # Last update date
|
178
|
+
runtimeenable: true # Website creation time
|
179
|
+
runtime: "2023-04-20 00:00:00" # Format: yyyy-MM-dd hh-mm-ss
|
180
|
+
# --------------------------- end ---------------------------
|
181
|
+
# --------------------------- end ---------------------------
|
182
|
+
|
183
|
+
# --------------------------- start ---------------------------
|
184
|
+
# Home page article configuration information
|
161
185
|
index_post_list:
|
162
186
|
direction: column # row / column
|
163
|
-
column: 2 # 2:2
|
164
|
-
content: false # 1: post.description / 2:
|
165
|
-
length: 500 #
|
166
|
-
cover: both # left:
|
167
|
-
|
187
|
+
column: 2 # 2: 2 columns 3: 3 columns
|
188
|
+
content: false # 1: post.description / 2: Automatically get descriptions or screenshots / 3: Use only interception / false: No content is displayed
|
189
|
+
length: 500 # The length of the screenshot content
|
190
|
+
cover: both # left: on the left : left / right: on the right : right / both: both sides : both
|
191
|
+
# --------------------------- end ---------------------------
|
192
|
+
|
193
|
+
# --------------------------- start ---------------------------
|
194
|
+
# Page default settings
|
168
195
|
page:
|
169
|
-
error: true # 404
|
170
|
-
tags: true #
|
171
|
-
categories: true #
|
172
|
-
|
196
|
+
error: true # 404 page
|
197
|
+
tags: true # Tags page
|
198
|
+
categories: true # Categories page
|
199
|
+
archives: 0 # list: Sort List / 1: Follow HomeList
|
200
|
+
default: # Default value
|
173
201
|
cover:
|
174
|
-
|
202
|
+
# - /img/default.png # 默认图片 / default cover
|
203
|
+
# --------------------------- end ---------------------------
|
175
204
|
|
205
|
+
# --------------------------- start ---------------------------
|
206
|
+
# Post default settings
|
176
207
|
post:
|
177
208
|
default:
|
178
|
-
top_cover: true #
|
179
|
-
cover:
|
180
|
-
|
181
|
-
locate: China
|
182
|
-
copyright:
|
209
|
+
top_cover: true # Article information that displays a wave effect at the top of the article when opened.
|
210
|
+
cover: # Default image when no cover is set
|
211
|
+
# - # 默认图片 / default cover
|
212
|
+
locate: China # Location
|
213
|
+
copyright: # Copyright
|
183
214
|
enable: true
|
184
215
|
author:
|
185
|
-
url: /about/ #
|
186
|
-
img: #
|
187
|
-
license: CC BY-NC-SA 4.0
|
188
|
-
licenurl: https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh
|
189
|
-
meta:
|
190
|
-
date: false #
|
191
|
-
updated: false #
|
192
|
-
locate: false #
|
193
|
-
wordcount: false #
|
194
|
-
readtime: false #
|
195
|
-
pv: false #
|
196
|
-
comment: false #
|
197
|
-
award:
|
216
|
+
url: /about/ # Author link
|
217
|
+
img: # Default site_icon is not filled in
|
218
|
+
license: CC BY-NC-SA 4.0 # License
|
219
|
+
licenurl: https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh # License link
|
220
|
+
meta: # Article meta information
|
221
|
+
date: false # Release date
|
222
|
+
updated: false # Update date
|
223
|
+
locate: false # Location
|
224
|
+
wordcount: false # Number of words
|
225
|
+
readtime: false # uv
|
226
|
+
pv: false # pv
|
227
|
+
comment: false # Comment count
|
228
|
+
award: # Reward
|
229
|
+
enable: false
|
230
|
+
appreciators: /about/ # Reward page
|
231
|
+
title: Thanks for your appreciation.
|
232
|
+
desc: Because of your support, I realize the value of writing articles.
|
233
|
+
list:
|
234
|
+
# - name: Github Sponsor
|
235
|
+
# qcode: https://s3.qjqq.cn/47/661ba900c4bc1.webp!color
|
236
|
+
# url: https://github.com/sponsors/everfu
|
237
|
+
# color: var(--efu-black)
|
238
|
+
share: # Share icon
|
198
239
|
enable: false
|
199
|
-
appreciators: /about # 赞赏记录 / Appreciative records
|
200
|
-
title: 感谢您的赞赏。
|
201
|
-
desc: 因为有你们的支持,我才体会到写文章的价值。
|
202
240
|
list:
|
203
|
-
# - name: Github Sponsor
|
204
|
-
# qcode: https://s3.qjqq.cn/47/661ba900c4bc1.webp!color
|
205
|
-
# url: https://github.com/sponsors/efuo
|
206
|
-
# color: var(--efu-black)
|
207
|
-
share:
|
208
|
-
enable: false
|
209
|
-
list:
|
210
241
|
# - qq
|
211
242
|
# - weibo
|
212
243
|
# - twitter
|
@@ -217,89 +248,112 @@ post:
|
|
217
248
|
# - link
|
218
249
|
# - qrcode
|
219
250
|
rss: # /atom.xml
|
220
|
-
covercolor:
|
251
|
+
covercolor: # After opening, the main color of the cover image will be used as the background color.
|
221
252
|
enable: false
|
222
|
-
mode: local # local
|
223
|
-
api: https://api.qjqq.cn/api/Imgcolor?img= # api
|
224
|
-
time: 43200000 # api
|
253
|
+
mode: local # local: local color / api: img2color color
|
254
|
+
api: https://api.qjqq.cn/api/Imgcolor?img= # api address
|
255
|
+
time: 43200000 # api color interval (milliseconds), default is 12 hours
|
225
256
|
footer:
|
226
257
|
enable: true
|
227
|
-
desc:
|
228
|
-
button: #
|
258
|
+
desc: Articles from Ever Fu. # description
|
259
|
+
button: # Button
|
229
260
|
enable: true
|
230
|
-
name:
|
261
|
+
name: Learn more
|
231
262
|
url: /about/
|
263
|
+
# --------------------------- end ---------------------------
|
232
264
|
|
265
|
+
# --------------------------- start ---------------------------
|
266
|
+
# Custom Theme Color
|
233
267
|
theme_color:
|
234
|
-
dark: "#ffc848" #
|
235
|
-
dark_op: "#f2b94b23" #
|
236
|
-
dark_op_deep: "#f2b94bdd" #
|
237
|
-
dark_none: "#f2b94b00" #
|
238
|
-
light: "#425AEF" #
|
239
|
-
light_op: "#4259ef23" #
|
240
|
-
light_op_deep: "#4259efdd" #
|
241
|
-
light_none: "#4259ef01" #
|
268
|
+
dark: "#ffc848" # Dark mode
|
269
|
+
dark_op: "#f2b94b23" # Dark mode transparent
|
270
|
+
dark_op_deep: "#f2b94bdd" # Dark mode transparent dark
|
271
|
+
dark_none: "#f2b94b00" # Dark mode transparent colorless
|
272
|
+
light: "#425AEF" # Light mode
|
273
|
+
light_op: "#4259ef23" # Light mode transparent
|
274
|
+
light_op_deep: "#4259efdd" # Light mode transparent dark
|
275
|
+
light_none: "#4259ef01" # Light mode transparent colorless
|
276
|
+
# --------------------------- end ---------------------------
|
277
|
+
|
278
|
+
# --------------------------- start ---------------------------
|
279
|
+
# dark mode
|
242
280
|
display_mode:
|
243
|
-
type: auto # auto:
|
244
|
-
universe: true #
|
281
|
+
type: auto # auto: automatic switching / dark: dark mode / light: light mode
|
282
|
+
universe: true # After opening, the dark mode will display the starry sky background
|
283
|
+
# auto: Recognize the current theme mode of the device
|
284
|
+
# --------------------------- end ---------------------------
|
245
285
|
|
286
|
+
# --------------------------- start ---------------------------
|
287
|
+
# Related articles
|
246
288
|
related_post:
|
247
289
|
enable: false
|
248
290
|
limit: 2
|
249
|
-
date_type: created
|
291
|
+
date_type: created # created: release date / updated: update date
|
292
|
+
# --------------------------- end ---------------------------
|
250
293
|
|
294
|
+
# --------------------------- start ---------------------------
|
295
|
+
# Footer
|
251
296
|
footer:
|
252
297
|
information:
|
253
|
-
author: false #
|
298
|
+
author: false # enable site_icon in footer
|
254
299
|
left:
|
255
|
-
|
256
|
-
|
300
|
+
# Github: https://github.com/efuo || fab fa-github # Name: link || icon
|
301
|
+
# Mail: mailto:o@efu.me || fab fa-envelope
|
257
302
|
right:
|
258
|
-
|
259
|
-
|
303
|
+
# Bilibili: https://space.bilibili.com/1329819902 || fab fa-bilibili
|
304
|
+
# Douyin: https://v.douyin.com/iJsLc8jt/ || fab fa-tiktok
|
260
305
|
group:
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
#
|
274
|
-
#
|
275
|
-
|
276
|
-
randomlink: false
|
277
|
-
privacy: # /privacy/
|
278
|
-
license: # /license/
|
306
|
+
# Navgation:
|
307
|
+
# Archives: /archives/
|
308
|
+
# Categories: /categories/
|
309
|
+
# Tags: /tags/
|
310
|
+
# Server:
|
311
|
+
# Aliyun: https://aliyun.com/
|
312
|
+
# 51la: https://v6.51.la/
|
313
|
+
# Arrangement:
|
314
|
+
# Cookies: /cookies/
|
315
|
+
# Privacy: /privacy/
|
316
|
+
# Copyright: /copyright/
|
317
|
+
|
318
|
+
randomlink: false # Random link
|
319
|
+
privacy: # /privacy/ # Privacy policy
|
320
|
+
license: # https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh # License
|
279
321
|
links:
|
280
|
-
- name:
|
322
|
+
- name: Theme
|
281
323
|
url: https://github.com/everfu/hexo-theme-solitude
|
282
|
-
# - name:
|
324
|
+
# - name: RSS
|
283
325
|
# url: /atom.xml
|
326
|
+
# --------------------------- end ---------------------------
|
284
327
|
|
328
|
+
# --------------------------- start ---------------------------
|
329
|
+
# error page
|
285
330
|
errorpage:
|
286
331
|
img: /img/404.avif
|
287
|
-
text: =awa=
|
332
|
+
text: =awa= Page NotFound # Text
|
288
333
|
recommendList: true
|
334
|
+
# --------------------------- end ---------------------------
|
289
335
|
|
336
|
+
# --------------------------- start ---------------------------
|
337
|
+
# Says Page
|
290
338
|
says:
|
291
339
|
enable: false
|
292
340
|
home_mini: false
|
293
341
|
style: 1
|
294
342
|
strip: 30
|
343
|
+
# --------------------------- end ---------------------------
|
295
344
|
|
345
|
+
# --------------------------- start ---------------------------
|
346
|
+
# Recent comments Page
|
296
347
|
recent_comments:
|
297
348
|
enable: false
|
298
349
|
limit: 50 # ⚠️waline 仅支持最大50条评论 / ⚠️waline only supports a maximum of 50 comments
|
299
350
|
cache: 0.2 # 1 = 1天 / 1 = 1 day
|
300
351
|
page: /recentcomments/ # 最近评论页面 / recent comments page
|
301
352
|
img: /img/recent_c.avif # 中控台显示图片(不填不显示) / image displayed in the console
|
353
|
+
# --------------------------- end ---------------------------
|
302
354
|
|
355
|
+
# --------------------------- start ---------------------------
|
356
|
+
# Danmaku Page
|
303
357
|
envelope:
|
304
358
|
enable: false
|
305
359
|
line: 10 # 显示行数
|
@@ -307,8 +361,14 @@ envelope:
|
|
307
361
|
hover: true # 鼠标悬停暂停
|
308
362
|
loop: true # 循环播放
|
309
363
|
page: /message/ # 留言板页面 / message board page
|
310
|
-
|
311
|
-
|
364
|
+
# --------------------------- end ---------------------------
|
365
|
+
|
366
|
+
# --------------------------- start ---------------------------
|
367
|
+
# This part of the content uses metingjs,
|
368
|
+
# can only use NetEase Cloud Music, QQ Music and other music platforms supported by the mainland China region,
|
369
|
+
# 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.
|
370
|
+
# Music Page
|
371
|
+
meting_api: "https://meting.qjqq.cn/?server=:server&type=:type&id=:id&auth=:auth&r=:r" # Custom API
|
312
372
|
music:
|
313
373
|
enable: false
|
314
374
|
id: 1994908354
|
@@ -316,92 +376,131 @@ music:
|
|
316
376
|
type: playlist
|
317
377
|
volume: 0.8
|
318
378
|
mutex: true
|
319
|
-
|
379
|
+
# Capsule music
|
320
380
|
capsule:
|
321
381
|
enable: false
|
322
382
|
id: 8407304077
|
323
383
|
server: netease
|
324
384
|
type: playlist
|
385
|
+
# --------------------------- end ---------------------------
|
325
386
|
|
387
|
+
# --------------------------- start ---------------------------
|
388
|
+
# Quick Menu
|
389
|
+
# Open with shift + ?
|
326
390
|
keyboard:
|
327
|
-
enable: false
|
391
|
+
enable: false
|
328
392
|
list:
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
393
|
+
# - name: Close Keyboard
|
394
|
+
# key: K
|
395
|
+
# func: keyboard
|
396
|
+
# - name: Open Console
|
397
|
+
# key: A
|
398
|
+
# sco: showConsole
|
399
|
+
# - name: Play/Pause Music
|
400
|
+
# key: M
|
401
|
+
# sco: musicToggle
|
402
|
+
# - name: Open Links
|
403
|
+
# key: L
|
404
|
+
# url: /links/
|
405
|
+
# --------------------------- end ---------------------------
|
406
|
+
|
407
|
+
# --------------------------- start ---------------------------
|
408
|
+
# Copy
|
342
409
|
copy:
|
343
410
|
enable: true
|
344
|
-
copyright: # Turn on Link copyright information after copying
|
411
|
+
copyright: # Turn on Link copyright information after copying.
|
345
412
|
enable: true
|
346
|
-
limit: 50 #
|
413
|
+
limit: 50 # When more than 50 copies, the copy will contain copyright information.
|
414
|
+
# --------------------------- end ---------------------------
|
347
415
|
|
416
|
+
# --------------------------- start ---------------------------
|
417
|
+
# Lazyload
|
348
418
|
lazyload:
|
349
419
|
enable: false
|
350
420
|
field: site # post, site
|
351
421
|
placeholder: /img/loading.avif
|
352
422
|
errorimg: /img/error_load.avif
|
423
|
+
# --------------------------- end ---------------------------
|
353
424
|
|
425
|
+
# --------------------------- start ---------------------------
|
426
|
+
# Loading
|
354
427
|
loading:
|
355
|
-
fullpage: false
|
356
|
-
pace: true
|
428
|
+
fullpage: false # Full screen loading
|
429
|
+
pace: true # Pace loading
|
430
|
+
# --------------------------- end ---------------------------
|
357
431
|
|
432
|
+
# --------------------------- start ---------------------------
|
433
|
+
# Highlight
|
358
434
|
highlight:
|
359
435
|
enable: true
|
360
|
-
limit: 200 #
|
361
|
-
copy: true #
|
362
|
-
expand: true #
|
363
|
-
theme:
|
364
|
-
color: default # default
|
365
|
-
|
436
|
+
limit: 200 # Code line limit
|
437
|
+
copy: true # Whether to enable the copy button
|
438
|
+
expand: true # Whether to expand by default
|
439
|
+
theme: mac # default: default / mac : apple terminal
|
440
|
+
color: default # default / solidity / dracula
|
441
|
+
# --------------------------- end ---------------------------
|
442
|
+
|
443
|
+
# --------------------------- start ---------------------------
|
444
|
+
# Lightbox
|
366
445
|
lightbox: false
|
367
|
-
|
368
|
-
|
446
|
+
# warning: Please select any one, but cannot be turned on at the same time.
|
447
|
+
fancybox: false # fancybox
|
448
|
+
mediumZoom: false # mediumZoom
|
449
|
+
# --------------------------- end ---------------------------
|
369
450
|
|
451
|
+
# --------------------------- start ---------------------------
|
452
|
+
# Mermaid
|
370
453
|
mermaid: false
|
454
|
+
# --------------------------- end ---------------------------
|
371
455
|
|
456
|
+
# --------------------------- start ---------------------------
|
457
|
+
# OpenGraph
|
372
458
|
OpenGraph:
|
373
459
|
enable: false
|
374
460
|
options:
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
461
|
+
# twitter_card:
|
462
|
+
# twitter_image:
|
463
|
+
# twitter_id:
|
464
|
+
# twitter_site:
|
465
|
+
# google_plus:
|
466
|
+
# fb_admins:
|
467
|
+
# fb_app_id:
|
468
|
+
# --------------------------- end ---------------------------
|
469
|
+
|
470
|
+
# --------------------------- start ---------------------------
|
471
|
+
# Wordcount
|
472
|
+
# warning: Please install the hexo-wordcount plugin first.
|
383
473
|
wordcount: false
|
474
|
+
# --------------------------- end ---------------------------
|
384
475
|
|
476
|
+
# --------------------------- start ---------------------------
|
477
|
+
# Busuanzi
|
385
478
|
busuanzi: false
|
386
|
-
busuanzi_use: 0 # 0:
|
479
|
+
busuanzi_use: 0 # 0: original / 1: qingjiao (other: other custom busuanzi platform)
|
480
|
+
# --------------------------- end ---------------------------
|
387
481
|
|
482
|
+
# --------------------------- start ---------------------------
|
483
|
+
# Search
|
388
484
|
search:
|
389
485
|
enable: false
|
390
|
-
type: local # local
|
486
|
+
type: local # local / algolia
|
391
487
|
tags:
|
392
|
-
|
393
|
-
|
488
|
+
# - Solitude
|
489
|
+
# - Hexo
|
394
490
|
algolia:
|
395
|
-
|
396
|
-
|
491
|
+
# hits:
|
492
|
+
# per_page: 6
|
397
493
|
local:
|
398
494
|
preload: false
|
399
|
-
CDN:
|
495
|
+
CDN: # url: search.xml
|
496
|
+
# --------------------------- end ---------------------------
|
400
497
|
|
498
|
+
# --------------------------- start ---------------------------
|
499
|
+
# This part is only supported in mainland China, and we will consider supporting ChatGPT Key in the future.
|
401
500
|
tianli_talk:
|
402
501
|
enable: false
|
403
|
-
title: 智能客服与搜索
|
404
|
-
key: #
|
502
|
+
title: 智能客服与搜索 # title
|
503
|
+
key: # key
|
405
504
|
option:
|
406
505
|
post_ai:
|
407
506
|
enable: false
|
@@ -411,158 +510,205 @@ post_ai:
|
|
411
510
|
randomPost: false
|
412
511
|
report: https://efu.me/
|
413
512
|
tips: # 此内容根据文章生成,并经过人工审核,仅用于文章内容的解释与总结
|
513
|
+
# --------------------------- end ---------------------------
|
414
514
|
|
515
|
+
# --------------------------- start ---------------------------
|
516
|
+
# Katex
|
415
517
|
katex:
|
416
518
|
enable: false
|
417
|
-
per_page: false #
|
418
|
-
copytex: false #
|
519
|
+
per_page: false # Whether to load on each page
|
520
|
+
copytex: false # Whether to enable copy formula
|
521
|
+
# --------------------------- end ---------------------------
|
419
522
|
|
523
|
+
# --------------------------- start ---------------------------
|
420
524
|
comment:
|
421
|
-
use: # waline, twikoo, valine, artalk, giscus
|
422
|
-
commentBarrage: false #
|
423
|
-
lazyload: false #
|
424
|
-
count: false #
|
425
|
-
pv: false #
|
426
|
-
avatar: https://cravatar.cn #
|
427
|
-
hot_tip: #
|
428
|
-
enable: false
|
429
|
-
count: 3 #
|
525
|
+
use: # waline, twikoo, valine, artalk, giscus # Up to two comment systems can be turned on at the same time
|
526
|
+
commentBarrage: false # Hot comment switch
|
527
|
+
lazyload: false # Lazy load
|
528
|
+
count: false # Whether to use the comment count
|
529
|
+
pv: false # Whether to use the page view count
|
530
|
+
avatar: https://cravatar.cn # Avatar
|
531
|
+
hot_tip: # Hot comment tips
|
532
|
+
enable: false
|
533
|
+
count: 3 # Display when more than 3 comments
|
430
534
|
twikoo: # https://twikoo.js.org/
|
431
535
|
envId: # url: https://twikoo.sondy.top/
|
432
|
-
region: #
|
433
|
-
style: true # Use custom styles when turned on
|
536
|
+
region: # Environment locale, default is ap-shanghai, Tencent cloud environment fill ap-shanghai or ap-guangzhou; Vercel environment do not fill the.
|
537
|
+
style: true # Use custom styles when turned on
|
434
538
|
accessToken: # AccessToken
|
435
539
|
option: # twikoo option
|
436
540
|
waline: # https://waline.js.org/
|
437
541
|
envId: # url: https://waline.wzsco.top
|
438
|
-
pageview: false #
|
439
|
-
option: # waline
|
542
|
+
pageview: false # Whether to enable page access statistics
|
543
|
+
option: # waline configuration item
|
440
544
|
valine:
|
441
545
|
appId: # leancloud application app id
|
442
546
|
appKey: # leancloud application app key
|
443
547
|
serverURLs: # This configuration is suitable for domestic custom domain name users, overseas version will be automatically detected (no need to manually fill in)
|
444
548
|
avatar: # https://valine.js.org/avatar.html
|
445
549
|
visitor: false
|
446
|
-
style: true # Use custom styles when turned on
|
550
|
+
style: true # Use custom styles when turned on
|
447
551
|
option: # options list
|
448
552
|
artalk:
|
449
|
-
server: # server url
|
450
|
-
site: # site name
|
553
|
+
server: # server url
|
554
|
+
site: # site name
|
451
555
|
option: # options
|
452
556
|
giscus:
|
453
|
-
repo: # GitHub
|
454
|
-
repo_id: # GitHub
|
455
|
-
category_id: # GitHub
|
557
|
+
repo: # GitHub repository name
|
558
|
+
repo_id: # GitHub repository ID
|
559
|
+
category_id: # GitHub repository category ID
|
456
560
|
theme:
|
457
561
|
light: light
|
458
562
|
dark: dark
|
459
563
|
option:
|
564
|
+
# --------------------------- end ---------------------------
|
460
565
|
|
566
|
+
# --------------------------- start ---------------------------
|
567
|
+
# Console
|
461
568
|
console:
|
462
|
-
enable: false
|
463
|
-
recentComment: #
|
464
|
-
enable: false
|
465
|
-
storage: .2 #
|
569
|
+
enable: false
|
570
|
+
recentComment: # Recent comments
|
571
|
+
enable: false
|
572
|
+
storage: .2 # Cache time 1: 1 day / .5 : half a day
|
466
573
|
card:
|
467
|
-
tags: true #
|
468
|
-
archive: true #
|
574
|
+
tags: true # Tags
|
575
|
+
archive: true # Archive
|
576
|
+
# --------------------------- end ---------------------------
|
469
577
|
|
578
|
+
# --------------------------- start ---------------------------
|
579
|
+
# verification
|
470
580
|
verify_site:
|
471
|
-
#
|
472
|
-
#
|
473
|
-
#
|
474
|
-
#
|
475
|
-
|
581
|
+
# - name: google-site-verification
|
582
|
+
# content: xxxxxx
|
583
|
+
# - name: baidu-site-verification
|
584
|
+
# content: xxxxxxx
|
585
|
+
# --------------------------- end ---------------------------
|
586
|
+
|
587
|
+
# --------------------------- start ---------------------------
|
588
|
+
# CSS Prefix
|
589
|
+
# When turned on, it will automatically prefix the CSS (to get better browser support), but this will increase the size of the CSS file.
|
476
590
|
css_prefix: false
|
591
|
+
# --------------------------- end ---------------------------
|
477
592
|
|
593
|
+
# --------------------------- start ---------------------------
|
594
|
+
# Font
|
478
595
|
font:
|
479
596
|
font-size: 16px
|
480
597
|
code-font-size: 16px
|
481
598
|
font-family: "PingFang SC, Hiragino Sans GB, Microsoft YaHei"
|
482
599
|
code-font-family: '"monospace", monospace'
|
600
|
+
# --------------------------- end ---------------------------
|
483
601
|
|
602
|
+
# --------------------------- start ---------------------------
|
603
|
+
# Extend
|
484
604
|
extends:
|
485
605
|
head:
|
486
|
-
#
|
606
|
+
# Insert in head
|
487
607
|
# - <script src="https://cdn.bootcdn.net/ajax/libs/pace/1.2.4/pace.min.js"></script>
|
488
608
|
body:
|
489
|
-
#
|
609
|
+
# Insert in body
|
610
|
+
# --------------------------- end ---------------------------
|
490
611
|
|
612
|
+
# --------------------------- start ---------------------------
|
613
|
+
# PWA
|
491
614
|
pwa:
|
492
615
|
enable: false
|
493
|
-
manifest: /manifest.json # manifest.json
|
494
|
-
theme_color: "#006a73" #
|
495
|
-
mask_icon: /img/pwa/favicon.png #
|
496
|
-
apple_touch_icon: /img/pwa/favicon.png #
|
497
|
-
bookmark_icon: /img/pwa/favicon.png #
|
498
|
-
favicon_32_32: /img/pwa/favicon_32.png # 32x32
|
499
|
-
favicon_16_16: /img/pwa/favicon_16.png # 16x16
|
500
|
-
|
616
|
+
manifest: /manifest.json # manifest.json
|
617
|
+
theme_color: "#006a73" # Theme color
|
618
|
+
mask_icon: /img/pwa/favicon.png # Mask icon
|
619
|
+
apple_touch_icon: /img/pwa/favicon.png # Apple touch icon
|
620
|
+
bookmark_icon: /img/pwa/favicon.png # Bookmark icon
|
621
|
+
favicon_32_32: /img/pwa/favicon_32.png # 32x32 icon
|
622
|
+
favicon_16_16: /img/pwa/favicon_16.png # 16x16 icon
|
623
|
+
# --------------------------- end ---------------------------
|
624
|
+
|
625
|
+
# --------------------------- start ---------------------------
|
626
|
+
# Google Adsense
|
501
627
|
google_adsense:
|
502
628
|
enable: false
|
503
|
-
auto_ads: false #
|
504
|
-
enable_page_level_ads: true #
|
505
|
-
aside_card: true #
|
506
|
-
post_card: true #
|
507
|
-
post_content: true #
|
508
|
-
js: https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js #
|
629
|
+
auto_ads: false # After auto ads are turned off, it is manual ads
|
630
|
+
enable_page_level_ads: true # Page-level ads
|
631
|
+
aside_card: true # Sidebar card ads
|
632
|
+
post_card: true # Post card ads
|
633
|
+
post_content: true # Post content ads
|
634
|
+
js: https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js # Google Adsense js
|
509
635
|
client: # ca-pub-XXXXXXXXXXXXXX
|
510
636
|
slot: # 4236388782
|
637
|
+
# --------------------------- end ---------------------------
|
511
638
|
|
639
|
+
# --------------------------- start ---------------------------
|
640
|
+
# Custom right menu
|
512
641
|
right_menu:
|
513
642
|
enable: false
|
514
|
-
commentBarrage: false #
|
515
|
-
translate:
|
643
|
+
commentBarrage: false # Whether to display the hot comment switch.
|
644
|
+
translate: # Simplified and Traditional Chinese translation.
|
516
645
|
enable: false
|
517
646
|
defaultEncoding: 2 # 1: 默认繁体 2: 默认简体
|
518
647
|
translateDelay: 0 # 首次加载翻译迟疑时间
|
519
|
-
custom_list:
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
|
527
|
-
|
528
|
-
|
529
|
-
|
530
|
-
|
531
|
-
|
532
|
-
|
533
|
-
|
534
|
-
|
535
|
-
|
648
|
+
custom_list: # Custom list
|
649
|
+
# - name: Random
|
650
|
+
# click: toRandomPost()
|
651
|
+
# id: menu-randomPost
|
652
|
+
# class:
|
653
|
+
# icon: fas fa-tower-broadcast
|
654
|
+
# - name: Categories
|
655
|
+
# click: pjax.loadUrl('/categories/') # External links with window.open, pjax can not request cross-domain content.
|
656
|
+
# id:
|
657
|
+
# class:
|
658
|
+
# icon: fas fa-clone
|
659
|
+
# - name: Tags
|
660
|
+
# click: pjax.loadUrl('/tags/')
|
661
|
+
# id:
|
662
|
+
# class:
|
663
|
+
# icon: fas fa-tags
|
664
|
+
# --------------------------- end ---------------------------
|
665
|
+
|
666
|
+
# --------------------------- start ---------------------------
|
667
|
+
# Memorial
|
668
|
+
# Turn the entire site gray on memorable days.
|
536
669
|
memorial:
|
537
670
|
enable: false
|
538
671
|
date:
|
539
|
-
# - 7-7 #
|
672
|
+
# - 7-7 # 卢沟桥事变
|
540
673
|
# - 9-18 # 九一八事变
|
541
674
|
# - 12-13 # 南京大屠杀国家公祭日
|
675
|
+
# --------------------------- end ---------------------------
|
542
676
|
|
677
|
+
# --------------------------- start ---------------------------
|
678
|
+
# Lure
|
679
|
+
# When the user exits the page, modify the title
|
543
680
|
lure:
|
544
681
|
enable: false
|
545
682
|
jump: 404 Not Found
|
546
|
-
back: ヾ(≧∇≦*)
|
683
|
+
back: ヾ(≧∇≦*)ゝHey, hey, you fell for it.
|
684
|
+
# --------------------------- end ---------------------------
|
547
685
|
|
686
|
+
# --------------------------- start ---------------------------
|
687
|
+
# Article expiration
|
548
688
|
expire:
|
549
689
|
enable: false
|
550
690
|
time: 30 # days
|
551
691
|
position: top # top / bottom
|
552
|
-
text_prev:
|
553
|
-
text_next:
|
692
|
+
text_prev: 'This article expired '
|
693
|
+
text_next: ' day ago, if the content does not match, please contact the webmaster to update it.'
|
694
|
+
# --------------------------- end ---------------------------
|
554
695
|
|
696
|
+
# --------------------------- start ---------------------------
|
697
|
+
# Background
|
555
698
|
background:
|
556
699
|
enable: false
|
557
700
|
opacity: .2
|
558
|
-
dark: https://
|
559
|
-
light: https://
|
701
|
+
dark: https://i.pinimg.com/originals/d8/b3/9d/d8b39d12b653810db452c437211aeb2e.png
|
702
|
+
light: https://i.pinimg.com/originals/93/57/38/935738ed9657b296c2ef0ebd2151eb66.jpg
|
703
|
+
# --------------------------- end ---------------------------
|
560
704
|
|
705
|
+
# --------------------------- start ---------------------------
|
561
706
|
CDN:
|
562
|
-
internal: local
|
563
|
-
third_party: cdnjs
|
564
|
-
version: true
|
565
|
-
custom_format: //open.lightxi.com/cdnjs/ajax/libs/${cdnjs_name}/${version}/${min_cdnjs_file}
|
707
|
+
internal: local # local / cdnjs / jsdelivr / unpkg / custom
|
708
|
+
third_party: cdnjs # cdnjs / jsdelivr / unpkg / custom
|
709
|
+
version: true # Whether to use the version number
|
710
|
+
custom_format: //open.lightxi.com/cdnjs/ajax/libs/${cdnjs_name}/${version}/${min_cdnjs_file} # Custom format
|
711
|
+
# Directly override the default CDN link (highest priority)
|
566
712
|
option:
|
567
713
|
busuanzi_qj_js: https://pv.lemonso.com/js
|
568
714
|
# algolia_search:
|
@@ -581,4 +727,5 @@ CDN:
|
|
581
727
|
# swiper_css:
|
582
728
|
# swiper_js:
|
583
729
|
# busuanzi_js:
|
584
|
-
# snackbar_js:
|
730
|
+
# snackbar_js:
|
731
|
+
# --------------------------- end ---------------------------
|