hexo-theme-solitude 1.5.0 → 1.5.2
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/ISSUE_TEMPLATE/config.yml +17 -0
- package/.github/ISSUE_TEMPLATE/feature_request.yml +48 -0
- package/.github/PULL_REQUEST_TEMPLATE.md +35 -0
- package/CONTRIBUTING.md +2 -13
- package/LICENSE +21 -674
- package/README.md +17 -41
- package/README_EN.md +14 -39
- package/SECURITY.md +9 -0
- package/_config.yml +235 -264
- package/languages/{en-US.yml → en.yml} +3 -5
- package/languages/zh-CN.yml +0 -2
- package/languages/zh-TW.yml +0 -2
- package/layout/404.pug +1 -1
- package/layout/includes/body/gadsense.pug +9 -0
- package/layout/includes/console.pug +6 -6
- package/layout/includes/footer.pug +13 -13
- package/layout/includes/inject/body.pug +10 -1
- package/layout/includes/inject/head.pug +6 -4
- package/layout/includes/mixins/pagination.pug +2 -2
- package/layout/includes/nav.pug +2 -2
- package/layout/includes/page/album.pug +9 -9
- package/layout/includes/page/says.pug +5 -5
- package/layout/includes/sidebar.pug +2 -3
- package/layout/includes/widgets/aside/asideInfoCard.pug +1 -1
- package/layout/includes/widgets/aside/asideNewestPost.pug +1 -1
- package/layout/includes/widgets/aside/asideToc.pug +1 -1
- package/layout/includes/widgets/aside/asideWebInfo.pug +8 -8
- package/layout/includes/widgets/home/banner.pug +1 -1
- package/layout/includes/widgets/home/bbTimeList.pug +7 -7
- package/layout/includes/widgets/home/categoryBar.pug +5 -4
- package/layout/includes/widgets/home/categoryGroup.pug +3 -2
- package/layout/includes/widgets/home/postList.pug +11 -5
- package/layout/includes/widgets/home/topGroup.pug +1 -1
- package/layout/includes/widgets/nav/menu.pug +1 -1
- package/layout/includes/widgets/nav/right.pug +6 -6
- package/layout/includes/widgets/page/about/award.pug +3 -3
- package/layout/includes/widgets/page/about/hobbies.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 +3 -3
- package/layout/includes/widgets/page/moments/angle.pug +1 -1
- package/layout/includes/widgets/post/award.pug +1 -1
- package/layout/includes/widgets/post/copyright.pug +1 -1
- package/layout/includes/widgets/post/post-ai.pug +1 -1
- package/layout/includes/widgets/post/postMeta.pug +12 -12
- package/layout/includes/widgets/rightside/index.pug +25 -25
- package/layout/includes/widgets/third-party/comments/comment.pug +1 -1
- package/layout/includes/widgets/third-party/music.pug +1 -1
- package/layout/includes/widgets/third-party/search/algolia-search.pug +2 -2
- package/layout/includes/widgets/third-party/search/local-search.pug +1 -1
- package/layout/index.pug +2 -2
- package/package.json +9 -9
- package/plugins.yml +8 -12
- package/scripts/event/cdn.js +10 -0
- package/scripts/event/welcome.js +1 -1
- package/scripts/filter/lazyload.js +2 -3
- package/scripts/helper/related_post.js +1 -1
- package/scripts/helper/stylus.js +11 -3
- package/scripts/tags/card.js +1 -1
- package/scripts/tags/mermaid.js +9 -0
- package/scripts/tags/tabs.js +2 -2
- package/source/css/_global/animation.styl +1 -1
- package/source/css/_global/index.styl +27 -27
- package/source/css/_layout/basic.styl +18 -18
- package/source/css/_layout/header.styl +67 -67
- package/source/css/_layout/index.styl +14 -14
- package/source/css/_mode/index.styl +88 -88
- package/source/css/_page/_about/author.styl +5 -5
- package/source/css/_page/_about/buff.styl +1 -1
- package/source/css/_page/_about/careers.styl +1 -1
- package/source/css/_page/_about/contentinfo.styl +2 -2
- package/source/css/_page/_about/game.styl +2 -2
- package/source/css/_page/_about/like.styl +2 -2
- package/source/css/_page/_about/myphoto.styl +1 -1
- package/source/css/_page/_about/oneself.styl +2 -2
- package/source/css/_page/_about/reward.styl +11 -11
- package/source/css/_page/_about/skills.styl +2 -2
- package/source/css/_page/_about/statistic.styl +4 -4
- package/source/css/_page/_about/tenyear.styl +4 -4
- package/source/css/_page/_gallery/index.styl +7 -7
- package/source/css/_page/_home/category-bar.styl +11 -8
- package/source/css/_page/_home/home-top.styl +16 -16
- package/source/css/_page/_home/index.styl +1 -1
- package/source/css/_page/_home/pagination.styl +22 -22
- package/source/css/_page/_home/recent-post.styl +22 -15
- package/source/css/_page/category.styl +11 -11
- package/source/css/_page/douban.styl +10 -10
- package/source/css/_page/equipment.styl +10 -10
- package/source/css/_page/error.styl +3 -3
- package/source/css/_page/google.styl +32 -0
- package/source/css/_page/index.styl +4 -1
- package/source/css/_page/links.styl +27 -27
- package/source/css/_page/moment.styl +22 -22
- package/source/css/_page/music.styl +16 -14
- package/source/css/_page/says.styl +21 -21
- package/source/css/_page/share.styl +25 -25
- package/source/css/_page/tag.styl +12 -12
- package/source/css/_widgets/_aside/allinfo.styl +12 -12
- package/source/css/_widgets/_aside/flip.styl +3 -6
- package/source/css/_widgets/_aside/index.styl +4 -4
- package/source/css/_widgets/_aside/info.styl +27 -27
- package/source/css/_widgets/_aside/newPost.styl +5 -5
- package/source/css/_widgets/_aside/toc.styl +7 -7
- package/source/css/_widgets/_comment/index.styl +7 -7
- package/source/css/_widgets/_comment/twikoo.styl +66 -50
- package/source/css/_widgets/_comment/waline.styl +45 -44
- package/source/css/_widgets/_extra/console.styl +30 -29
- package/source/css/_widgets/_extra/fullpage.styl +1 -1
- package/source/css/_widgets/_extra/music.styl +11 -11
- package/source/css/_widgets/_extra/pace.styl +2 -2
- package/source/css/_widgets/_extra/rightmenu.styl +8 -8
- package/source/css/_widgets/_mixins/article-sort.styl +7 -7
- package/source/css/_widgets/_mixins/footer.styl +31 -29
- package/source/css/_widgets/_mixins/keyboard.styl +8 -8
- package/source/css/_widgets/_mixins/other.styl +4 -4
- package/source/css/_widgets/_mixins/sidebar.styl +20 -20
- package/source/css/_widgets/_post/_highlight/index.styl +16 -16
- package/source/css/_widgets/_post/_highlight/theme/default.styl +1 -1
- package/source/css/_widgets/_post/_highlight/theme/mac.styl +1 -1
- package/source/css/_widgets/_post/commentBarrage.styl +13 -13
- package/source/css/_widgets/_post/content.styl +27 -26
- package/source/css/_widgets/_post/copyright.styl +11 -11
- package/source/css/_widgets/_post/meta.styl +27 -27
- package/source/css/_widgets/_post/pagination.styl +13 -13
- package/source/css/_widgets/_post/postAI.styl +18 -18
- package/source/css/_widgets/_post/relatedPost.styl +8 -8
- package/source/css/_widgets/_post/tools.styl +30 -30
- package/source/css/_widgets/_search/algolia-search.styl +18 -18
- package/source/css/_widgets/_search/local-search.styl +22 -22
- package/source/css/_widgets/_tags/button.styl +1 -1
- package/source/css/_widgets/_tags/card.styl +12 -12
- package/source/css/_widgets/_tags/fold.styl +11 -11
- package/source/css/_widgets/_tags/index.styl +26 -26
- package/source/css/_widgets/_tags/link.styl +10 -9
- package/source/css/_widgets/_tags/mermaid.styl +4 -0
- package/source/css/_widgets/_tags/note.styl +2 -2
- package/source/css/_widgets/_tags/tabs.styl +10 -10
- package/source/css/_widgets/_tags/timeline.styl +5 -5
- package/source/img/logo.png +0 -0
- package/source/js/comment/twikoo_commentBarrage.js +1 -1
- package/source/js/comment/waline_commentBarrage.js +1 -1
- package/source/js/covercolor/api.js +18 -18
- package/source/js/covercolor/local.js +18 -18
- package/source/js/main.js +5 -5
- package/source/js/music.js +1 -12
- package/source/js/sco-ai.min.js +1 -1
- package/source/js/search/algolia.js +7 -7
- package/source/js/tw_cn.js +2 -2
- package/source/js/universe.min.js +5 -0
- package/source/js/utils.js +2 -2
- package/source/js/waterfall.min.js +1 -0
package/_config.yml
CHANGED
@@ -1,156 +1,124 @@
|
|
1
|
-
---
|
2
1
|
#---------------------------
|
3
2
|
# Hexo Theme Solitude
|
4
|
-
# Author:
|
5
|
-
# Github: https://github.com/
|
3
|
+
# Author: Valor Team
|
4
|
+
# Github: https://github.com/valor-x/hexo-theme-solitude
|
6
5
|
#
|
7
|
-
# 配置指南: https://docs.
|
6
|
+
# 配置指南: https://solitude-docs.efu.me/
|
8
7
|
# 你可以从指南中获得更详细的说明
|
9
8
|
#
|
10
|
-
# Guide: https://docs.
|
9
|
+
# Guide: https://solitude-docs.efu.me/
|
11
10
|
# You can get more detailed help from the guide
|
11
|
+
#
|
12
|
+
# 赞助:https://afdian.net/a/efu0u0
|
13
|
+
# sponsor: https://afdian.net/a/efu0u0
|
12
14
|
#---------------------------
|
13
15
|
|
14
|
-
# -------------------------
|
15
|
-
# 基本配置
|
16
|
-
# basic settings
|
17
|
-
|
18
16
|
# 站点设置
|
19
17
|
# site settings
|
20
18
|
site:
|
21
|
-
#
|
22
|
-
# Logo area in the top navigation bar
|
19
|
+
# Logo
|
23
20
|
name:
|
24
21
|
# 显示类型 (i_class/text/img)
|
25
22
|
# Display type (i_class/text/img)
|
26
23
|
class: text
|
27
|
-
# 具体内容 例如:
|
28
|
-
# Specific content, for example:
|
24
|
+
# 具体内容 例如:solitude st-logo / Efu / /img/logo.png
|
25
|
+
# Specific content, for example: solitude st-logo / Efu / /img/logo.png
|
29
26
|
custom: Solitude
|
30
27
|
# 网页icon
|
31
28
|
# Web icon
|
32
|
-
siteIcon:
|
29
|
+
siteIcon: /img/logo.png
|
33
30
|
# 页脚的Logo、加载动画默认的logo
|
34
31
|
# Logo in the footer, default logo for loading animation
|
35
|
-
icon:
|
32
|
+
icon: /img/logo.png
|
36
33
|
|
37
34
|
# 导航栏
|
38
|
-
#
|
35
|
+
# NavBar
|
39
36
|
nav:
|
40
|
-
|
41
|
-
#
|
42
|
-
|
43
|
-
#
|
44
|
-
#
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
menu:
|
49
|
-
# 显示分类名
|
50
|
-
# Display category name
|
51
|
-
项目:
|
52
|
-
# # 显示子类
|
53
|
-
# # Display subcategories
|
54
|
-
# Solitude:
|
55
|
-
# # 显示的图标
|
56
|
-
# # Displayed icon
|
57
|
-
# icon: https://bu.dusays.com/2023/11/08/654af68b25bb8.jpg
|
58
|
-
# # 点击的跳转链接
|
59
|
-
# # Click the jump link
|
60
|
-
# url: https://github.com/wleelw/Hexo-Theme-solitude
|
61
|
-
|
62
|
-
# 导航栏内容
|
63
|
-
# Navigation bar content
|
64
|
-
# tip:此部分内容是顶部导航栏中间菜单区域
|
65
|
-
# tip: This part of the content is the menu area in the middle of the top navigation bar
|
37
|
+
# logo 箱子
|
38
|
+
# logo group
|
39
|
+
group:
|
40
|
+
# 项目: # 分类名称
|
41
|
+
# Solitude: https://github.com/valor-x/hexo-theme-solitude || /img/logo.png # 子菜单名称(submenu name): 链接地址(address) || 图标(icon)
|
42
|
+
|
43
|
+
# 中心菜单
|
44
|
+
# center menu
|
66
45
|
menu:
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
#
|
85
|
-
# Button on the right
|
86
|
-
# tip:只需填写true和false即可
|
87
|
-
# tip: Just fill in true and false
|
46
|
+
# 首页: / # 显示名称:路径 / Display name: path
|
47
|
+
# 文库: # 显示名称 / Display name
|
48
|
+
# 文章列表: /archives/ || st-folder-fill # 子菜单名称:路径 || 图标 / Submenu name: path || icon
|
49
|
+
# 全部分类: /categories/ || st-checkbox-multiple-blank-fill
|
50
|
+
# 全部标签: /tags/ || st-price-tag-fill
|
51
|
+
# 友链:
|
52
|
+
# 友链鱼塘: /moments/ || st-wifi-fill
|
53
|
+
# 友情链接: /links/ || st-group-fill
|
54
|
+
# 宝藏博主: javascript:travelling() || st-gift-fill
|
55
|
+
# 我的:
|
56
|
+
# 相册集: /gallery/ || st-image-fill
|
57
|
+
# 装备: /equipment/ || st-laptop-line
|
58
|
+
# 工具箱: /tlink/ || st-tools-fill
|
59
|
+
# 音乐馆: /music/ || st-disc-fill
|
60
|
+
# 关于:
|
61
|
+
# 关于本站: /about/ || st-contacts-fill
|
62
|
+
|
63
|
+
# 右侧按钮
|
64
|
+
# Button on the right
|
88
65
|
right:
|
89
|
-
random: false # 随机文章跳转
|
90
|
-
console: false #控制台
|
91
|
-
#
|
92
|
-
#
|
66
|
+
random: false # 随机文章跳转 / random post button
|
67
|
+
console: false #控制台 / console
|
68
|
+
# 自定义按钮
|
69
|
+
# custom button
|
70
|
+
# 左至右
|
71
|
+
# from left to right
|
93
72
|
custom:
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
73
|
+
# - name: 开往 - 友链接力 # 显示文字 / Displayed text
|
74
|
+
# url: https://www.travellings.cn/go.html # 跳转链接 / Jump link
|
75
|
+
# icon: st-train-line # 图标 / Icon
|
76
|
+
# onclick: # 点击事件 / Click event
|
77
|
+
# id: travellings_button # id
|
99
78
|
|
100
79
|
# 首页顶部样式
|
101
80
|
# Home top style
|
102
81
|
hometop:
|
103
|
-
#
|
104
|
-
#
|
82
|
+
enable: false # 是否打开 / if enable
|
83
|
+
# banner display
|
105
84
|
banner:
|
106
|
-
# 是否开启显示,不开启则顶部只会显示即刻mini(需配置)
|
107
|
-
# Whether to enable display, do not enable the top will only display the mini immediately (need to configure)
|
108
|
-
enable: false # 是否打开顶部banner / Whether to open the top banner
|
109
85
|
# 左上角显示大文字
|
110
86
|
# Large text displayed in the upper left corner
|
111
87
|
# tip:可使用html标签
|
112
|
-
# tip: html tags
|
88
|
+
# tip: html tags be used
|
113
89
|
title: 宁静致远<br>热爱生活
|
114
90
|
# 左上角显示小文字
|
115
91
|
# Small text displayed in the upper left corner
|
116
|
-
url: Hexo
|
92
|
+
url: Hexo Theme Solitude
|
117
93
|
# 轮播icon
|
118
94
|
# Carousel icon
|
95
|
+
# tip: 76x76 size
|
119
96
|
icon:
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
#
|
143
|
-
#
|
144
|
-
#
|
145
|
-
# img: https://npm.elemecdn.com/wleelw-blog-abs@1.0.0/img/icon/vs-logo.svg
|
146
|
-
# color: "#ffffff"
|
147
|
-
|
148
|
-
# banner 左下跳转按钮
|
149
|
-
# Banner lower left jump button
|
150
|
-
group:
|
151
|
-
# 热门: /tags/热门/ || sco-fire-fill || linear-gradient(to right,#f65,#ffbf37)
|
152
|
-
# 教程: /tags/教程/ || sco-book-mark-fill || linear-gradient(to right,#358bff,#15c6ff)
|
153
|
-
# 精选: /tags/精选/ || sco-star-smile-fill || linear-gradient(to right,#18e7ae,#1eebeb)
|
97
|
+
# HTML: # 名字 / Name
|
98
|
+
# img: https://7.isyangs.cn/34/65f2e42921677-34.png # 图片 / Image
|
99
|
+
# color: "#e9572b" # 背景色 / Background color
|
100
|
+
# JS:
|
101
|
+
# img: https://7.isyangs.cn/34/65f2e43ceddda-34.png
|
102
|
+
# color: "#f7cb4f"
|
103
|
+
# Docker:
|
104
|
+
# img: https://7.isyangs.cn/34/65f2e45462045-34.png
|
105
|
+
# color: "#57b6e6"
|
106
|
+
# Flutter:
|
107
|
+
# img: https://7.isyangs.cn/34/65f2e47acbe98-34.png
|
108
|
+
# color: "#ffffff"
|
109
|
+
# WebPack:
|
110
|
+
# img: https://7.isyangs.cn/34/65f2e488bf8ed-34.png
|
111
|
+
# color: "#2e3a41"
|
112
|
+
# Git:
|
113
|
+
# img: https://7.isyangs.cn/34/65f2e499066fa-34.png
|
114
|
+
# color: "#df5b40"
|
115
|
+
|
116
|
+
# 左下跳转按钮
|
117
|
+
# Banner lower left jump button
|
118
|
+
group:
|
119
|
+
# 热门: /tags/热门/ || st-fire-fill || linear-gradient(to right,#f65,#ffbf37)
|
120
|
+
# 教程: /tags/教程/ || st-book-mark-fill || linear-gradient(to right,#358bff,#15c6ff)
|
121
|
+
# 精选: /tags/精选/ || st-star-smile-fill || linear-gradient(to right,#18e7ae,#1eebeb)
|
154
122
|
|
155
123
|
# 右侧置顶列表(在文章的front matter中添加“recommend: true”)
|
156
124
|
# Right top list (add "recommend: true" in the front matter of the article)
|
@@ -160,16 +128,16 @@ hometop:
|
|
160
128
|
sup: 置顶
|
161
129
|
# 左下角大字
|
162
130
|
# Large text in the lower left corner
|
163
|
-
title: Solitude主题文档
|
131
|
+
title: Solitude 主题文档
|
164
132
|
# 点击跳转链接
|
165
133
|
# Click the jump link
|
166
|
-
url: https://docs.
|
134
|
+
url: https://solitude-docs.efu.me/
|
167
135
|
# 显示背景图片
|
168
136
|
# Display background image
|
169
137
|
img: /img/default.png
|
170
138
|
# 阴影颜色
|
171
139
|
# Shadow color
|
172
|
-
color: "
|
140
|
+
color: "none"
|
173
141
|
|
174
142
|
# --------------------------------------
|
175
143
|
# Aside Settings
|
@@ -180,8 +148,6 @@ aside:
|
|
180
148
|
|
181
149
|
# 在主页显示的侧边栏信息
|
182
150
|
# Sidebar information displayed on the homepage
|
183
|
-
# tip:将需要显示的侧边栏模块按照以上的值所述填入
|
184
|
-
# tip: Fill in the sidebar modules that need to be displayed as described above
|
185
151
|
home:
|
186
152
|
# 固定的信息(滑动不跟随)
|
187
153
|
# Fixed information (not followed by sliding)
|
@@ -207,24 +173,19 @@ aside:
|
|
207
173
|
author:
|
208
174
|
# 头像
|
209
175
|
# Avatar
|
210
|
-
img:
|
176
|
+
img: /img/logo.png
|
211
177
|
# 表情图片链接
|
212
178
|
# Emoticon image link
|
213
|
-
# tip:
|
214
|
-
|
215
|
-
sticker: https://bu.dusays.com/2023/12/30/659011053e246.png
|
179
|
+
# tip: 26x26 size
|
180
|
+
sticker: https://7.isyangs.cn/34/65f2e4e0423cc-34.png
|
216
181
|
# 点击作者名称跳转链接
|
217
182
|
# Click the author name to jump link
|
218
183
|
url: /about/
|
219
184
|
# 文案1
|
220
185
|
# label1
|
221
|
-
# tip:可使用html标签
|
222
|
-
# tip: html tags can be used
|
223
186
|
content: 分享自己对编程的<b>热爱</b>,对美好生活的<b>向往</b>,对知识海洋<b>探索历程</b>。
|
224
187
|
# 文案2
|
225
188
|
# label2
|
226
|
-
# tip:可使用html标签
|
227
|
-
# tip: html tags can be used
|
228
189
|
content2: 相信你可以在这里找到对你有用的知识和教程。
|
229
190
|
# 个人信息卡片底部的小图标,按照例子填写
|
230
191
|
# Small icons at the bottom of the personal information card, fill in according to the example
|
@@ -250,8 +211,8 @@ aside:
|
|
250
211
|
- 🎮 电竞游戏爱好者
|
251
212
|
# 个人信息卡片底部的小图标,按照例子填写
|
252
213
|
information:
|
253
|
-
# Github: https://github.com/
|
254
|
-
# Bilibili: https://space.bilibili.com/1329819902 ||
|
214
|
+
# Github: https://github.com/efuo || st-github-line # 名称:链接 || 图标 / Name: link || icon
|
215
|
+
# Bilibili: https://space.bilibili.com/1329819902 || st-bilibili-line
|
255
216
|
|
256
217
|
# 二维码
|
257
218
|
# Official account QR code
|
@@ -265,9 +226,9 @@ aside:
|
|
265
226
|
# 鼠标悬停翻转图片
|
266
227
|
# Mouse hover flip image
|
267
228
|
backface:
|
268
|
-
#
|
269
|
-
#
|
270
|
-
|
229
|
+
# 背景色:var(--efu-blue) / #000 / rgba(0,0,0,0.5) / linear-gradient(to right,#f65,#ffbf37)
|
230
|
+
# Background color: var(--efu-blue) / #000 / rgba(0,0,0,0.5) / linear-gradient(to right,#f65,#ffbf37)
|
231
|
+
backcolor: "var(--efu-blue)"
|
271
232
|
|
272
233
|
# 页面目录
|
273
234
|
# Page directory
|
@@ -297,14 +258,14 @@ aside:
|
|
297
258
|
# 高亮显示标签列表
|
298
259
|
# Highlighted tag list
|
299
260
|
list:
|
300
|
-
- "Solitude
|
261
|
+
# - "Solitude"
|
301
262
|
|
302
263
|
# 侧边栏归档
|
303
264
|
# aside archive
|
304
265
|
archive:
|
305
266
|
enable: false
|
306
267
|
# 显示类型
|
307
|
-
type: "month" #
|
268
|
+
type: "month" # month: 按月 / year: 按年 : month: by month / year: by year
|
308
269
|
|
309
270
|
# 建站信息
|
310
271
|
# Website information
|
@@ -313,13 +274,13 @@ aside:
|
|
313
274
|
# Number of articles
|
314
275
|
postcount: true
|
315
276
|
# 总字数
|
316
|
-
#
|
277
|
+
# The number of words on the web site
|
317
278
|
wordcount: true
|
318
279
|
# 访问量
|
319
|
-
#
|
280
|
+
# PV
|
320
281
|
pv: true
|
321
282
|
# 访客数
|
322
|
-
#
|
283
|
+
# UV
|
323
284
|
uv: true
|
324
285
|
# 最后更新日期
|
325
286
|
# Last update date
|
@@ -331,10 +292,6 @@ aside:
|
|
331
292
|
# Format: yyyy-MM-dd hh-mm-ss
|
332
293
|
runtime: "2023-04-20 00:00:00"
|
333
294
|
|
334
|
-
# -------------------------
|
335
|
-
# 文章页、页面配置
|
336
|
-
# post、page settings
|
337
|
-
|
338
295
|
# 页面默认设置
|
339
296
|
# page default settings
|
340
297
|
page:
|
@@ -344,10 +301,8 @@ page:
|
|
344
301
|
default: # 默认值 / Default value
|
345
302
|
# 默认图片
|
346
303
|
# default cover
|
347
|
-
# tip:随机数组图片,每次生成的时候都会从中随机抽取一张
|
348
|
-
# tip: Random array pictures, each time you generate, you will randomly extract one from them
|
349
304
|
cover:
|
350
|
-
- /img/default.png # 默认图片 / default cover
|
305
|
+
# - /img/default.png # 默认图片 / default cover
|
351
306
|
|
352
307
|
# 文章页默认设置
|
353
308
|
# post default settings
|
@@ -356,7 +311,7 @@ post:
|
|
356
311
|
# 文章默认图片
|
357
312
|
# default cover
|
358
313
|
cover:
|
359
|
-
- /img/default.png # 默认图片 / default cover
|
314
|
+
# - /img/default.png # 默认图片 / default cover
|
360
315
|
# 文章发布默认地址
|
361
316
|
# default post locate
|
362
317
|
locate: 衡阳
|
@@ -370,7 +325,7 @@ post:
|
|
370
325
|
# Whether to use the shift animation avatar
|
371
326
|
author:
|
372
327
|
enable: false
|
373
|
-
author_back: https://
|
328
|
+
author_back: https://7.isyangs.cn/34/65f2e52b2d91e-34.png # 底部头像背景 / Bottom avatar background
|
374
329
|
# 顶部文章简介
|
375
330
|
# Top article introduction
|
376
331
|
meta:
|
@@ -387,10 +342,10 @@ post:
|
|
387
342
|
enable: false
|
388
343
|
# 微信收款码
|
389
344
|
# WeChat payment code
|
390
|
-
wechat: https://
|
345
|
+
wechat: https://7.isyangs.cn/34/65f2e5814db1a-34.png
|
391
346
|
# 支付宝收款码
|
392
347
|
# Alipay payment code
|
393
|
-
alipay: https://
|
348
|
+
alipay: https://7.isyangs.cn/34/65f2e5a6d2ef5-34.png
|
394
349
|
# 打赏统计页面链接
|
395
350
|
# Reward statistics page link
|
396
351
|
url: /about
|
@@ -402,7 +357,7 @@ post:
|
|
402
357
|
covercolor:
|
403
358
|
enable: false
|
404
359
|
mode: local # local:本地取色 / api:img2color取色 : local: local color / api: img2color color
|
405
|
-
api: https://
|
360
|
+
api: https://api.qjqq.cn/api/Imgcolor?img= # api地址 / api address
|
406
361
|
time: 43200000 # api取色间隔(毫秒),默认为12小时 / api color interval (milliseconds), default is 12 hours
|
407
362
|
|
408
363
|
# -------------------------
|
@@ -434,6 +389,7 @@ display_mode:
|
|
434
389
|
|
435
390
|
# 文章底部推荐文章
|
436
391
|
# Recommended articles at the bottom of the article
|
392
|
+
# --------------------------------------
|
437
393
|
related_post:
|
438
394
|
enable: false
|
439
395
|
# 推荐文章数量
|
@@ -443,10 +399,6 @@ related_post:
|
|
443
399
|
# According to the creation date (created) or the update date (updated)
|
444
400
|
date_type: created
|
445
401
|
|
446
|
-
# -------------------------
|
447
|
-
# 扩展配置
|
448
|
-
# extend settings
|
449
|
-
|
450
402
|
# --------------------------------------
|
451
403
|
# Footer Settings
|
452
404
|
# 页脚配置
|
@@ -455,42 +407,39 @@ footer:
|
|
455
407
|
# Bottom row of icons
|
456
408
|
information:
|
457
409
|
left: # 左侧显示图标
|
458
|
-
# Github: https://github.com/
|
459
|
-
# Mail: mailto:
|
410
|
+
# Github: https://github.com/efuo || st-github-line # 名称:链接 || 图标 / Name: link || icon
|
411
|
+
# Mail: mailto:o@efu.me || st-mail-line
|
460
412
|
right: # 右侧显示图标
|
461
|
-
# Bilibili: https://space.bilibili.com/1329819902 ||
|
462
|
-
# 抖音: https://v.douyin.com/iJsLc8jt/ ||
|
413
|
+
# Bilibili: https://space.bilibili.com/1329819902 || st-bilibili-line
|
414
|
+
# 抖音: https://v.douyin.com/iJsLc8jt/ || st-douyin-fill
|
463
415
|
|
464
416
|
# 底部导航栏
|
465
417
|
# Bottom navigation bar
|
466
418
|
group:
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
#
|
483
|
-
# Random links at
|
484
|
-
# tip:此处的友链是随机显示的,不是固定的
|
485
|
-
# tip: The links here are displayed randomly, not fixed
|
419
|
+
# 导航:
|
420
|
+
# 归档: /archives/
|
421
|
+
# 分类: /categories/
|
422
|
+
# 标签: /tags/
|
423
|
+
# 服务:
|
424
|
+
# 阿里云: https://aliyun.com/
|
425
|
+
# 51la统计: https://v6.51.la/
|
426
|
+
# 百度统计: https://tongji.baidu.com/
|
427
|
+
# 支持:
|
428
|
+
# 打赏记录: /about/
|
429
|
+
# 协议:
|
430
|
+
# Cookies: /cookies/
|
431
|
+
# 用户协议: /privacy/
|
432
|
+
# 版权协议: /copyright/
|
433
|
+
|
434
|
+
# 页脚随机友链
|
435
|
+
# Random links at footer
|
486
436
|
# warning: 打开前必须先配置links
|
487
437
|
# warning: links must be configured before opening
|
488
438
|
randomlink: false
|
489
439
|
# 隐私助手右侧弹窗,填写路径后开启
|
490
440
|
# Privacy assistant right pop-up window, fill in the path to open
|
491
441
|
privacy: # /privacy/
|
492
|
-
# 版权
|
493
|
-
# Copyright
|
442
|
+
# 版权(Copyright)
|
494
443
|
license: # /license/
|
495
444
|
# 页脚右侧链接,例如:ICP备案号、公安备案号等
|
496
445
|
# Footer right link, such as: ICP filing number, public security filing number, etc.
|
@@ -498,20 +447,15 @@ footer:
|
|
498
447
|
# 为了主题能够得到更多的支持,建议保留主题链接
|
499
448
|
# In order for the theme to get more support, it is recommended to keep the theme link
|
500
449
|
- name: 主题
|
501
|
-
url: https://github.com/
|
502
|
-
#
|
503
|
-
#
|
450
|
+
url: https://github.com/valor-x/hexo-theme-solitude
|
451
|
+
# - name: 订阅
|
452
|
+
# url: /atom.xml
|
504
453
|
|
505
|
-
#
|
506
|
-
# 扩展页面配置
|
507
|
-
# extra page settings
|
508
|
-
|
509
|
-
# 404 页面
|
510
|
-
# 404 page
|
454
|
+
# 404 页面(404 page)
|
511
455
|
errorpage:
|
512
456
|
# 图片
|
513
457
|
# image
|
514
|
-
img: https://
|
458
|
+
img: https://7.isyangs.cn/34/65f2e65eae32a-34.png
|
515
459
|
# 文字
|
516
460
|
# text
|
517
461
|
text: =awa= 页面走丢了
|
@@ -519,22 +463,20 @@ errorpage:
|
|
519
463
|
# Recommended article list
|
520
464
|
recommendList: true
|
521
465
|
|
522
|
-
#
|
523
|
-
#
|
524
|
-
#
|
525
|
-
# Pre-requirements:
|
526
|
-
# 开启后将显示即刻页面
|
527
|
-
# After opening, the Jike page will be displayed
|
466
|
+
# 即刻短文
|
467
|
+
# talk now
|
468
|
+
# 前置要求:需配置即刻短文页面
|
469
|
+
# Pre-requirements: talk now page needs to be configured
|
528
470
|
says:
|
529
471
|
enable: false
|
530
472
|
# 主页的即刻轮播条
|
531
|
-
#
|
473
|
+
# Talk carousel bar on the homepage
|
532
474
|
home_mini: false
|
533
475
|
# 1:张洪heo样式 / 2:Leonus样式
|
534
476
|
# 1: Zhang Hong heo style / 2: Leonus style
|
535
477
|
style: 1
|
536
478
|
# 即刻短文仅展示前n条
|
537
|
-
#
|
479
|
+
# Talk short text only shows the first n
|
538
480
|
strip: 30
|
539
481
|
|
540
482
|
# -------------------------
|
@@ -542,7 +484,7 @@ says:
|
|
542
484
|
# meeting-api, used for music capsules and music halls in the interface, can customize api, do not move if you don't know.
|
543
485
|
meting_api: "https://meting.qjqq.cn/?server=:server&type=:type&id=:id&auth=:auth&r=:r" #自定义api
|
544
486
|
# 音乐馆页
|
545
|
-
# music
|
487
|
+
# music page
|
546
488
|
music:
|
547
489
|
enable: false
|
548
490
|
# 音乐ID:歌单ID / 专辑ID / 歌手ID
|
@@ -564,25 +506,41 @@ music:
|
|
564
506
|
# 音乐胶囊
|
565
507
|
# capsule music
|
566
508
|
capsule:
|
567
|
-
enable:
|
568
|
-
|
569
|
-
|
570
|
-
|
509
|
+
enable:
|
510
|
+
false
|
511
|
+
# 歌单id / playlist id
|
512
|
+
id: 8407304077
|
513
|
+
# 播放列表的服务商。netease:网易云 / tencent:腾讯 / kugou:酷狗 / xiami:小米 / baidu:百度
|
514
|
+
# Music service provider. netease: Netease Cloud / tencent: Tencent / kugou: Kugou / xiaomi: Xiaomi / baidu: Baidu
|
515
|
+
server: netease
|
516
|
+
# 播放列表的类型。song:单曲 / playlist:歌单 / album:专辑 / artist:歌手
|
517
|
+
# Type of playlist. song: Single / playlist: Playlist / album: Album / artist: Singer
|
518
|
+
type: playlist
|
571
519
|
|
572
520
|
# 友链鱼塘
|
573
521
|
# Links fish pond
|
574
522
|
moments:
|
575
|
-
|
576
|
-
|
577
|
-
|
578
|
-
|
579
|
-
|
580
|
-
|
581
|
-
|
582
|
-
|
583
|
-
|
584
|
-
|
585
|
-
|
523
|
+
# enable
|
524
|
+
enable: false
|
525
|
+
# API 地址
|
526
|
+
# example: https://example.com/
|
527
|
+
api: # https://example.com/
|
528
|
+
# 加载失败显示图片 / Loading failed display image
|
529
|
+
error_img: /img/logo.png
|
530
|
+
# 排序规则:created:按创建时间排序 / updated:按更新时间排序
|
531
|
+
# Sort rule: created: Sort by creation time / updated: Sort by update time
|
532
|
+
sort_rule: created
|
533
|
+
# 缓存过期时间(天),默认为1天 / Cache expiration time (days), default is 1 day
|
534
|
+
expire_days: 1
|
535
|
+
# 页面初始化加载数量,默认为10条 / Page initialization loading quantity, default is 10
|
536
|
+
page_init_number: 10
|
537
|
+
# 页面翻页加载数量,默认为5条 / Page turning loading quantity, default is 5
|
538
|
+
page_turning_number: 5
|
539
|
+
# 鱼塘随机文章 / Fish pond random article
|
540
|
+
angle: false
|
541
|
+
appjs: https://cdn.cbd.int/st-source@1.0.3/js/fcircle.min.js
|
542
|
+
bundlejs: https://cdn.cbd.int/st-source/js/moment/bundle.min.js
|
543
|
+
randompostjs: https://cdn.cbd.int/st-source/js/moment/random_post.min.js
|
586
544
|
|
587
545
|
# 相册
|
588
546
|
# album
|
@@ -597,16 +555,12 @@ keyboard:
|
|
597
555
|
# 键盘控制配置
|
598
556
|
# Keyboard control configuration
|
599
557
|
list:
|
600
|
-
# name: 按键名称
|
601
|
-
#
|
602
|
-
#
|
603
|
-
#
|
604
|
-
#
|
605
|
-
#
|
606
|
-
# sco: sco内置方法
|
607
|
-
# sco: sco built-in method
|
608
|
-
# url: 跳转链接
|
609
|
-
# url: Jump link
|
558
|
+
# name: 按键名称(name)
|
559
|
+
# key: 按键(Key)
|
560
|
+
# func: 方法(function)
|
561
|
+
# sco: sco内置方法(sco.'function')
|
562
|
+
# url: 跳转链接(link)
|
563
|
+
# ------------------
|
610
564
|
# - name: 关闭快捷键功能
|
611
565
|
# key: K
|
612
566
|
# func: keyboard
|
@@ -662,14 +616,16 @@ hightlight:
|
|
662
616
|
# warning:开启前下方的fancybox或mediumZoom必须打开一个
|
663
617
|
# warning: One of the fancybox or mediumZoom below must be turned on before turning on
|
664
618
|
lightbox: false
|
665
|
-
|
666
619
|
# fancybox
|
667
620
|
# https://fancyapps.com/fancybox/
|
668
621
|
fancybox: false
|
669
|
-
|
670
622
|
# mediumZoom
|
671
623
|
mediumZoom: false
|
672
624
|
|
625
|
+
# mermaid
|
626
|
+
# https://mermaid.js.org/
|
627
|
+
mermaid: false
|
628
|
+
|
673
629
|
# 简繁转换
|
674
630
|
# Simplified and Traditional Chinese conversion
|
675
631
|
translate:
|
@@ -717,8 +673,8 @@ search:
|
|
717
673
|
# - Solitude
|
718
674
|
# - Hexo
|
719
675
|
algolia:
|
720
|
-
|
721
|
-
|
676
|
+
# hits:
|
677
|
+
# per_page: 6
|
722
678
|
local:
|
723
679
|
preload: false
|
724
680
|
CDN:
|
@@ -741,19 +697,20 @@ post_ai:
|
|
741
697
|
key:
|
742
698
|
# 自介
|
743
699
|
# talk
|
744
|
-
talk:
|
700
|
+
talk: 我是 Efu 开发的摘要生成助理EfuGPT,EfuGPT在静态部署时进行摘要的撰写,并且在访客访问时通过EfuCorrection转译后的文本摘要实现工具。我在这里只负责已经生成的摘要显示,你无法与我直接沟通,但我可以回答一些预设的问题。
|
745
701
|
# 随机文章按钮
|
746
702
|
# Random post button
|
747
703
|
randomPost: false
|
748
704
|
# 举报链接,不填不显示
|
749
705
|
# Report link, do not fill in and do not display
|
750
|
-
report: https://
|
706
|
+
report: https://efu.me/
|
751
707
|
# 底部提示
|
752
708
|
# Bottom tip
|
753
709
|
tips: 此内容根据文章生成,并经过人工审核,仅用于文章内容的解释与总结
|
754
710
|
|
755
711
|
# latex 公式支持
|
756
712
|
# latex formula support
|
713
|
+
# docs: https://solitude-docs.efu.me/configuration/extra#数学公式
|
757
714
|
katex:
|
758
715
|
enable: false
|
759
716
|
per_page: false # 是否在每页都加载 / Whether to load on each page
|
@@ -794,10 +751,10 @@ comment:
|
|
794
751
|
# 仅需要填写验证代码即可,譬如:codeva-KReTIJu5us
|
795
752
|
# Only need to fill in the verification code, such as: codeva-KReTIJu5us
|
796
753
|
verify_site:
|
797
|
-
#
|
798
|
-
#
|
799
|
-
#
|
800
|
-
#
|
754
|
+
# - name: google-site-verification
|
755
|
+
# content: xxxxxx
|
756
|
+
# - name: baidu-site-verification
|
757
|
+
# content: xxxxxxx
|
801
758
|
|
802
759
|
# CSS 前缀
|
803
760
|
# CSS prefix
|
@@ -813,20 +770,36 @@ css_prefix: false
|
|
813
770
|
# Insert additional code such as: statistics, advertising, etc.
|
814
771
|
extends:
|
815
772
|
head: # 在head中插入 / Insert in head
|
816
|
-
|
773
|
+
# - <script src="https://cdn.bootcdn.net/ajax/libs/pace/1.2.4/pace.min.js"></script>
|
817
774
|
body: # 在body中插入 / Insert in body
|
818
775
|
|
819
776
|
# PWA
|
820
777
|
# https://developer.mozilla.org/zh-CN/docs/Web/Progressive_web_apps
|
778
|
+
# docs: https://solitude-docs.efu.me/configuration/extra#pwa
|
821
779
|
pwa:
|
822
780
|
enable: false
|
823
781
|
manifest: /manifest.json # manifest.json 文件路径
|
824
|
-
theme_color: "#
|
825
|
-
mask_icon:
|
826
|
-
apple_touch_icon:
|
827
|
-
bookmark_icon:
|
828
|
-
favicon_32_32:
|
829
|
-
favicon_16_16:
|
782
|
+
theme_color: "#006a73" # 主题颜色
|
783
|
+
mask_icon: /img/logo.png # 遮罩图标
|
784
|
+
apple_touch_icon: /img/logo.png # 苹果触摸图标
|
785
|
+
bookmark_icon: /img/logo.png # 书签图标
|
786
|
+
favicon_32_32: /img/logo.png # 32x32图标
|
787
|
+
favicon_16_16: /img/logo.png # 16x16图标
|
788
|
+
|
789
|
+
# 谷歌广告 (Google Adsense)
|
790
|
+
google_adsense:
|
791
|
+
enable: false
|
792
|
+
auto_ads: false # 自动广告关闭后则为手动广告 / After auto ads are turned off, it is manual ads
|
793
|
+
enable_page_level_ads: true # 页面级广告 / Page-level ads
|
794
|
+
js: https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js # 谷歌广告js / Google Adsense js
|
795
|
+
# client id
|
796
|
+
# 无论是否开启自动广告,都需要填写 client id
|
797
|
+
# Whether to enable auto ads or not, you need to fill in the client id
|
798
|
+
client: # ca-pub-XXXXXXXXXXXXXX
|
799
|
+
# slot id
|
800
|
+
# 只有关闭自动广告时才需要填写 slot id,可以在谷歌广告后台 按广告单元中创建广告位后获取
|
801
|
+
# 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
|
802
|
+
slot: # 4236388782
|
830
803
|
|
831
804
|
# CDN
|
832
805
|
# Don't modify the following settings unless you know how they work
|
@@ -844,31 +817,29 @@ CDN:
|
|
844
817
|
version: true
|
845
818
|
|
846
819
|
# Custom format
|
847
|
-
# For example: https://cdn.staticfile.
|
848
|
-
custom_format: https://cdn.staticfile.
|
820
|
+
# For example: https://cdn.staticfile.net/${cdnjs_name}/${version}/${min_cdnjs_file}
|
821
|
+
custom_format: https://cdn.staticfile.net/${cdnjs_name}/${version}/${min_cdnjs_file}
|
849
822
|
|
850
823
|
option:
|
851
|
-
|
852
|
-
|
853
|
-
|
854
|
-
|
855
|
-
|
856
|
-
|
857
|
-
|
858
|
-
|
859
|
-
|
860
|
-
|
861
|
-
|
862
|
-
|
863
|
-
|
864
|
-
|
865
|
-
|
866
|
-
|
867
|
-
|
868
|
-
|
869
|
-
|
870
|
-
|
871
|
-
|
872
|
-
|
873
|
-
# snackbar_css:
|
874
|
-
# snackbar_js:
|
824
|
+
solitude_css: https://cdn2.codesign.qq.com/icons/7pOrz0WXB5ZWJPX/latest/iconfont.css
|
825
|
+
# algolia_search:
|
826
|
+
# instantsearch:
|
827
|
+
# pjax:
|
828
|
+
# twikoo:
|
829
|
+
# waline_js:
|
830
|
+
# waline_css:
|
831
|
+
# sharejs:
|
832
|
+
# sharejs_css:
|
833
|
+
# katex:
|
834
|
+
# katex_copytex:
|
835
|
+
# lazyload:
|
836
|
+
# aplayer_css:
|
837
|
+
# aplayer_js:
|
838
|
+
# meting_js:
|
839
|
+
# pace_js:
|
840
|
+
# lunr_js:
|
841
|
+
# swiper_css:
|
842
|
+
# swiper_js:
|
843
|
+
# busuanzi_js:
|
844
|
+
# snackbar_css:
|
845
|
+
# snackbar_js:
|