hexo-theme-solitude 1.13.4 → 2.0.1
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/README.md +26 -29
- package/README_zh-Hant.md +1 -1
- package/{README_en-US.md → README_zh_CN.md} +29 -26
- package/_config.yml +150 -597
- package/languages/default.yml +1 -0
- package/languages/en.yml +1 -0
- package/layout/404.pug +1 -1
- package/layout/includes/console.pug +7 -7
- package/layout/includes/footer.pug +6 -6
- package/layout/includes/head/config.pug +5 -5
- package/layout/includes/inject/body.pug +1 -0
- package/layout/includes/inject/head.pug +1 -1
- package/layout/includes/mixins/articleSort.pug +3 -1
- package/layout/includes/mixins/pagination.pug +2 -2
- package/layout/includes/nav.pug +2 -1
- package/layout/includes/page/categories.pug +3 -2
- package/layout/includes/page/says.pug +5 -5
- package/layout/includes/page/tags.pug +3 -2
- package/layout/includes/rightmenu.pug +19 -20
- package/layout/includes/sidebar.pug +1 -1
- package/layout/includes/widgets/aside/asideInfoCard.pug +1 -1
- package/layout/includes/widgets/aside/asideNewestPost.pug +1 -1
- package/layout/includes/widgets/aside/asideNewstComments.pug +2 -2
- package/layout/includes/widgets/aside/asideToc.pug +1 -1
- package/layout/includes/widgets/aside/asideWebInfo.pug +10 -10
- package/layout/includes/widgets/home/bbTimeList.pug +7 -9
- package/layout/includes/widgets/home/carousel.pug +3 -1
- package/layout/includes/widgets/home/categoryBar.pug +1 -1
- package/layout/includes/widgets/home/hot/artalk.pug +1 -1
- package/layout/includes/widgets/home/hot/twikoo.pug +1 -1
- package/layout/includes/widgets/home/postList.pug +4 -2
- package/layout/includes/widgets/home/topGroup.pug +1 -1
- package/layout/includes/widgets/nav/right.pug +9 -5
- package/layout/includes/widgets/page/about/award.pug +1 -1
- package/layout/includes/widgets/page/about/hobbies.pug +1 -1
- package/layout/includes/widgets/page/about/other.pug +1 -1
- package/layout/includes/widgets/page/banner.pug +1 -1
- package/layout/includes/widgets/page/equipment/content.pug +1 -1
- package/layout/includes/widgets/page/links/banner.pug +2 -2
- package/layout/includes/widgets/page/recentcomment/artalk.pug +1 -1
- package/layout/includes/widgets/page/recentcomment/twikoo.pug +1 -1
- package/layout/includes/widgets/page/recentcomment/valine.pug +1 -1
- package/layout/includes/widgets/page/recentcomment/waline.pug +1 -1
- package/layout/includes/widgets/post/award.pug +1 -1
- package/layout/includes/widgets/post/copyright.pug +10 -10
- package/layout/includes/widgets/post/post-ai.pug +1 -1
- package/layout/includes/widgets/post/postInfo.pug +20 -18
- package/layout/includes/widgets/third-party/comments/comment.pug +4 -4
- package/layout/includes/widgets/third-party/search/algolia-search.pug +1 -4
- package/layout/includes/widgets/third-party/search/local-search.pug +1 -1
- package/layout/includes/widgets/third-party/tianli-talk.pug +1 -1
- package/layout/post.pug +3 -2
- package/layout/tag.pug +3 -2
- package/package.json +1 -1
- package/plugins.yml +6 -6
- package/scripts/helper/related_post.js +1 -1
- package/scripts/helper/stylus.js +1 -0
- package/source/css/_global/index.styl +13 -13
- package/source/css/_highlight/index.styl +2 -2
- package/source/css/_highlight/theme/default.styl +1 -1
- package/source/css/_highlight/theme/mac.styl +1 -1
- package/source/css/_layout/console.styl +2 -1
- package/source/css/_layout/footer.styl +1 -1
- package/source/css/_layout/header.styl +56 -11
- package/source/css/_page/_home/category-bar.styl +4 -4
- package/source/css/_page/_home/home-top.styl +2 -0
- package/source/css/_page/_home/hot-tip.styl +2 -1
- package/source/css/_post/copyright.styl +104 -105
- package/source/css/_search/algolia-search.styl +0 -6
- package/source/js/covercolor/local.js +10 -4
- package/source/js/main.js +5 -5
- package/source/js/tw_cn.js +0 -3
package/_config.yml
CHANGED
@@ -9,306 +9,155 @@
|
|
9
9
|
# Guide: https://solitude.js.org/
|
10
10
|
# You can get more detailed help from the guide
|
11
11
|
#
|
12
|
-
# 赞助:https://
|
13
|
-
# sponsor: https://
|
12
|
+
# 赞助:https://www.patreon.com/everfu
|
13
|
+
# sponsor: https://www.patreon.com/everfu
|
14
14
|
# ---------------------------
|
15
15
|
|
16
|
-
# 站点设置
|
17
|
-
# site settings
|
18
16
|
site:
|
19
|
-
# Logo
|
20
17
|
name:
|
21
|
-
# 显示类型 (i_class/text/img)
|
22
|
-
# Display type (i_class/text/img)
|
23
18
|
class: text
|
24
|
-
# 具体内容 例如:solitude st-logo / Efu / /img/logo.png
|
25
|
-
# Specific content, for example: solitude st-logo / Efu / /img/logo.png
|
26
19
|
custom: Solitude
|
27
|
-
# 网页icon
|
28
|
-
# Web icon
|
29
20
|
siteIcon: /img/pwa/favicon.ico
|
30
|
-
# 页脚的Logo、加载动画默认的logo
|
31
|
-
# Logo in the footer, default logo for loading animation
|
32
21
|
icon: /img/pwa/favicon.ico
|
33
22
|
|
34
|
-
# 导航栏
|
35
|
-
# NavBar
|
36
23
|
nav:
|
37
|
-
# logo 箱子
|
38
|
-
# logo group
|
39
24
|
group:
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
# 中心菜单
|
44
|
-
# center menu
|
25
|
+
# 项目: # 分类名称
|
26
|
+
# Solitude: https://github.com/everfu/hexo-theme-solitude || /img/pwa/favicon.ico # 子菜单名称(submenu name): 链接地址(address) || 图标(icon)
|
45
27
|
menu:
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
# 右侧按钮
|
63
|
-
# Button on the right
|
28
|
+
# 首页: / # 显示名称:路径 / Display name: path
|
29
|
+
# 文库: # 显示名称 / Display name
|
30
|
+
# 文章列表: /archives/ || fas fa-folder-closed # 子菜单名称:路径 || 图标 / Submenu name: path || icon
|
31
|
+
# 全部分类: /categories/ || fas fa-clone
|
32
|
+
# 全部标签: /tags/ || fas fa-tags
|
33
|
+
# 友链:
|
34
|
+
# 友链鱼塘: /moments/ || fas fa-wifi
|
35
|
+
# 友情链接: /links/ || fas fa-user-group
|
36
|
+
# 宝藏博主: javascript:travelling() || fas fa-gift
|
37
|
+
# 我的:
|
38
|
+
# 装备: /equipment/ || fas fa-laptop
|
39
|
+
# 工具箱: /tlink/ || fas fa-toolbox
|
40
|
+
# 音乐馆: /music/ || fas fa-music
|
41
|
+
# 关于:
|
42
|
+
# 关于本站: /about/ || fas fa-user
|
64
43
|
right:
|
65
44
|
random: false # 随机文章跳转 / random post button
|
66
45
|
console: false # 控制台 / console
|
67
|
-
# 自定义按钮
|
68
|
-
# custom button
|
69
|
-
# 左至右
|
70
|
-
# from left to right
|
71
46
|
custom:
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
47
|
+
# - name: 开往 - 友链接力 # 显示文字 / Displayed text
|
48
|
+
# url: https://www.travellings.cn/go.html # 跳转链接 / Jump link
|
49
|
+
# icon: fas fa-train # 图标 / Icon
|
50
|
+
# onclick: # 点击事件 / Click event
|
51
|
+
# id: travellings_button # id
|
77
52
|
|
78
|
-
# 首页顶部样式
|
79
|
-
# Home top style
|
80
53
|
hometop:
|
81
|
-
enable: false
|
82
|
-
# banner display
|
54
|
+
enable: false
|
83
55
|
banner:
|
84
|
-
|
85
|
-
# Large text displayed in the upper left corner
|
86
|
-
# tip:可使用html标签
|
87
|
-
# tip: html tags be used
|
88
|
-
title: 宁静致远<br>热爱生活
|
89
|
-
# 左上角显示小文字
|
90
|
-
# Small text displayed in the upper left corner
|
56
|
+
title: Tranquility <br>and love life
|
91
57
|
url: Hexo Theme Solitude
|
92
|
-
# 轮播icon
|
93
|
-
# Carousel icon
|
94
|
-
# tip: 76x76 size
|
95
58
|
icon:
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
# 左下跳转按钮
|
116
|
-
# Banner lower left jump button
|
59
|
+
# HTML:
|
60
|
+
# img: https://i.postimg.cc/vBWVnY8q/html.png
|
61
|
+
# color: "#e9572b"
|
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"
|
117
77
|
group:
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
# 右侧置顶列表(在文章的front matter中添加“recommend: true”)
|
123
|
-
# Right top list (add "recommend: true" in the front matter of the article)
|
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)
|
124
81
|
recommendList:
|
125
|
-
|
126
|
-
|
127
|
-
sup: 置顶
|
128
|
-
# 左下角大字
|
129
|
-
# Large text in the lower left corner
|
130
|
-
title: Solitude 主题文档
|
131
|
-
# 点击跳转链接
|
132
|
-
# Click the jump link
|
82
|
+
sup: Top
|
83
|
+
title: Solitude Documentation
|
133
84
|
url: https://solitude.js.org/
|
134
|
-
# 显示背景图片
|
135
|
-
# Display background image
|
136
85
|
img: /img/default.avif
|
137
|
-
# 阴影颜色
|
138
|
-
# Shadow color
|
139
86
|
color: "none"
|
140
87
|
|
141
|
-
# carousel
|
142
|
-
# 顶部推荐轮播图
|
143
|
-
# 使用方法:在文章的front matter中添加“recommend: true”
|
144
|
-
# tip:建议开了这个就不要开hometop,其功能类似
|
145
88
|
carousel: false
|
146
89
|
|
147
|
-
# --------------------------------------
|
148
|
-
# Aside Settings
|
149
|
-
# 侧边栏配置
|
150
90
|
aside:
|
151
91
|
# 值:about(关于我)、newestPost(最新文章)、allInfo(网站信息)、flip(公众号二维码)、newest_comment(最新评论)
|
152
92
|
# Values: about (info card), newestPost (latest article), allInfo (website information), flip (official account QR code), newest_comment (latest comment)
|
153
|
-
|
154
|
-
# 在主页显示的侧边栏信息
|
155
|
-
# Sidebar information displayed on the homepage
|
156
93
|
home:
|
157
|
-
# 固定的信息(滑动不跟随)
|
158
|
-
# Fixed information (not followed by sliding)
|
159
94
|
noSticky: "about"
|
160
|
-
# 不固定的信息(滑动跟随)
|
161
|
-
# Unfixed information (sliding follow)
|
162
95
|
Sticky: "allInfo"
|
163
|
-
# 在文章页显示的侧边栏信息
|
164
|
-
# Sidebar information displayed on the article page
|
165
96
|
post:
|
166
97
|
noSticky: "about"
|
167
98
|
Sticky: "newestPost"
|
168
|
-
# 在页面中显示的侧边栏信息
|
169
|
-
# Sidebar information displayed on the
|
170
99
|
page:
|
171
100
|
noSticky: "about"
|
172
101
|
Sticky: "newestPost,allInfo"
|
173
102
|
position: 1 # left(0): 左侧 / right(1): 右侧
|
174
|
-
# 侧边栏个人信息卡片
|
175
|
-
# Sidebar personal information
|
176
103
|
card:
|
177
104
|
style: 0 # 0: Heo样式 :1: 设计样式
|
178
|
-
# 头像信息
|
179
|
-
# Avatar information
|
180
105
|
author:
|
181
|
-
# 头像
|
182
|
-
# Avatar
|
183
106
|
img: /img/avatar.avif
|
184
|
-
|
185
|
-
# Emoticon image link
|
186
|
-
# tip: 26x26 size
|
187
|
-
sticker: https://7.isyangs.cn/34/65f2e4e0423cc-34.png # 不填不显示
|
188
|
-
# 点击作者头像跳转链接
|
189
|
-
# Click the author's avatar to jump link
|
107
|
+
sticker:
|
190
108
|
url: /about/
|
191
|
-
# 背景图片
|
192
|
-
# Background image
|
193
109
|
background: # https://s3.qjqq.cn/47/663af296b85f4.webp!color # 不设置不会展示(仅样式为1、2时有效)
|
194
|
-
# 文案1
|
195
|
-
# label1
|
196
110
|
content: 分享自己对编程的<b>热爱</b>,对美好生活的<b>向往</b>,对知识海洋<b>探索历程</b>。 # 样式为1时无效
|
197
|
-
# 文案2
|
198
|
-
# label2
|
199
111
|
content2: 相信你可以在这里找到对你有用的知识和教程。 # 样式为1时无效
|
200
|
-
# 个人信息卡片底部的小图标,按照例子填写
|
201
|
-
# Small icons at the bottom of the personal information card, fill in according to the example
|
202
|
-
# 个人信息卡片顶部按钮的打招呼语句
|
203
|
-
# Greeting statement of the button at the top of the personal information card
|
204
|
-
# 样式为2时无效
|
205
112
|
sayhello:
|
206
113
|
morning: 一日之计在于晨
|
207
114
|
noon: 吃饱了才有力气干活
|
208
115
|
afternoon: 集中精力,攻克难关
|
209
116
|
night: 不要太劳累了,早睡更健康
|
210
117
|
goodnight: 睡个好觉,保证精力充沛
|
211
|
-
# 个人信息卡片顶部按钮的切换文字
|
212
|
-
# Switching text of the button at the top of the personal information card
|
213
|
-
# 样式为2时无效
|
214
118
|
sayhello2:
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
# 个人信息卡片底部的小图标,按照例子填写
|
225
|
-
# 样式为1时请不要超过4个
|
119
|
+
# - 🤖️ 数码科技爱好者
|
120
|
+
# - 🔍 分享与热心帮助
|
121
|
+
# - 🏠 智能家居小能手
|
122
|
+
# - 🔨 设计开发一条龙
|
123
|
+
# - 🤝 专修交互与设计
|
124
|
+
# - 🏃 脚踏实地行动派
|
125
|
+
# - 🧱 团队小组发动机
|
126
|
+
# - 💢 壮汉人狠话不多
|
127
|
+
# - 🎮 电竞游戏爱好者
|
226
128
|
information:
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
# 二维码
|
231
|
-
# Official account QR code
|
129
|
+
# Github: https://github.com/everfu || fas fa-github # 名称:链接 || 图标 / Name: link || icon
|
130
|
+
# Bilibili: https://space.bilibili.com/1329819902 || fas fa-bilibili
|
232
131
|
flip:
|
233
|
-
# 右下角头像
|
234
|
-
# Avatar in the lower right corner
|
235
132
|
favicon:
|
236
|
-
# 正面
|
237
|
-
# Front
|
238
133
|
face:
|
239
|
-
# 鼠标悬停翻转图片
|
240
|
-
# Mouse hover flip image
|
241
134
|
backface:
|
242
|
-
# 背景色:var(--efu-blue) / #000 / rgba(0,0,0,0.5) / linear-gradient(to right,#f65,#ffbf37)
|
243
|
-
# Background color: var(--efu-blue) / #000 / rgba(0,0,0,0.5) / linear-gradient(to right,#f65,#ffbf37)
|
244
135
|
backcolor: "var(--efu-blue)"
|
245
|
-
|
246
136
|
newest_comment:
|
247
137
|
enable: true
|
248
138
|
storage: .5 # 缓存时间 1: 1天 / .5 : 半天 / Cache time 1: 1 day .5 : half a day
|
249
139
|
limit: 5 # 评论数 / Number of comments
|
250
|
-
|
251
|
-
# 页面目录
|
252
|
-
# Page directory
|
253
140
|
toc:
|
254
|
-
# 在文章页显示
|
255
|
-
# Display on the article page
|
256
141
|
post: true
|
257
|
-
# 在任意页显示
|
258
|
-
# Display on any page
|
259
142
|
page: false
|
260
|
-
# 开启后不悬停目录有模糊效果
|
261
|
-
# After opening, there is a fuzzy effect without hovering over the directory
|
262
143
|
vague: true
|
263
|
-
|
264
|
-
# 侧边栏文章列表
|
265
|
-
# Sidebar article list
|
266
144
|
tags:
|
267
|
-
# 是否显示标签
|
268
|
-
# Whether to display tags
|
269
145
|
enable: false
|
270
|
-
# 显示标签数量,当高于标签总数时,显示全部标签按钮
|
271
|
-
# Display the number of tags, when it is higher than the total number of tags, display all tags button
|
272
146
|
limit: 20
|
273
|
-
# 高亮显示标签列表
|
274
|
-
# Highlighted tag list
|
275
147
|
highlight_list:
|
276
148
|
# - Hexo
|
277
|
-
|
278
|
-
# 侧边栏归档
|
279
|
-
# aside archive
|
280
149
|
archive:
|
281
150
|
enable: false
|
282
|
-
# 显示类型
|
283
151
|
type: "month" # month: 按月 / year: 按年 : month: by month / year: by year
|
284
|
-
|
285
|
-
# 建站信息
|
286
|
-
# Website information
|
287
152
|
siteinfo:
|
288
|
-
# 文章数
|
289
|
-
# Number of articles
|
290
153
|
postcount: true
|
291
|
-
# 总字数
|
292
|
-
# The number of words on the web site
|
293
154
|
wordcount: false
|
294
|
-
# 访问量
|
295
|
-
# PV
|
296
155
|
pv: true
|
297
|
-
# 访客数
|
298
|
-
# UV
|
299
156
|
uv: true
|
300
|
-
# 最后更新日期
|
301
|
-
# Last update date
|
302
157
|
updatetime: true
|
303
|
-
# 建站时间
|
304
|
-
# Website creation time
|
305
158
|
runtimeenable: true
|
306
|
-
# 格式:yyyy-MM-dd hh:mm:ss
|
307
|
-
# Format: yyyy-MM-dd hh:mm:ss
|
308
159
|
runtime: "2023-04-20 00:00:00"
|
309
160
|
|
310
|
-
# 首页文章配置信息
|
311
|
-
# Configure information on the home page
|
312
161
|
index_post_list:
|
313
162
|
direction: column # row / column
|
314
163
|
column: 2 # 2:2列 3:3列
|
@@ -316,32 +165,20 @@ index_post_list:
|
|
316
165
|
length: 500 # 截取内容的长度 : The length of the screenshot content
|
317
166
|
cover: both # left: 在左侧 : left / right: 在右侧 : right / both: 两侧 : both
|
318
167
|
|
319
|
-
# 页面默认设置
|
320
|
-
# page default settings
|
321
168
|
page:
|
322
169
|
error: true # 404页面 / 404 page
|
323
170
|
tags: true # 标签页 / Tags page
|
324
171
|
categories: true # 分类页 / Categories page
|
325
172
|
default: # 默认值 / Default value
|
326
|
-
# 默认图片
|
327
|
-
# default cover
|
328
173
|
cover:
|
329
|
-
|
174
|
+
# - /img/default.png # 默认图片 / default cover
|
330
175
|
|
331
|
-
# 文章页默认设置
|
332
|
-
# post default settings
|
333
176
|
post:
|
334
177
|
default:
|
335
178
|
top_cover: true # 顶部描述 / Top description
|
336
|
-
# 文章默认图片
|
337
|
-
# default cover
|
338
179
|
cover:
|
339
|
-
|
340
|
-
|
341
|
-
# default post locate
|
342
|
-
locate: 衡阳
|
343
|
-
# 文章默认版权
|
344
|
-
# default post copyright
|
180
|
+
# - # 默认图片 / default cover
|
181
|
+
locate: China
|
345
182
|
copyright:
|
346
183
|
enable: true
|
347
184
|
author:
|
@@ -349,8 +186,6 @@ post:
|
|
349
186
|
img: # 显示头像,不填写默认显示site_icon
|
350
187
|
license: CC BY-NC-SA 4.0
|
351
188
|
licenurl: https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh
|
352
|
-
# 顶部文章简介
|
353
|
-
# Top article introduction
|
354
189
|
meta:
|
355
190
|
date: false # 发布日期 / Release date
|
356
191
|
updated: false # 更新日期 / Update date
|
@@ -359,46 +194,34 @@ post:
|
|
359
194
|
readtime: false # 访问 / uv
|
360
195
|
pv: false # 浏览量 / pv
|
361
196
|
comment: false # 评论数 / Comment count
|
362
|
-
# 打赏
|
363
|
-
# reward
|
364
197
|
award:
|
365
198
|
enable: false
|
366
199
|
appreciators: /about # 赞赏记录 / Appreciative records
|
367
200
|
title: 感谢您的赞赏。
|
368
201
|
desc: 因为有你们的支持,我才体会到写文章的价值。
|
369
202
|
list:
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
#
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
#
|
383
|
-
#
|
384
|
-
#
|
385
|
-
#
|
386
|
-
# - telegram
|
387
|
-
# - whatsapp
|
388
|
-
# - linkedin
|
389
|
-
# - link
|
390
|
-
# - qrcode
|
391
|
-
# 版权中订阅按钮跳转链接,填写地址后开启
|
392
|
-
# Subscription button jump link in copyright
|
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
|
+
# - qq
|
211
|
+
# - weibo
|
212
|
+
# - twitter
|
213
|
+
# - facebook
|
214
|
+
# - telegram
|
215
|
+
# - whatsapp
|
216
|
+
# - linkedin
|
217
|
+
# - link
|
218
|
+
# - qrcode
|
393
219
|
rss: # /atom.xml
|
394
|
-
# 文章主题色获取
|
395
|
-
# Article theme color acquisition
|
396
220
|
covercolor:
|
397
221
|
enable: false
|
398
222
|
mode: local # local:本地取色 / api:img2color取色 : local: local color / api: img2color color
|
399
223
|
api: https://api.qjqq.cn/api/Imgcolor?img= # api地址 / api address
|
400
224
|
time: 43200000 # api取色间隔(毫秒),默认为12小时 / api color interval (milliseconds), default is 12 hours
|
401
|
-
# footer
|
402
225
|
footer:
|
403
226
|
enable: true
|
404
227
|
desc: 来自 Efu 的文章 # 介绍文字
|
@@ -407,14 +230,6 @@ post:
|
|
407
230
|
name: 了解更多
|
408
231
|
url: /about/
|
409
232
|
|
410
|
-
# -------------------------
|
411
|
-
# 自定义主题
|
412
|
-
|
413
|
-
# 自定义配色
|
414
|
-
# custom theme color
|
415
|
-
# 注意:颜色值必须使用引号,如“#000”,否则可能会导致错误!
|
416
|
-
# Note: The color value must be enclosed in quotation marks, such as "#000", otherwise it may cause an error!
|
417
|
-
# --------------------------------------
|
418
233
|
theme_color:
|
419
234
|
dark: "#ffc848" # 暗色模式 / Dark mode
|
420
235
|
dark_op: "#f2b94b23" # 暗色模式透明 / Dark mode transparent
|
@@ -424,130 +239,67 @@ theme_color:
|
|
424
239
|
light_op: "#4259ef23" # 亮色模式透明 / Light mode transparent
|
425
240
|
light_op_deep: "#4259efdd" # 亮色模式透明深色 / Light mode transparent dark
|
426
241
|
light_none: "#4259ef01" # 亮色模式透明无色 / Light mode transparent colorless
|
427
|
-
|
428
|
-
# 主题显示模式调整
|
429
|
-
# theme display mode adjustment
|
430
|
-
# 主题支持三种模式:自动切换、暗色模式、亮色模式
|
431
|
-
# The theme supports three modes: automatic switching, dark mode, and light mode
|
432
|
-
# --------------------------------------
|
433
242
|
display_mode:
|
434
243
|
type: auto # auto: 自动切换 / dark: 暗色模式 / light: 亮色模式 / auto: automatic switching / dark: dark mode / light: light mode
|
435
244
|
universe: true # 开启后暗色模式下会显示星空背景 / After opening, the dark mode will display the starry sky background
|
436
245
|
|
437
|
-
# 文章底部推荐文章
|
438
|
-
# Recommended articles at the bottom of the article
|
439
|
-
# --------------------------------------
|
440
246
|
related_post:
|
441
247
|
enable: false
|
442
|
-
# 推荐文章数量
|
443
|
-
# Number of recommended articles
|
444
248
|
limit: 2
|
445
|
-
# 根据创建日期(created)或是更新日期(updated)
|
446
|
-
# According to the creation date (created) or the update date (updated)
|
447
249
|
date_type: created
|
448
250
|
|
449
|
-
# --------------------------------------
|
450
|
-
# Footer Settings
|
451
|
-
# 页脚配置
|
452
251
|
footer:
|
453
|
-
# 底部上方一排图标
|
454
|
-
# Bottom row of icons
|
455
252
|
information:
|
456
253
|
author: false # 是否显示 site_icon / enable site_icon in footer
|
457
|
-
# 左侧显示图标
|
458
254
|
left:
|
459
|
-
|
460
|
-
|
461
|
-
# 右侧显示图标
|
255
|
+
# Github: https://github.com/efuo || fas fa-github # 名称:链接 || 图标 / Name: link || icon
|
256
|
+
# Mail: mailto:o@efu.me || fas fa-envelope
|
462
257
|
right:
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
# 底部导航栏
|
467
|
-
# Bottom navigation bar
|
258
|
+
# Bilibili: https://space.bilibili.com/1329819902 || fas fa-bilibili
|
259
|
+
# 抖音: https://v.douyin.com/iJsLc8jt/ || fas fa-tiktok
|
468
260
|
group:
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
261
|
+
# 导航:
|
262
|
+
# 归档: /archives/
|
263
|
+
# 分类: /categories/
|
264
|
+
# 标签: /tags/
|
265
|
+
# 服务:
|
266
|
+
# 阿里云: https://aliyun.com/
|
267
|
+
# 51la统计: https://v6.51.la/
|
268
|
+
# 百度统计: https://tongji.baidu.com/
|
269
|
+
# 支持:
|
270
|
+
# 打赏记录: /about/
|
271
|
+
# 协议:
|
272
|
+
# Cookies: /cookies/
|
273
|
+
# 用户协议: /privacy/
|
274
|
+
# 版权协议: /copyright/
|
483
275
|
|
484
|
-
# 页脚随机友链
|
485
|
-
# Random links at footer
|
486
|
-
# warning: 打开前必须先配置links
|
487
|
-
# warning: links must be configured before opening
|
488
276
|
randomlink: false
|
489
|
-
# 隐私助手右侧弹窗,填写路径后开启
|
490
|
-
# Privacy assistant right pop-up window, fill in the path to open
|
491
277
|
privacy: # /privacy/
|
492
|
-
# 版权(Copyright)
|
493
278
|
license: # /license/
|
494
|
-
# 页脚右侧链接,例如:ICP备案号、公安备案号等
|
495
|
-
# Footer right link, such as: ICP filing number, public security filing number, etc.
|
496
279
|
links:
|
497
|
-
# 为了主题能够得到更多的支持,建议保留主题链接
|
498
|
-
# In order for the theme to get more support, it is recommended to keep the theme link
|
499
280
|
- name: 主题
|
500
281
|
url: https://github.com/everfu/hexo-theme-solitude
|
501
282
|
# - name: 订阅
|
502
283
|
# url: /atom.xml
|
503
284
|
|
504
|
-
# 404 页面(404 page)
|
505
285
|
errorpage:
|
506
|
-
# 图片
|
507
|
-
# image
|
508
286
|
img: /img/404.avif
|
509
|
-
# 文字
|
510
|
-
# text
|
511
287
|
text: =awa= 页面走丢了
|
512
|
-
# 推荐文章列表
|
513
|
-
# Recommended article list
|
514
288
|
recommendList: true
|
515
289
|
|
516
|
-
# 即刻短文
|
517
|
-
# talk now
|
518
|
-
# 前置要求:需配置即刻短文页面
|
519
|
-
# Pre-requirements: talk now page needs to be configured
|
520
290
|
says:
|
521
291
|
enable: false
|
522
|
-
# 主页的即刻轮播条
|
523
|
-
# Talk carousel bar on the homepage
|
524
292
|
home_mini: false
|
525
|
-
# 1:张洪heo样式 / 2:Leonus样式
|
526
|
-
# 1: Zhang Hong heo style / 2: Leonus style
|
527
293
|
style: 1
|
528
|
-
# 即刻短文仅展示前n条
|
529
|
-
# Talk short text only shows the first n
|
530
294
|
strip: 30
|
531
295
|
|
532
|
-
# 最近评论
|
533
|
-
# recent comments
|
534
|
-
# 前置要求:需配置最近评论页面和评论,否则显示为空
|
535
|
-
# Pre-requirements: recent comments page needs to be configured and commented, otherwise it will be displayed as empty
|
536
296
|
recent_comments:
|
537
297
|
enable: false
|
538
|
-
# 评论数
|
539
|
-
# Number of comments
|
540
298
|
limit: 50 # ⚠️waline 仅支持最大50条评论 / ⚠️waline only supports a maximum of 50 comments
|
541
|
-
# 缓存时间
|
542
|
-
# Cache time
|
543
299
|
cache: 0.2 # 1 = 1天 / 1 = 1 day
|
544
300
|
page: /recentcomments/ # 最近评论页面 / recent comments page
|
545
301
|
img: /img/recent_c.avif # 中控台显示图片(不填不显示) / image displayed in the console
|
546
302
|
|
547
|
-
# 留言板
|
548
|
-
# message board
|
549
|
-
# 前置要求:需配置留言板页面
|
550
|
-
# Pre-requirements: message board page needs to be configured
|
551
303
|
envelope:
|
552
304
|
enable: false
|
553
305
|
line: 10 # 显示行数
|
@@ -556,228 +308,115 @@ envelope:
|
|
556
308
|
loop: true # 循环播放
|
557
309
|
page: /message/ # 留言板页面 / message board page
|
558
310
|
|
559
|
-
# -------------------------
|
560
|
-
# meeting-api,用于界面中的音乐胶囊和音乐馆页,可自定义api,不会请勿动。
|
561
|
-
# meeting-api, used for music capsules and music halls in the interface, can customize api, do not move if you don't know.
|
562
311
|
meting_api: "https://meting.qjqq.cn/?server=:server&type=:type&id=:id&auth=:auth&r=:r" #自定义api
|
563
|
-
# 音乐馆页
|
564
|
-
# music page
|
565
312
|
music:
|
566
313
|
enable: false
|
567
|
-
# 音乐ID:歌单ID / 专辑ID / 歌手ID
|
568
|
-
# Music ID: playlist ID / album ID / singer ID
|
569
314
|
id: 1994908354
|
570
|
-
# 播放列表的服务商。netease:网易云 / tencent:腾讯 / kugou:酷狗 / xiami:小米 / baidu:百度
|
571
|
-
# Music service provider. netease: Netease Cloud / tencent: Tencent / kugou: Kugou / xiaomi: Xiaomi / baidu: Baidu
|
572
315
|
server: netease
|
573
|
-
# 播放列表的类型。song:单曲 / playlist:歌单 / album:专辑 / artist:歌手
|
574
|
-
# Type of playlist. song: Single / playlist: Playlist / album: Album / artist: Singer
|
575
316
|
type: playlist
|
576
|
-
# 初始音量。0.8 = 80%,范围 0 到 1
|
577
|
-
# Initial volume. 0.8 = 80%, range 0 to 1
|
578
317
|
volume: 0.8
|
579
|
-
# 是否开启互斥模式,即同时只能有一个播放器播放
|
580
|
-
# Whether to enable mutex mode, that is, only one player can play at the same time
|
581
318
|
mutex: true
|
582
319
|
|
583
|
-
# 音乐胶囊
|
584
|
-
# capsule music
|
585
320
|
capsule:
|
586
321
|
enable: false
|
587
|
-
# 歌单id / playlist id
|
588
322
|
id: 8407304077
|
589
|
-
# 播放列表的服务商。netease:网易云 / tencent:腾讯 / kugou:酷狗 / xiami:小米 / baidu:百度
|
590
|
-
# Music service provider. netease: Netease Cloud / tencent: Tencent / kugou: Kugou / xiaomi: Xiaomi / baidu: Baidu
|
591
323
|
server: netease
|
592
|
-
# 播放列表的类型。song:单曲 / playlist:歌单 / album:专辑 / artist:歌手
|
593
|
-
# Type of playlist. song: Single / playlist: Playlist / album: Album / artist: Singer
|
594
324
|
type: playlist
|
595
325
|
|
596
|
-
# 快捷菜单
|
597
|
-
# quick menu
|
598
326
|
keyboard:
|
599
327
|
enable: false # 是否开启键盘控制 / Whether to enable keyboard control
|
600
|
-
# 键盘控制配置
|
601
|
-
# Keyboard control configuration
|
602
328
|
list:
|
603
|
-
|
604
|
-
|
605
|
-
|
606
|
-
|
607
|
-
|
608
|
-
|
609
|
-
|
610
|
-
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
|
615
|
-
# sco: showConsole
|
616
|
-
# - name: 播放/暂停音乐
|
617
|
-
# key: M
|
618
|
-
# sco: musicToggle
|
619
|
-
# - name: 打开友情链接
|
620
|
-
# key: L
|
621
|
-
# url: /links/
|
329
|
+
# - name: 关闭快捷键功能
|
330
|
+
# key: K
|
331
|
+
# func: keyboard
|
332
|
+
# - name: 打开中控台
|
333
|
+
# key: A
|
334
|
+
# sco: showConsole
|
335
|
+
# - name: 播放/暂停音乐
|
336
|
+
# key: M
|
337
|
+
# sco: musicToggle
|
338
|
+
# - name: 打开友情链接
|
339
|
+
# key: L
|
340
|
+
# url: /links/
|
622
341
|
|
623
|
-
# 复制
|
624
|
-
# Copy
|
625
342
|
copy:
|
626
343
|
enable: true
|
627
344
|
copyright: # Turn on Link copyright information after copying.(开启后将在默认增加版权信息)
|
628
345
|
enable: true
|
629
346
|
limit: 50 # 字数 / word count
|
630
347
|
|
631
|
-
# 懒加载
|
632
|
-
# lazyload
|
633
348
|
lazyload:
|
634
349
|
enable: false
|
635
350
|
field: site # post, site
|
636
|
-
# 加载中显示图片
|
637
|
-
# Loading display image
|
638
351
|
placeholder: /img/loading.avif
|
639
|
-
# 加载失败显示图片
|
640
|
-
# Loading failed display image
|
641
352
|
errorimg: /img/error_load.avif
|
642
353
|
|
643
|
-
# 加载动画
|
644
|
-
# loading animation
|
645
354
|
loading:
|
646
|
-
# 全局加载动画
|
647
|
-
# Global loading animation
|
648
355
|
fullpage: false
|
649
|
-
# 顶部加载胶囊
|
650
|
-
# Top loading capsule
|
651
356
|
pace: true
|
652
357
|
|
653
|
-
#代码高亮增强
|
654
|
-
# code highlight
|
655
358
|
highlight:
|
656
359
|
enable: true
|
657
360
|
limit: 200 # 代码行高限制 / Code line limit
|
658
361
|
copy: true # 是否开启复制按钮 / Whether to enable the copy button
|
659
362
|
expand: true # 是否默认展开 / Whether to expand by default
|
660
|
-
# 代码块样式
|
661
|
-
# Code block style
|
662
363
|
theme: default # default: 默认 / mac : apple terminal
|
663
|
-
# 代码配色
|
664
|
-
# Code color
|
665
364
|
color: default # default: 默认 / solidity: solidity / dracula: dracula
|
666
365
|
|
667
|
-
# 图片灯箱
|
668
|
-
# image lightbox
|
669
|
-
# warning:开启前下方的fancybox或mediumZoom必须打开一个
|
670
|
-
# warning: One of the fancybox or mediumZoom below must be turned on before turning on
|
671
366
|
lightbox: false
|
672
|
-
# fancybox
|
673
|
-
# https://fancyapps.com/fancybox/
|
674
367
|
fancybox: false
|
675
|
-
# mediumZoom
|
676
368
|
mediumZoom: false
|
677
369
|
|
678
|
-
# mermaid tags plugin
|
679
|
-
# https://mermaid.js.org/
|
680
370
|
mermaid: false
|
681
371
|
|
682
|
-
# Open Graph
|
683
|
-
# https://ogp.me/
|
684
|
-
# https://developers.facebook.com/docs/sharing/webmasters/
|
685
372
|
OpenGraph:
|
686
373
|
enable: false
|
687
374
|
options:
|
688
|
-
|
689
|
-
|
690
|
-
|
691
|
-
|
692
|
-
|
693
|
-
|
694
|
-
|
375
|
+
# twitter_card:
|
376
|
+
# twitter_image:
|
377
|
+
# twitter_id:
|
378
|
+
# twitter_site:
|
379
|
+
# google_plus:
|
380
|
+
# fb_admins:
|
381
|
+
# fb_app_id:
|
695
382
|
|
696
|
-
# 字数统计
|
697
|
-
# word count
|
698
|
-
# warning:开启前需要安装字数统计插件
|
699
|
-
# warning: You need to install the word count plugin before turning it on
|
700
383
|
wordcount: false
|
701
384
|
|
702
|
-
# 访问统计
|
703
|
-
# access statistics
|
704
385
|
busuanzi: false
|
705
386
|
busuanzi_use: 0 # 0: 原版 / 1: 青秸(other: 其它自定義的busuanzi平台)
|
706
387
|
|
707
|
-
# 搜索
|
708
|
-
# search
|
709
|
-
# warning:开启前需要安装搜索插件
|
710
|
-
# warning: You need to install the search plugin before turning it on
|
711
388
|
search:
|
712
389
|
enable: false
|
713
|
-
# algolia
|
714
|
-
type: local
|
715
|
-
# 推荐标签
|
716
|
-
# Recommended tags
|
390
|
+
type: local # local: 本地搜索 / algolia: Algolia搜索 / local: local search
|
717
391
|
tags:
|
718
|
-
|
719
|
-
|
392
|
+
# - Solitude
|
393
|
+
# - Hexo
|
720
394
|
algolia:
|
721
|
-
|
722
|
-
|
395
|
+
# hits:
|
396
|
+
# per_page: 6
|
723
397
|
local:
|
724
398
|
preload: false
|
725
399
|
CDN:
|
726
400
|
|
727
|
-
# Post Chat AI
|
728
|
-
# 后台地址:https://ai.tianli0.top/?InviteID=OZ3Z0V2R
|
729
401
|
tianli_talk:
|
730
402
|
enable: false
|
731
403
|
title: 智能客服与搜索
|
732
|
-
key:
|
733
|
-
# 参见 https://ai.tianli0.top/?InviteID=OZ3Z0V2R
|
734
|
-
# 默认值
|
735
|
-
# backgroundColor: var(--efu-main)
|
736
|
-
# bottom: 60px
|
404
|
+
key: # 请填写你的key
|
737
405
|
option:
|
738
|
-
# 参见 https://ai.tianli0.top/codeMaker.html
|
739
|
-
# defaultInput: false
|
740
|
-
# upLoadWeb: true
|
741
|
-
# userTitle: Efu Chat
|
742
|
-
# userDesc: 你好,我是 Efu 的智能客服,有什么可以帮助你的?
|
743
|
-
# showInviteLink: https://ai.tianli0.top/?InviteID=OZ3Z0V2R
|
744
|
-
# blackDom:
|
745
|
-
# - .aplayer
|
746
|
-
# 文章摘要AI
|
747
|
-
# post abstract AI
|
748
406
|
post_ai:
|
749
407
|
enable: false
|
750
|
-
# 右侧显示的模型名称
|
751
|
-
# Model name displayed on the right
|
752
408
|
modelName: GPT 4
|
753
|
-
# key
|
754
|
-
# 具体获取方法见文档
|
755
|
-
# Specific acquisition method, see the document
|
756
409
|
key:
|
757
|
-
# 自介
|
758
|
-
# talk
|
759
410
|
talk: # 我是 Efu 开发的摘要生成助理EfuGPT,EfuGPT在静态部署时进行摘要的撰写,并且在访客访问时通过EfuCorrection转译后的文本摘要实现工具。我在这里只负责已经生成的摘要显示,你无法与我直接沟通,但我可以回答一些预设的问题。
|
760
|
-
# 随机文章按钮
|
761
|
-
# Random post button
|
762
411
|
randomPost: false
|
763
|
-
# 举报链接,不填不显示
|
764
|
-
# Report link, do not fill in and do not display
|
765
412
|
report: https://efu.me/
|
766
|
-
# 底部提示
|
767
|
-
# Bottom tip
|
768
413
|
tips: # 此内容根据文章生成,并经过人工审核,仅用于文章内容的解释与总结
|
769
414
|
|
770
|
-
# latex 公式支持
|
771
|
-
# latex formula support
|
772
|
-
# docs: https://solitude.js.org/config/extend.html#数学公式
|
773
415
|
katex:
|
774
416
|
enable: false
|
775
417
|
per_page: false # 是否在每页都加载 / Whether to load on each page
|
776
418
|
copytex: false # 是否开启复制公式 / Whether to enable copy formula
|
777
419
|
|
778
|
-
# 评论
|
779
|
-
# comment
|
780
|
-
# getting start: https://solitude.js.org/comments/comment
|
781
420
|
comment:
|
782
421
|
use: # waline, twikoo, valine, artalk, giscus
|
783
422
|
commentBarrage: false # 热评开关 / Hot comment switch
|
@@ -788,25 +427,16 @@ comment:
|
|
788
427
|
hot_tip: # 多人互动
|
789
428
|
enable: false # 开启后将在文章列表显示多人互动
|
790
429
|
count: 3 # 设置大于多少评论时显示
|
791
|
-
|
792
|
-
# twikoo 配置信息
|
793
|
-
# twikoo settings
|
794
430
|
twikoo: # https://twikoo.js.org/
|
795
431
|
envId: # url: https://twikoo.sondy.top/
|
796
432
|
region: # 环境地域,默认为 ap-shanghai,腾讯云环境填 ap-shanghai 或 ap-guangzhou;Vercel 环境不填
|
797
433
|
style: true # Use custom styles when turned on / 开启后使用自定义样式
|
798
434
|
accessToken: # AccessToken
|
799
435
|
option: # twikoo option
|
800
|
-
|
801
|
-
# waline 配置信息
|
802
|
-
# waline settings
|
803
436
|
waline: # https://waline.js.org/
|
804
437
|
envId: # url: https://waline.wzsco.top
|
805
438
|
pageview: false # 是否开启页面访问量统计 / Whether to enable page access statistics
|
806
439
|
option: # waline配置项 / waline configuration item
|
807
|
-
|
808
|
-
# valine 配置信息
|
809
|
-
# valine settings
|
810
440
|
valine:
|
811
441
|
appId: # leancloud application app id
|
812
442
|
appKey: # leancloud application app key
|
@@ -815,16 +445,10 @@ valine:
|
|
815
445
|
visitor: false
|
816
446
|
style: true # Use custom styles when turned on / 开启后使用自定义样式
|
817
447
|
option: # options list
|
818
|
-
|
819
|
-
# artalk 配置信息
|
820
|
-
# artalk settings
|
821
448
|
artalk:
|
822
449
|
server: # server url / 后端地址
|
823
450
|
site: # site name / 站点名
|
824
451
|
option: # options
|
825
|
-
|
826
|
-
# gitalk 配置信息
|
827
|
-
# gitalk settings
|
828
452
|
giscus:
|
829
453
|
repo: # GitHub 仓库名称 / GitHub repository name
|
830
454
|
repo_id: # GitHub 仓库ID / GitHub repository ID
|
@@ -834,7 +458,6 @@ giscus:
|
|
834
458
|
dark: dark
|
835
459
|
option:
|
836
460
|
|
837
|
-
# 中控台
|
838
461
|
console:
|
839
462
|
enable: false # 开启后显示中控台
|
840
463
|
recentComment: # 开启后显示最近评论
|
@@ -844,46 +467,27 @@ console:
|
|
844
467
|
tags: true # 开启后显示 标签
|
845
468
|
archive: true # 开启后显示 归档
|
846
469
|
|
847
|
-
# 站点验证
|
848
|
-
# Site verification
|
849
|
-
# 仅需要填写验证代码即可,譬如:codeva-KReTIJu5us
|
850
|
-
# Only need to fill in the verification code, such as: codeva-KReTIJu5us
|
851
470
|
verify_site:
|
852
|
-
|
853
|
-
|
854
|
-
|
855
|
-
|
471
|
+
# - name: google-site-verification
|
472
|
+
# content: xxxxxx
|
473
|
+
# - name: baidu-site-verification
|
474
|
+
# content: xxxxxxx
|
856
475
|
|
857
|
-
# CSS 前缀
|
858
|
-
# CSS prefix
|
859
|
-
# 有些 CSS 并不是所有浏览器都支持,需要增加对应的前缀才会生效
|
860
|
-
# Some CSS is not supported by all browsers, and you need to add the corresponding prefix to take effect
|
861
|
-
# 开启 css_prefix 后,会自动为一些 CSS 增加前缀。(会增加 20%的体积)
|
862
|
-
# After opening css_prefix, some CSS will be automatically prefixed. (Will increase 20% of the volume)
|
863
476
|
css_prefix: false
|
864
477
|
|
865
|
-
# Font 字体
|
866
|
-
# Font
|
867
478
|
font:
|
868
479
|
font-size: 16px
|
869
480
|
code-font-size: 16px
|
870
481
|
font-family: "PingFang SC, Hiragino Sans GB, Microsoft YaHei"
|
871
482
|
code-font-family: '"monospace", monospace'
|
872
483
|
|
873
|
-
# 插入代码到头部 </head> 之前 和 底部 </body> 之前
|
874
|
-
# Insert code before </head> and before </body>
|
875
|
-
# 插入额外代码 如:统计,广告等
|
876
|
-
# Insert additional code such as: statistics, advertising, etc.
|
877
484
|
extends:
|
878
485
|
head:
|
879
|
-
|
880
|
-
|
486
|
+
# 在head中插入 / Insert in head
|
487
|
+
# - <script src="https://cdn.bootcdn.net/ajax/libs/pace/1.2.4/pace.min.js"></script>
|
881
488
|
body:
|
882
|
-
|
489
|
+
# 在body中插入 / Insert in body
|
883
490
|
|
884
|
-
# PWA
|
885
|
-
# https://developer.mozilla.org/zh-CN/docs/Web/Progressive_web_apps
|
886
|
-
# docs: https://solitude.js.org/config/extra#pwa
|
887
491
|
pwa:
|
888
492
|
enable: false
|
889
493
|
manifest: /manifest.json # manifest.json 文件路径
|
@@ -894,7 +498,6 @@ pwa:
|
|
894
498
|
favicon_32_32: /img/pwa/favicon_32.ico # 32x32图标
|
895
499
|
favicon_16_16: /img/pwa/favicon_16.ico # 16x16图标
|
896
500
|
|
897
|
-
# 谷歌广告 (Google Adsense)
|
898
501
|
google_adsense:
|
899
502
|
enable: false
|
900
503
|
auto_ads: false # 自动广告关闭后则为手动广告 / After auto ads are turned off, it is manual ads
|
@@ -903,114 +506,64 @@ google_adsense:
|
|
903
506
|
post_card: true # 文章卡片广告 / Post card ads(首页文章列表)
|
904
507
|
post_content: true # 文章内容广告 / Post content ads(文章内容底部广告)
|
905
508
|
js: https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js # 谷歌广告js / Google Adsense js
|
906
|
-
# client id
|
907
|
-
# 无论是否开启自动广告,都需要填写 client id
|
908
|
-
# Whether to enable auto ads or not, you need to fill in the client id
|
909
509
|
client: # ca-pub-XXXXXXXXXXXXXX
|
910
|
-
# slot id
|
911
|
-
# 只有关闭自动广告时才需要填写 slot id,可以在谷歌广告后台 按广告单元中创建广告位后获取
|
912
|
-
# Only when auto ads are turned off, you need to fill in the slot id, which can be obtained after creating an ad space in the Google Adsense background according to the ad unit
|
913
510
|
slot: # 4236388782
|
914
511
|
|
915
|
-
# 自定义右键菜单 (Custom Right Menu)
|
916
512
|
right_menu:
|
917
513
|
enable: false
|
918
514
|
commentBarrage: false # 是否显示热评开关 / Whether to display the hot comment switch.
|
919
|
-
# 翻译功能(仅支持简繁)
|
920
|
-
# Translation function (Simplified and Traditional Chinese only)
|
921
515
|
translate:
|
922
516
|
enable: false
|
923
517
|
defaultEncoding: 2 # 1: 默认繁体 2: 默认简体
|
924
518
|
translateDelay: 0 # 首次加载翻译迟疑时间
|
925
|
-
# 自定义菜单项列表
|
926
|
-
# Customize the list of menu items.
|
927
519
|
custom_list:
|
928
|
-
|
929
|
-
|
930
|
-
|
931
|
-
|
932
|
-
|
933
|
-
|
934
|
-
|
935
|
-
|
936
|
-
|
937
|
-
|
938
|
-
|
939
|
-
|
940
|
-
|
941
|
-
|
942
|
-
|
943
|
-
# - name: 赞助主题
|
944
|
-
# click: window.open('https://afdian.net/a/efu0u0/', '_blank')
|
945
|
-
# id:
|
946
|
-
# class:
|
947
|
-
# icon: st-afdian-line
|
520
|
+
# - name: 随机短文
|
521
|
+
# click: toRandomPost()
|
522
|
+
# id: menu-randomPost
|
523
|
+
# class:
|
524
|
+
# icon: fas fa-tower-broadcast
|
525
|
+
# - name: 全部分类
|
526
|
+
# click: pjax.loadUrl('/categories/') # 外链用 window.open,pjax 无法请求跨域内容
|
527
|
+
# id:
|
528
|
+
# class:
|
529
|
+
# icon: fas fa-clone
|
530
|
+
# - name: 全部标签
|
531
|
+
# click: pjax.loadUrl('/tags/')
|
532
|
+
# id:
|
533
|
+
# class:
|
534
|
+
# icon: fas fa-tags
|
948
535
|
|
949
|
-
# 哀悼模式,网页黑白
|
950
|
-
# Mourning mode, web page black and white
|
951
536
|
memorial:
|
952
537
|
enable: false
|
953
|
-
# 日期, (M-D)
|
954
|
-
# Date, (M-D)
|
955
|
-
# eg: 7-7, 9-18, 12-13 ...
|
956
538
|
date:
|
957
|
-
|
958
|
-
|
959
|
-
|
539
|
+
# - 7-7 # 七七事变
|
540
|
+
# - 9-18 # 九一八事变
|
541
|
+
# - 12-13 # 南京大屠杀国家公祭日
|
960
542
|
|
961
|
-
# 诱骗
|
962
|
-
# lure
|
963
543
|
lure:
|
964
544
|
enable: false
|
965
|
-
# 跳出
|
966
|
-
# Jump out
|
967
545
|
jump: 404 Not Found
|
968
|
-
# 切回
|
969
|
-
# Switch back
|
970
546
|
back: ヾ(≧∇≦*)ゝ嘿嘿,上当了吧
|
971
547
|
|
972
|
-
# 文章过期提醒
|
973
|
-
# Article expiration reminder
|
974
548
|
expire:
|
975
549
|
enable: false
|
976
|
-
#
|
977
|
-
# Expiration time
|
978
|
-
time: 30
|
550
|
+
time: 30 # days
|
979
551
|
position: top # top / bottom
|
980
|
-
# 过期提示
|
981
|
-
# Expiration prompt
|
982
552
|
text_prev: 本文已于
|
983
553
|
text_next: 天前过期,如果内容不符,请联系站长更新。
|
984
554
|
|
985
|
-
# 背景图片
|
986
|
-
# Background image
|
987
555
|
background:
|
988
556
|
enable: false
|
989
557
|
opacity: .2
|
990
558
|
dark: https://bu.dusays.com/2023/09/29/651685ce667d1.jpg
|
991
559
|
light: https://bu.dusays.com/2023/09/29/651685cc18d39.jpg
|
992
560
|
|
993
|
-
# CDN
|
994
|
-
# Don't modify the following settings unless you know how they work
|
995
|
-
# 非必要请不要修改
|
996
561
|
CDN:
|
997
|
-
# The CDN provider of internal scripts (主题内 js 的 cdn 配置)
|
998
|
-
# option: local/jsdelivr/unpkg/cdnjs/custom
|
999
|
-
# Dev version can only choose. ( dev版本只能为 local )
|
1000
562
|
internal: local
|
1001
|
-
# The CDN provider of third party scripts (第三方 js 的 cdn 配置)
|
1002
|
-
# option: jsdelivr/unpkg/cdnjs/custom
|
1003
563
|
third_party: cdnjs
|
1004
|
-
|
1005
|
-
# Add version number to url, true or false
|
1006
564
|
version: true
|
1007
|
-
|
1008
|
-
# Custom format
|
1009
|
-
# For example: //open.lightxi.com/cdnjs/ajax/libs/${cdnjs_name}/${version}/${min_cdnjs_file}
|
1010
565
|
custom_format: //open.lightxi.com/cdnjs/ajax/libs/${cdnjs_name}/${version}/${min_cdnjs_file}
|
1011
|
-
|
1012
566
|
option:
|
1013
|
-
solitude_css: https://cdn2.codesign.qq.com/icons/7pOrz0WXB5ZWJPX/latest/iconfont.css
|
1014
567
|
busuanzi_qj_js: https://pv.lemonso.com/js
|
1015
568
|
# algolia_search:
|
1016
569
|
# instantsearch:
|
@@ -1028,4 +581,4 @@ CDN:
|
|
1028
581
|
# swiper_css:
|
1029
582
|
# swiper_js:
|
1030
583
|
# busuanzi_js:
|
1031
|
-
# snackbar_js:
|
584
|
+
# snackbar_js:
|