hexo-theme-shokax 0.0.2-alpha2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- package/CODE_OF_CONDUCT.md +128 -0
- package/CONTRIBUTING.md +56 -0
- package/LICENSE +28 -28
- package/LICENSE-shoka +21 -21
- package/README.md +46 -55
- package/README_en.MD +25 -0
- package/_config.yml +392 -355
- package/_images.yml +100 -100
- package/languages/README.md +19 -19
- package/languages/default.yml +1 -1
- package/languages/en.yml +151 -151
- package/languages/ja.yml +146 -146
- package/languages/zh-CN.yml +154 -154
- package/languages/zh-HK.yml +146 -146
- package/languages/zh-TW.yml +146 -146
- package/layout/_alternate/atom.ejs +30 -30
- package/layout/_alternate/json.ejs +16 -16
- package/layout/_alternate/rss.ejs +34 -34
- package/layout/_mixin/breadcrumb.pug +33 -33
- package/layout/_mixin/card.pug +37 -37
- package/layout/_mixin/comment.pug +66 -12
- package/layout/_mixin/postmeta.pug +30 -30
- package/layout/_mixin/segment.pug +32 -32
- package/layout/_mixin/sidebar.pug +36 -36
- package/layout/_mixin/widgets.pug +31 -29
- package/layout/_partials/footer.pug +40 -40
- package/layout/_partials/head/head.pug +56 -58
- package/layout/_partials/head/head_com.pug +17 -17
- package/layout/_partials/head/pwa.pug +18 -18
- package/layout/_partials/header.pug +18 -18
- package/layout/_partials/layout.pug +143 -153
- package/layout/_partials/loading.pug +13 -13
- package/layout/_partials/pagination.pug +4 -4
- package/layout/_partials/post/copyright.pug +20 -20
- package/layout/_partials/post/footer.pug +14 -14
- package/layout/_partials/post/nav.pug +13 -13
- package/layout/_partials/post/post.pug +28 -28
- package/layout/_partials/post/reward.pug +18 -18
- package/layout/_partials/sidebar/menu.pug +37 -37
- package/layout/_partials/sidebar/overview.pug +41 -42
- package/layout/_partials/third-party/baidu-analytics.pug +11 -11
- package/layout/_partials/third-party/clarity.pug +8 -8
- package/layout/archive.pug +118 -118
- package/layout/category.pug +63 -63
- package/layout/index.pug +33 -33
- package/layout/page.pug +56 -56
- package/layout/post.pug +35 -35
- package/layout/tag.pug +43 -43
- package/package.json +35 -35
- package/scripts/filters/locals.js +59 -59
- package/scripts/filters/post.js +23 -23
- package/scripts/generaters/archive.js +141 -141
- package/scripts/generaters/config.js +43 -43
- package/scripts/generaters/images.js +26 -26
- package/scripts/generaters/index.js +110 -110
- package/scripts/generaters/pages.js +19 -19
- package/scripts/generaters/script.js +89 -89
- package/scripts/helpers/asset.js +183 -237
- package/scripts/helpers/engine.js +190 -190
- package/scripts/helpers/list_categories.js +140 -140
- package/scripts/helpers/symbols_count_time.js +76 -76
- package/scripts/plugin/index.js +6 -6
- package/scripts/plugin/lib/injects-point.js +19 -19
- package/scripts/plugin/lib/injects.js +89 -88
- package/scripts/tags/links.js +86 -86
- package/scripts/tags/media.js +19 -19
- package/source/assets/algolia_logo.svg +9 -9
- package/source/assets/logo.svg +16 -16
- package/source/css/_colors.styl +207 -207
- package/source/css/_common/components/components.styl +6 -6
- package/source/css/_common/components/highlight/highlight.styl +353 -353
- package/source/css/_common/components/highlight/operation.styl +21 -21
- package/source/css/_common/components/pages/collapse.styl +119 -119
- package/source/css/_common/components/pages/home.styl +385 -385
- package/source/css/_common/components/pages/pages.styl +56 -56
- package/source/css/_common/components/pages/tag-cloud.styl +12 -12
- package/source/css/_common/components/post/breadcrumb.styl +39 -39
- package/source/css/_common/components/post/copyright.styl +41 -41
- package/source/css/_common/components/post/expand.styl +264 -264
- package/source/css/_common/components/post/footer.styl +11 -11
- package/source/css/_common/components/post/header.styl +79 -79
- package/source/css/_common/components/post/nav.styl +63 -63
- package/source/css/_common/components/post/post.styl +29 -29
- package/source/css/_common/components/post/reward.styl +50 -50
- package/source/css/_common/components/post/rtl.styl +12 -12
- package/source/css/_common/components/post/tags.styl +39 -39
- package/source/css/_common/components/tags/collapse.styl +72 -72
- package/source/css/_common/components/tags/container.styl +49 -49
- package/source/css/_common/components/tags/label.styl +12 -12
- package/source/css/_common/components/tags/links.styl +77 -77
- package/source/css/_common/components/tags/list.styl +131 -131
- package/source/css/_common/components/tags/note.styl +70 -70
- package/source/css/_common/components/tags/player.styl +361 -361
- package/source/css/_common/components/tags/quiz.styl +200 -200
- package/source/css/_common/components/tags/tabs.styl +83 -83
- package/source/css/_common/components/tags/tags.styl +9 -9
- package/source/css/_common/components/third-party/loading.styl +222 -222
- package/source/css/_common/components/third-party/mermaid/class.styl +90 -90
- package/source/css/_common/components/third-party/mermaid/flowchart.styl +72 -72
- package/source/css/_common/components/third-party/mermaid/gantt.styl +251 -251
- package/source/css/_common/components/third-party/mermaid/git.styl +7 -7
- package/source/css/_common/components/third-party/mermaid/mermaid.styl +37 -37
- package/source/css/_common/components/third-party/mermaid/pie.styl +9 -9
- package/source/css/_common/components/third-party/mermaid/sequence.styl +95 -95
- package/source/css/_common/components/third-party/mermaid/state.styl +130 -130
- package/source/css/_common/components/third-party/pace.styl +18 -18
- package/source/css/_common/components/third-party/search.styl +167 -167
- package/source/css/_common/components/third-party/theme.styl +151 -151
- package/source/css/_common/components/third-party/third-party.styl +22 -22
- package/source/css/_common/components/third-party/valine.styl +548 -548
- package/source/css/_common/components/third-party/widgets.styl +57 -57
- package/source/css/_common/outline/footer/footer.styl +69 -69
- package/source/css/_common/outline/header/brand.styl +77 -77
- package/source/css/_common/outline/header/header.styl +20 -20
- package/source/css/_common/outline/header/image.styl +79 -79
- package/source/css/_common/outline/header/menu.styl +117 -117
- package/source/css/_common/outline/header/nav.styl +81 -81
- package/source/css/_common/outline/header/right.styl +15 -15
- package/source/css/_common/outline/header/tool.styl +207 -207
- package/source/css/_common/outline/header/waves.styl +50 -50
- package/source/css/_common/outline/mobile.styl +46 -46
- package/source/css/_common/outline/outline.styl +78 -78
- package/source/css/_common/outline/sidebar/author.styl +59 -59
- package/source/css/_common/outline/sidebar/dimmer.styl +23 -23
- package/source/css/_common/outline/sidebar/menu.styl +63 -63
- package/source/css/_common/outline/sidebar/quick.styl +43 -43
- package/source/css/_common/outline/sidebar/related.styl +56 -56
- package/source/css/_common/outline/sidebar/sidebar.styl +75 -75
- package/source/css/_common/outline/sidebar/social.styl +69 -69
- package/source/css/_common/outline/sidebar/state.styl +37 -37
- package/source/css/_common/outline/sidebar/tab.styl +71 -71
- package/source/css/_common/outline/sidebar/toc.styl +47 -47
- package/source/css/_common/scaffolding/animate.styl +318 -318
- package/source/css/_common/scaffolding/base.styl +172 -172
- package/source/css/_common/scaffolding/buttons.styl +48 -48
- package/source/css/_common/scaffolding/divider.styl +36 -36
- package/source/css/_common/scaffolding/iconfont.styl +443 -443
- package/source/css/_common/scaffolding/normalize.styl +289 -289
- package/source/css/_common/scaffolding/pagination.styl +81 -81
- package/source/css/_common/scaffolding/ribbon.styl +38 -38
- package/source/css/_common/scaffolding/scaffolding.styl +14 -14
- package/source/css/_common/scaffolding/scrollbar.styl +37 -37
- package/source/css/_common/scaffolding/tables.styl +50 -50
- package/source/css/_common/scaffolding/tip.styl +19 -19
- package/source/css/_common/scaffolding/toggles.styl +59 -59
- package/source/css/_iconfont.styl +451 -451
- package/source/css/_mixins.styl +146 -146
- package/source/css/_variables.styl +89 -89
- package/source/css/app.styl +36 -36
- package/source/css/comment.styl +5 -5
- package/source/css/mermaid.styl +5 -5
- package/source/js/_app/components.js +330 -330
- package/source/js/_app/global.js +317 -317
- package/source/js/_app/library.js +302 -302
- package/source/js/_app/page.js +623 -623
- package/source/js/_app/player.js +748 -748
- package/source/js/_app/vue.js +43 -43
package/_config.yml
CHANGED
@@ -1,355 +1,392 @@
|
|
1
|
-
alternate: testName # 站点大标题
|
2
|
-
|
3
|
-
statics: "/" # 静态文件根目录
|
4
|
-
assets: "assets"
|
5
|
-
css: "css"
|
6
|
-
js: "js"
|
7
|
-
|
8
|
-
open_graph:
|
9
|
-
#twitter_id:
|
10
|
-
#google_plus:
|
11
|
-
#fb_admins:
|
12
|
-
#fb_app_id:
|
13
|
-
|
14
|
-
|
15
|
-
grayMode: false # 全站黑白滤镜
|
16
|
-
# 请注意: 本主题的PWA功能只是一个装载器,需要自备js和manifest
|
17
|
-
# 图片可通过https://lp-pwa.gitee.io/pwa-genicon/生成
|
18
|
-
pwa:
|
19
|
-
enable:
|
20
|
-
serviceworker: sw.js #serviceworker脚本位置,使用以/为基准的绝对路径
|
21
|
-
manifest: manifest.json #manifest位置,使用以/为基准的绝对路径
|
22
|
-
|
23
|
-
# 实验性特性
|
24
|
-
experiments:
|
25
|
-
noPlayer: false # 禁用音乐播放器
|
26
|
-
gradient: false # 使用CSS渐变作为文章封面
|
27
|
-
gradientCover: "" # 当gradient为true时使用的主页面cover(为空则使用bing随机图片)
|
28
|
-
debug: false # 使用debug模式启动
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
- "rgba(
|
62
|
-
- "rgba(
|
63
|
-
- "rgba(
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
#
|
69
|
-
|
70
|
-
#
|
71
|
-
|
72
|
-
#
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
#
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
twikoo
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
waline
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
#
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
#
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
#
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
#
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
#
|
260
|
-
|
261
|
-
|
262
|
-
#
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
1
|
+
alternate: testName # 站点大标题
|
2
|
+
|
3
|
+
statics: "/" # 静态文件根目录
|
4
|
+
assets: "assets"
|
5
|
+
css: "css"
|
6
|
+
js: "js"
|
7
|
+
|
8
|
+
open_graph:
|
9
|
+
#twitter_id:
|
10
|
+
#google_plus:
|
11
|
+
#fb_admins:
|
12
|
+
#fb_app_id:
|
13
|
+
|
14
|
+
|
15
|
+
grayMode: false # 全站黑白滤镜
|
16
|
+
# 请注意: 本主题的PWA功能只是一个装载器,需要自备js和manifest
|
17
|
+
# 图片可通过https://lp-pwa.gitee.io/pwa-genicon/生成
|
18
|
+
pwa:
|
19
|
+
enable: false # 开启PWA功能
|
20
|
+
serviceworker: sw.js #serviceworker脚本位置,使用以/为基准的绝对路径
|
21
|
+
manifest: manifest.json #manifest位置,使用以/为基准的绝对路径
|
22
|
+
|
23
|
+
# 实验性特性
|
24
|
+
experiments:
|
25
|
+
noPlayer: false # 禁用音乐播放器
|
26
|
+
gradient: false # 使用CSS渐变作为文章封面
|
27
|
+
gradientCover: "" # 当gradient为true时使用的主页面cover(为空则使用bing随机图片)
|
28
|
+
debug: false # 使用debug模式启动
|
29
|
+
disableThemeComment: false # 禁用主题评论系统(一般用于关闭评论或让插件接管评论系统)
|
30
|
+
|
31
|
+
icon:
|
32
|
+
favicon: "/favicon.ico"
|
33
|
+
apple_touch_icon: "/apple-touch-icon.png"
|
34
|
+
|
35
|
+
seo:
|
36
|
+
bing: "bing-key"
|
37
|
+
google: "google-key"
|
38
|
+
yandex: "yandex-key"
|
39
|
+
baidu: "baidu-key"
|
40
|
+
|
41
|
+
visitor:
|
42
|
+
clarity: false
|
43
|
+
baiduAnalytics: false
|
44
|
+
|
45
|
+
darkmode: false
|
46
|
+
auto_dark: # 自动亮/暗模式
|
47
|
+
enable: true #是否开启
|
48
|
+
start: 20 #开始时间
|
49
|
+
end: 7 #结束时间
|
50
|
+
|
51
|
+
auto_scroll: true
|
52
|
+
|
53
|
+
loader:
|
54
|
+
start: true # 进入页面时显示加载动画
|
55
|
+
switch: false # 切换页面时显示加载动画
|
56
|
+
|
57
|
+
# 显示的动画(烟花)
|
58
|
+
fireworks:
|
59
|
+
enable: true
|
60
|
+
color:
|
61
|
+
- "rgba(255,182,185,.9)"
|
62
|
+
- "rgba(250,227,217,.9)"
|
63
|
+
- "rgba(187,222,214,.9)"
|
64
|
+
- "rgba(138,198,209,.9)"
|
65
|
+
|
66
|
+
font:
|
67
|
+
enable: true
|
68
|
+
# 从google字体库加载,如果自定义@font-face请关闭
|
69
|
+
loadFromGoogle: true
|
70
|
+
# 字体选项:
|
71
|
+
# `external`:从google字体库加载字体.
|
72
|
+
# `family: 字体家族名,无需引号
|
73
|
+
# `size: x.x`. 以`em`为单位. 默认: 1 (16px)
|
74
|
+
|
75
|
+
# 适用于所有在body标签内的文字.
|
76
|
+
global:
|
77
|
+
external: true
|
78
|
+
family: Mulish
|
79
|
+
size:
|
80
|
+
|
81
|
+
# 大标题字体.
|
82
|
+
logo:
|
83
|
+
external: true
|
84
|
+
family: Fredericka the Great
|
85
|
+
size: 3.5
|
86
|
+
|
87
|
+
# 页面标题字体.
|
88
|
+
title:
|
89
|
+
external: true
|
90
|
+
family: Noto Serif JP
|
91
|
+
size: 2.5
|
92
|
+
|
93
|
+
# 标题字体.
|
94
|
+
headings:
|
95
|
+
external: true
|
96
|
+
family: Noto Serif SC
|
97
|
+
size:
|
98
|
+
|
99
|
+
# 文章字体.
|
100
|
+
posts:
|
101
|
+
external: false
|
102
|
+
family:
|
103
|
+
|
104
|
+
# 代码块的字体
|
105
|
+
codes:
|
106
|
+
external: true
|
107
|
+
family: Inconsolata
|
108
|
+
|
109
|
+
# project of https://www.iconfont.cn/
|
110
|
+
# //at.alicdn.com/t/font_1832207_c8i9n1ulxlt.css => 1832207_c8i9n1ulxlt
|
111
|
+
iconfont: "1832207_igi8uaupcus"
|
112
|
+
|
113
|
+
menu:
|
114
|
+
home: / || home
|
115
|
+
about:
|
116
|
+
default: /about/ || user
|
117
|
+
aboutsite: /about/ || star
|
118
|
+
updata: /updata/ || cloud
|
119
|
+
admiration: /admiration/ || coffee
|
120
|
+
privacy: /privacy/ || list-alt
|
121
|
+
posts:
|
122
|
+
default: / || feather
|
123
|
+
archives: /archives/ || list-alt
|
124
|
+
categories: /categories/ || th
|
125
|
+
tags: /tags/ || tags
|
126
|
+
statistics: /statistics/ || clock
|
127
|
+
friends: /friends/ || heart
|
128
|
+
|
129
|
+
# https://twikoo.js.org
|
130
|
+
twikoo:
|
131
|
+
enable: false
|
132
|
+
link: "https://cdn.staticfile.org/twikoo/1.6.6/twikoo.nocss.min.js"
|
133
|
+
mode: vercel # vercel或tencent
|
134
|
+
envId: "https://114514.foo.bar" # twikoo环境ID,vercel填地址
|
135
|
+
region:
|
136
|
+
|
137
|
+
# https://waline.js.org/
|
138
|
+
waline:
|
139
|
+
enable: false
|
140
|
+
serverURL: ''
|
141
|
+
lang: "zh-CN"
|
142
|
+
locale: {} # https://waline.js.org/guide/features/i18n.html#%E8%87%AA%E5%AE%9A%E4%B9%89%E8%AF%AD%E8%A8%80
|
143
|
+
emoji: # 表情包
|
144
|
+
- https://unpkg.com/@waline/emojis@1.0.1/weibo
|
145
|
+
- https://unpkg.com/@waline/emojis@1.0.1/alus
|
146
|
+
- https://unpkg.com/@waline/emojis@1.0.1/bilibili
|
147
|
+
- https://unpkg.com/@waline/emojis@1.0.1/qq
|
148
|
+
- https://unpkg.com/@waline/emojis@1.0.1/tieba
|
149
|
+
- https://unpkg.com/@waline/emojis@1.0.1/tw-emoji
|
150
|
+
meta: # 可以填写的内容
|
151
|
+
- nick
|
152
|
+
- mail
|
153
|
+
- link
|
154
|
+
requiredMeta: # 必须填写的内容
|
155
|
+
- nick
|
156
|
+
- mail
|
157
|
+
wordLimit: 0 # 字数限制,0为不限制
|
158
|
+
pageSize: 10 # 每页评论条数
|
159
|
+
|
160
|
+
# https://github.com/gitalk/gitalk/blob/master/readme-cn.md
|
161
|
+
gitalk:
|
162
|
+
clientID:
|
163
|
+
clientSecret:
|
164
|
+
repo:
|
165
|
+
owner:
|
166
|
+
admin:
|
167
|
+
proxy: # 选填
|
168
|
+
|
169
|
+
# https://giscus.app/zh-CN
|
170
|
+
giscus:
|
171
|
+
repo:
|
172
|
+
repoId:
|
173
|
+
category:
|
174
|
+
categoryId:
|
175
|
+
mapping:
|
176
|
+
strict:
|
177
|
+
reactionsEnabled:
|
178
|
+
emitMetadata:
|
179
|
+
inputPosition:
|
180
|
+
commentTheme:
|
181
|
+
lang:
|
182
|
+
|
183
|
+
|
184
|
+
# Social Links
|
185
|
+
# Usage: `Key: permalink || icon || color`
|
186
|
+
# Key is the link label showing to end users.
|
187
|
+
# Value before `||` delimiter is the target permalink,
|
188
|
+
# secend value is the name of Font icon.
|
189
|
+
social:
|
190
|
+
github: https://github.com/name || github || "#191717"
|
191
|
+
#google: https://plus.google.com/yourname || google
|
192
|
+
#twitter: https://twitter.com/yourname || twitter || "#00aff0"
|
193
|
+
#zhihu: https://www.zhihu.com/people/yourname || zhihu || "#1e88e5"
|
194
|
+
#music: https://music.163.com/#/user/home?id=yourid || cloud-music || "#e60026"
|
195
|
+
#weibo: https://weibo.com/yourname || weibo || "#ea716e"
|
196
|
+
#about: https://about.me/yourname || address-card || "#3b5998"
|
197
|
+
# email: mailto:foo@xxx.com || envelope || "#55acd5"
|
198
|
+
#facebook: https://www.facebook.com/yourname || facebook
|
199
|
+
# stackoverflow: https://stackoverflow.com/ || stack-overflow
|
200
|
+
#youtube: https://youtube.com/yourname || youtube
|
201
|
+
#instagram: https://instagram.com/yourname || instagram
|
202
|
+
#skype: skype:yourname?call|chat || skype
|
203
|
+
#douban: https://www.douban.com/people/yourname/ || douban
|
204
|
+
|
205
|
+
sidebar:
|
206
|
+
# Sidebar Position.
|
207
|
+
position: left
|
208
|
+
# position: right
|
209
|
+
# Replace the default avatar image and set the url here.
|
210
|
+
avatar: avatar.jpg
|
211
|
+
|
212
|
+
widgets:
|
213
|
+
# if true, will show random posts
|
214
|
+
random_posts: true
|
215
|
+
# if true, will show recent comments
|
216
|
+
recent_comments: true
|
217
|
+
|
218
|
+
footer:
|
219
|
+
# Specify the date when the site was setup. If not defined, current year will be used.
|
220
|
+
since: 2021
|
221
|
+
icon:
|
222
|
+
name: sakura rotate
|
223
|
+
# Change the color of icon, using Hex Code.
|
224
|
+
color: "#ffc0cb"
|
225
|
+
# Dependencies: https://github.com/theme-next/hexo-symbols-count-time
|
226
|
+
count: true
|
227
|
+
powered: true
|
228
|
+
lantern:
|
229
|
+
enable: true #是否开启
|
230
|
+
word1: 中 #第一个字
|
231
|
+
word2: 秋 #第二个字
|
232
|
+
icp: # ICP备案
|
233
|
+
enable: false
|
234
|
+
icon: "beian.webp" #网安备案图片
|
235
|
+
icpnumber: "xxx" # ICP备案号
|
236
|
+
beian: "xxx" # 网安备案号
|
237
|
+
recordcode: "xxx" # 网安备案链接中的recordcode参数
|
238
|
+
|
239
|
+
post:
|
240
|
+
count: true
|
241
|
+
|
242
|
+
# 文章是否失效
|
243
|
+
outime:
|
244
|
+
enable: true
|
245
|
+
days: 90 # 超过 90 天文章失效
|
246
|
+
|
247
|
+
reward:
|
248
|
+
# If true, reward will be displayed in every article by default.
|
249
|
+
enable: true
|
250
|
+
account:
|
251
|
+
wechatpay: /wechatpay.png
|
252
|
+
alipay: /alipay.png
|
253
|
+
# paypal: /paypal.png
|
254
|
+
|
255
|
+
# TagCloud settings for tags page.
|
256
|
+
tagcloud:
|
257
|
+
# All values below are same as default, change them by yourself.
|
258
|
+
min: 16 # Minimun font size in px
|
259
|
+
max: 22 # Maxium font size in px
|
260
|
+
start: "#72cecf" # Start color (hex, rgba, hsla or color keywords)
|
261
|
+
end: "#ffbac3" # End color (hex, rgba, hsla or color keywords)
|
262
|
+
amount: 200 # Amount of tags, change it if you have more than 200 tags
|
263
|
+
|
264
|
+
# ---------------------------------------------------------------
|
265
|
+
# Third Party Plugins & Services Settings
|
266
|
+
# ---------------------------------------------------------------
|
267
|
+
|
268
|
+
# Creative Commons 4.0 International License.
|
269
|
+
# See: https://creativecommons.org/share-your-work/licensing-types-examples
|
270
|
+
# Available values of license: by | by-nc | by-nc-nd | by-nc-sa | by-nd | by-sa | zero
|
271
|
+
# You can set a language value if you prefer a translated version of CC license, e.g. deed.zh
|
272
|
+
# CC licenses are available in 39 languages, you can find the specific and correct abbreviation you need on https://creativecommons.org
|
273
|
+
creative_commons:
|
274
|
+
license: by-nc-sa
|
275
|
+
language: deed.zh
|
276
|
+
|
277
|
+
# bgm
|
278
|
+
audio:
|
279
|
+
- title: 列表1
|
280
|
+
list:
|
281
|
+
- https://music.163.com/#/playlist?id=2943811283
|
282
|
+
- https://music.163.com/#/playlist?id=2297706586
|
283
|
+
- title: 列表2
|
284
|
+
list:
|
285
|
+
- https://music.163.com/#/playlist?id=2031842656
|
286
|
+
|
287
|
+
# random image api
|
288
|
+
image_server: # "https://acg.xydwz.cn/api/api.php"
|
289
|
+
|
290
|
+
# Algolia Search
|
291
|
+
# For more information: https://www.algolia.com
|
292
|
+
search:
|
293
|
+
hits:
|
294
|
+
per_page: 10
|
295
|
+
|
296
|
+
# Dependencies: https://github.com/amehime/hexo-renderer-multi-markdown-it
|
297
|
+
pangu: false
|
298
|
+
|
299
|
+
# Quicklink Support
|
300
|
+
# For more information: https://github.com/GoogleChromeLabs/quicklink
|
301
|
+
quicklink:
|
302
|
+
# Custom a time in milliseconds by which the browser must execute prefetching.
|
303
|
+
timeout: 3000
|
304
|
+
# Default (true) will attempt to use the fetch() API if supported (rather than link[rel=prefetch]).
|
305
|
+
priority: true
|
306
|
+
|
307
|
+
# For more flexibility you can add some patterns (RegExp, Function, or Array) to ignores.
|
308
|
+
# See: https://github.com/GoogleChromeLabs/quicklink#custom-ignore-patterns
|
309
|
+
ignores:
|
310
|
+
|
311
|
+
#! ---------------------------------------------------------------
|
312
|
+
#! DO NOT EDIT THE FOLLOWING `vendors` SETTINGS
|
313
|
+
#! UNLESS YOU KNOW WHAT YOU ARE DOING
|
314
|
+
#! Script dependencies will be combined with jsDelivr (cdn.jsdelivr.net)
|
315
|
+
#! ---------------------------------------------------------------
|
316
|
+
advVendors:
|
317
|
+
enable: true
|
318
|
+
github: "https://cdn.jsdelivr.net/gh/"
|
319
|
+
combine: "https://cdn.jsdelivr.net/"
|
320
|
+
npm: "https://unpkg.com/"
|
321
|
+
js:
|
322
|
+
pace:
|
323
|
+
src: bytedance:pace/1.0.2/pace.min.js
|
324
|
+
pjax:
|
325
|
+
src: baomitu:pjax/0.2.8/pjax.min.js
|
326
|
+
fetch:
|
327
|
+
src: npm:whatwg-fetch@3.4.0/dist/fetch.umd.js
|
328
|
+
anime:
|
329
|
+
src: bytedance:animejs/3.2.0/anime.min.js
|
330
|
+
algolia:
|
331
|
+
src: bytedance:algoliasearch/4.12.1/algoliasearch-lite.umd.min.js
|
332
|
+
instantsearch:
|
333
|
+
src: bytedance:instantsearch.js/4.39.0/instantsearch.production.min.js
|
334
|
+
lazyload:
|
335
|
+
src: bytedance:lozad.js/1.16.0/lozad.min.js
|
336
|
+
quicklink:
|
337
|
+
src: bytedance:quicklink/2.2.0/quicklink.umd.min.js
|
338
|
+
fancybox:
|
339
|
+
src: bytedance:??jquery/3.5.1/jquery.min.js,fancybox/3.5.7/jquery.fancybox.min.js,justifiedGallery/3.8.1/js/jquery.justifiedGallery.min.js
|
340
|
+
async: true
|
341
|
+
copy_tex:
|
342
|
+
src: bytedance:KaTeX/0.12.0/contrib/copy-tex.min.js
|
343
|
+
async: true
|
344
|
+
chart:
|
345
|
+
src: npm:frappe-charts@1.5.0/dist/frappe-charts.min.iife.js
|
346
|
+
css:
|
347
|
+
katex:
|
348
|
+
src: npm:katex@0.12.0/dist/katex.min.css
|
349
|
+
comment:
|
350
|
+
src: css/comment.css
|
351
|
+
fancybox:
|
352
|
+
src: combine:npm/@fancyapps/fancybox@3.5.7/dist/jquery.fancybox.min.css,npm/justifiedGallery@3.8.1/dist/css/justifiedGallery.min.css
|
353
|
+
vendorsList:
|
354
|
+
js:
|
355
|
+
- pace
|
356
|
+
- pjax
|
357
|
+
- fetch
|
358
|
+
- anime
|
359
|
+
- algolia
|
360
|
+
- instantsearch
|
361
|
+
- lazyload
|
362
|
+
- quicklink
|
363
|
+
- fancybox
|
364
|
+
- copy_tex
|
365
|
+
- chart
|
366
|
+
|
367
|
+
vendors:
|
368
|
+
css:
|
369
|
+
# katex: npm/katex@0.12.0/dist/katex.min.css
|
370
|
+
katex: npm/katex@0.12.0/dist/katex.min.css # ok
|
371
|
+
comment: css/comment.css
|
372
|
+
fancybox: combine/npm/@fancyapps/fancybox@3.5.7/dist/jquery.fancybox.min.css,npm/justifiedGallery@3.8.1/dist/css/justifiedGallery.min.css # notok
|
373
|
+
# fancybox: npm/fancybox/justifiedGallery.min.css
|
374
|
+
|
375
|
+
js:
|
376
|
+
pace: npm/pace-js@1.0.2/pace.min.js # ok
|
377
|
+
pjax: npm/pjax@0.2.8/pjax.min.js # ok
|
378
|
+
fetch: npm/whatwg-fetch@3.4.0/dist/fetch.umd.min.js # ok
|
379
|
+
anime: npm/animejs@3.2.0/lib/anime.min.js # ok
|
380
|
+
algolia: npm/algoliasearch@4/dist/algoliasearch-lite.umd.js # ok
|
381
|
+
instantsearch: npm/instantsearch.js@4/dist/instantsearch.production.min.js # ok
|
382
|
+
lazyload: npm/lozad@1/dist/lozad.min.js # ok
|
383
|
+
quicklink: npm/quicklink@2/dist/quicklink.umd.js # ok
|
384
|
+
fancybox: combine/npm/jquery@3.5.1/dist/jquery.min.js,npm/@fancyapps/fancybox@3.5.7/dist/jquery.fancybox.min.js,npm/justifiedGallery@3.8.1/dist/js/jquery.justifiedGallery.min.js # notok
|
385
|
+
# fancybox: npm/fancybox/jquery.justifiedGallery.min.js
|
386
|
+
valine: gh/amehime/MiniValine@4.2.2-beta10/dist/MiniValine.min.js
|
387
|
+
copy_tex: npm/katex@0.12.0/dist/contrib/copy-tex.min.js # ok
|
388
|
+
chart: npm/frappe-charts@1.5.0/dist/frappe-charts.min.iife.min.js # ok
|
389
|
+
|
390
|
+
qweather:
|
391
|
+
enable: false
|
392
|
+
key: "114514"
|