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