hexo-theme-shokax 0.3.13 → 0.3.14
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/CODE_OF_CONDUCT.md +128 -128
- package/CONTRIBUTING.md +58 -58
- package/LICENSE +660 -660
- package/LICENSE-shoka +21 -21
- package/README.md +99 -99
- package/README_en.MD +90 -90
- package/UsageRestrictions.md +25 -25
- package/_config.yml +370 -370
- package/_images.yml +9 -9
- package/languages/README.md +19 -19
- package/languages/default.yml +1 -1
- package/languages/en.yml +153 -153
- package/languages/ja.yml +153 -153
- package/languages/zh-CN.yml +153 -153
- package/languages/zh-HK.yml +153 -153
- package/languages/zh-TW.yml +153 -153
- 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 +38 -38
- package/layout/_mixin/comment.pug +41 -41
- package/layout/_mixin/postmeta.pug +29 -29
- package/layout/_mixin/segment.pug +32 -32
- package/layout/_mixin/sidebar.pug +40 -40
- package/layout/_mixin/widgets.pug +33 -33
- package/layout/_partials/footer.pug +42 -42
- package/layout/_partials/head/head.pug +57 -57
- 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 +139 -139
- 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 +25 -25
- package/layout/_partials/post/nav.pug +13 -13
- package/layout/_partials/post/post.pug +41 -41
- package/layout/_partials/post/reward.pug +18 -18
- package/layout/_partials/sidebar/menu.pug +37 -37
- package/layout/_partials/sidebar/overview.pug +42 -42
- package/layout/_partials/third-party/baidu-analytics.pug +11 -11
- package/layout/_partials/third-party/clarity.pug +8 -8
- package/layout/_partials/third-party/google-analytics.pug +9 -9
- package/layout/archive.pug +118 -118
- package/layout/category.pug +59 -59
- package/layout/index.pug +33 -33
- package/layout/page.pug +55 -55
- package/layout/post.pug +36 -36
- package/layout/tag.pug +43 -43
- package/package.json +47 -47
- 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 +357 -357
- 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 +391 -391
- 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 +263 -263
- 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 +89 -89
- 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/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 +85 -85
- 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 +57 -57
- 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 +322 -322
- package/source/css/_common/scaffolding/base.styl +190 -190
- 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 +273 -273
- 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 +455 -455
- package/source/css/_mixins.styl +148 -148
- package/source/css/_variables.styl +89 -89
- package/source/css/app.styl +41 -41
- package/source/css/comment.styl +3 -3
- package/source/css/mermaid.styl +5 -5
- package/source/css/optimize.styl +5 -5
- package/scripts/filters/locals.js +0 -52
- package/scripts/filters/post.js +0 -5
- package/scripts/generaters/archive.js +0 -133
- package/scripts/generaters/config.js +0 -48
- package/scripts/generaters/images.js +0 -23
- package/scripts/generaters/index.js +0 -107
- package/scripts/generaters/pages.js +0 -15
- package/scripts/generaters/script.js +0 -118
- package/scripts/helpers/asset.js +0 -147
- package/scripts/helpers/engine.js +0 -153
- package/scripts/helpers/list_categories.js +0 -84
- package/scripts/helpers/summary_ai.js +0 -107
- package/scripts/helpers/symbols_count_time.js +0 -69
- package/scripts/plugin/check.js +0 -32
- package/scripts/plugin/index.js +0 -78
- package/scripts/plugin/lib/injects-point.js +0 -20
- package/scripts/plugin/lib/injects.js +0 -89
- package/scripts/tags/links.js +0 -44
- package/scripts/tags/media.js +0 -19
- package/scripts/utils.js +0 -14
- package/source/js/_app/components/sidebar.js +0 -209
- package/source/js/_app/fireworks.js +0 -10
- package/source/js/_app/globals/globalVars.js +0 -80
- package/source/js/_app/globals/handles.js +0 -98
- package/source/js/_app/globals/themeColor.js +0 -62
- package/source/js/_app/globals/thirdparty.js +0 -62
- package/source/js/_app/globals/tools.js +0 -66
- package/source/js/_app/library/anime.js +0 -106
- package/source/js/_app/library/dom.js +0 -34
- package/source/js/_app/library/loadFile.js +0 -36
- package/source/js/_app/library/proto.js +0 -163
- package/source/js/_app/library/scriptPjax.js +0 -70
- package/source/js/_app/library/storage.js +0 -12
- package/source/js/_app/library/vue.js +0 -53
- package/source/js/_app/page/comment.js +0 -23
- package/source/js/_app/page/common.js +0 -41
- package/source/js/_app/page/fancybox.js +0 -65
- package/source/js/_app/page/post.js +0 -244
- package/source/js/_app/page/search.js +0 -118
- package/source/js/_app/page/tab.js +0 -53
- package/source/js/_app/pjax/domInit.js +0 -76
- package/source/js/_app/pjax/refresh.js +0 -52
- package/source/js/_app/pjax/siteInit.js +0 -51
- package/source/js/_app/player.js +0 -771
package/_config.yml
CHANGED
@@ -1,371 +1,371 @@
|
|
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
|
-
grayMode: false # 全站黑白滤镜
|
15
|
-
# 请注意: 本主题的PWA功能只是一个装载器,需要自备js和manifest
|
16
|
-
# 图片可通过https://lp-pwa.gitee.io/pwa-genicon/生成
|
17
|
-
pwa:
|
18
|
-
enable: false # 开启PWA功能
|
19
|
-
serviceworker: sw.js #serviceworker脚本位置,使用以/为基准的绝对路径
|
20
|
-
manifest: manifest.json #manifest位置,使用以/为基准的绝对路径
|
21
|
-
|
22
|
-
# 实验性特性
|
23
|
-
experiments:
|
24
|
-
noPlayer: false # 禁用音乐播放器
|
25
|
-
gradient: false # 使用CSS渐变作为文章封面
|
26
|
-
fixedCover: "" # 主页面cover(为空则使用bing随机图片)
|
27
|
-
debug: false # 使用debug模式启动
|
28
|
-
disableThemeComment: false # 禁用主题评论系统(一般用于关闭评论或让插件接管评论系统)
|
29
|
-
usingRelative: false # _image.yml 使用相对路径
|
30
|
-
optimizeLongPosts: false # 优化长文章,这能让长文章的FPS提升70%-150%并解决假死问题,但存在一些副作用
|
31
|
-
# 具体见https://docs.kaitaku.xyz/guide/theme.html#%E9%95%BF%E6%96%87%E7%AB%A0%E4%BC%98%E5%8C%96
|
32
|
-
mobileWidth: 820px # 移动版和桌面版导航栏最短切换长度
|
33
|
-
|
34
|
-
# 优化性能区
|
35
|
-
performance:
|
36
|
-
# 使用preconnect预加载的网址(不建议超过三个)
|
37
|
-
preConnect:
|
38
|
-
- "https://lf9-cdn-tos.bytecdntp.com"
|
39
|
-
# 使用dns-prefetch预解析的网址
|
40
|
-
dnsPrefetch:
|
41
|
-
- "https://cdn.jsdelivr.net"
|
42
|
-
- "https://unpkg.com"
|
43
|
-
|
44
|
-
playerAPI: "https://api.injahow.cn" # 结尾不带/,只填写域名
|
45
|
-
# 如果条件允许,请参考 https://github.com/injahow/meting-api 自建API
|
46
|
-
# 使用vercel自行部署,请参考: https://github.com/xizeyoupan/Meting-API
|
47
|
-
|
48
|
-
disableVL: false # 禁用可见度监听
|
49
|
-
|
50
|
-
icon:
|
51
|
-
favicon: "/favicon.ico"
|
52
|
-
apple_touch_icon: "/apple-touch-icon.png"
|
53
|
-
|
54
|
-
seo:
|
55
|
-
bing:
|
56
|
-
google:
|
57
|
-
yandex:
|
58
|
-
baidu:
|
59
|
-
|
60
|
-
visitor:
|
61
|
-
clarity: false
|
62
|
-
baiduAnalytics: false
|
63
|
-
googleAnalytics: false
|
64
|
-
|
65
|
-
darkmode: true
|
66
|
-
auto_dark: # 自动亮/暗模式
|
67
|
-
enable: true #是否开启
|
68
|
-
start: 20 #开始时间
|
69
|
-
end: 7 #结束时间
|
70
|
-
|
71
|
-
auto_scroll: false
|
72
|
-
|
73
|
-
loader:
|
74
|
-
start: true # 进入页面时显示加载动画
|
75
|
-
switch: false # 切换页面时显示加载动画
|
76
|
-
|
77
|
-
# 使用polyfill.io自动处理浏览器兼容问题
|
78
|
-
polyfill:
|
79
|
-
enable: false
|
80
|
-
features:
|
81
|
-
- default
|
82
|
-
- fetch
|
83
|
-
|
84
|
-
# 显示的动画(烟花)
|
85
|
-
# 参阅 https://github.com/D-Sketon/mouse-firework
|
86
|
-
fireworks:
|
87
|
-
enable: true
|
88
|
-
options:
|
89
|
-
excludeElements: ["a"]
|
90
|
-
particles:
|
91
|
-
- shape: circle
|
92
|
-
move: ["emit"]
|
93
|
-
easing: easeOutExpo
|
94
|
-
colors:
|
95
|
-
- "rgba(255,182,185,.9)"
|
96
|
-
- "rgba(250,227,217,.9)"
|
97
|
-
- "rgba(187,222,214,.9)"
|
98
|
-
- "rgba(138,198,209,.9)"
|
99
|
-
number: 30
|
100
|
-
duration: [1200, 1800]
|
101
|
-
shapeOptions:
|
102
|
-
radius: [16, 32]
|
103
|
-
- shape: circle
|
104
|
-
move: ["diffuse"]
|
105
|
-
easing: easeOutExpo
|
106
|
-
colors: ["#fff"]
|
107
|
-
number: 1
|
108
|
-
duration: [1200, 1800]
|
109
|
-
shapeOptions:
|
110
|
-
radius: 20
|
111
|
-
alpha: 0.5
|
112
|
-
lineWidth: 6
|
113
|
-
|
114
|
-
font:
|
115
|
-
enable: true
|
116
|
-
# 从google字体库加载,如果自定义@font-face请关闭
|
117
|
-
loadFromGoogle: true
|
118
|
-
# 字体选项:
|
119
|
-
# `external`:从google字体库加载字体.
|
120
|
-
# `family: 字体家族名,无需引号
|
121
|
-
# `size: x.x`. 以`em`为单位. 默认: 1 (16px)
|
122
|
-
|
123
|
-
# 适用于所有在body标签内的文字.
|
124
|
-
global:
|
125
|
-
external: true
|
126
|
-
family: Mulish
|
127
|
-
size:
|
128
|
-
|
129
|
-
# 大标题字体.
|
130
|
-
logo:
|
131
|
-
external: true
|
132
|
-
family: Fredericka the Great
|
133
|
-
size: 3.5
|
134
|
-
|
135
|
-
# 页面标题字体.
|
136
|
-
title:
|
137
|
-
external: true
|
138
|
-
family: Noto Serif JP
|
139
|
-
size: 2.5
|
140
|
-
|
141
|
-
# 标题字体.
|
142
|
-
headings:
|
143
|
-
external: true
|
144
|
-
family: Noto Serif SC
|
145
|
-
size:
|
146
|
-
|
147
|
-
# 文章字体.
|
148
|
-
posts:
|
149
|
-
external: false
|
150
|
-
family:
|
151
|
-
|
152
|
-
# 代码块的字体
|
153
|
-
codes:
|
154
|
-
external: true
|
155
|
-
family: Inconsolata
|
156
|
-
|
157
|
-
# //at.alicdn.com/t/c/font_4415496_59g1326wajd.css => 4415496_59g1326wajd
|
158
|
-
# 自定义iconfont图标参见文档教程
|
159
|
-
iconfont: "4415496_59g1326wajd"
|
160
|
-
|
161
|
-
menu:
|
162
|
-
home: / || home
|
163
|
-
# about:
|
164
|
-
# default: / || user
|
165
|
-
# aboutsite: /about/ || user
|
166
|
-
# admiration: /admiration/ || coffee
|
167
|
-
# posts:
|
168
|
-
# default: / || feather
|
169
|
-
# archives: /archives/ || list-alt
|
170
|
-
# categories: /categories/ || th
|
171
|
-
# tags: /tags/ || tags
|
172
|
-
# friends: /friends/ || heart
|
173
|
-
|
174
|
-
# https://twikoo.js.org
|
175
|
-
twikoo:
|
176
|
-
enable: false
|
177
|
-
link: "https://cdn.staticfile.org/twikoo/1.6.30/twikoo.all.min.js"
|
178
|
-
mode: vercel # vercel或tencent
|
179
|
-
envId: "https://example.com" # twikoo环境ID,vercel填地址
|
180
|
-
region:
|
181
|
-
|
182
|
-
# https://waline.js.org/
|
183
|
-
waline:
|
184
|
-
enable: false
|
185
|
-
serverURL: ""
|
186
|
-
lang: "zh-CN"
|
187
|
-
locale: {} # https://waline.js.org/guide/features/i18n.html#%E8%87%AA%E5%AE%9A%E4%B9%89%E8%AF%AD%E8%A8%80
|
188
|
-
emoji: # 表情包
|
189
|
-
- https://unpkg.com/@waline/emojis@1.0.1/weibo
|
190
|
-
- https://unpkg.com/@waline/emojis@1.0.1/alus
|
191
|
-
- https://unpkg.com/@waline/emojis@1.0.1/bilibili
|
192
|
-
- https://unpkg.com/@waline/emojis@1.0.1/qq
|
193
|
-
- https://unpkg.com/@waline/emojis@1.0.1/tieba
|
194
|
-
- https://unpkg.com/@waline/emojis@1.0.1/tw-emoji
|
195
|
-
meta: # 可以填写的内容
|
196
|
-
- nick
|
197
|
-
- mail
|
198
|
-
- link
|
199
|
-
requiredMeta: # 必须填写的内容
|
200
|
-
- nick
|
201
|
-
- mail
|
202
|
-
wordLimit: 0 # 字数限制,0为不限制
|
203
|
-
pageSize: 10 # 每页评论条数
|
204
|
-
pageview: false # 是否开启浏览量统计,可独立开启
|
205
|
-
|
206
|
-
summary:
|
207
|
-
enable: false
|
208
|
-
introduce: "我是基于ChatGPT-turbo-3.5实现的AI助手,在此网站上负责整理和概括文章" # AI自我介绍
|
209
|
-
mode: openai # openai/custom
|
210
|
-
pricing: "trial" # trial为试用模板(3 RPM);pay为即用即付模板(60 RPM)
|
211
|
-
openai:
|
212
|
-
remote: "https://api.openai.com"
|
213
|
-
apikey: "key"
|
214
|
-
|
215
|
-
|
216
|
-
# Social Links
|
217
|
-
# Usage: `Key: permalink || icon || color`
|
218
|
-
# Key is the link label showing to end users.
|
219
|
-
# Value before `||` delimiter is the target permalink,
|
220
|
-
# secend value is the name of Font icon.
|
221
|
-
social:
|
222
|
-
github: https://github.com/name || github || "#191717"
|
223
|
-
#google: https://plus.google.com/yourname || google
|
224
|
-
#twitter: https://twitter.com/yourname || twitter || "#00aff0"
|
225
|
-
#zhihu: https://www.zhihu.com/people/yourname || zhihu || "#1e88e5"
|
226
|
-
#music: https://music.163.com/#/user/home?id=yourid || cloud-music || "#e60026"
|
227
|
-
#weibo: https://weibo.com/yourname || weibo || "#ea716e"
|
228
|
-
#about: https://about.me/yourname || address-card || "#3b5998"
|
229
|
-
# email: mailto:foo@xxx.com || envelope || "#55acd5"
|
230
|
-
#facebook: https://www.facebook.com/yourname || facebook
|
231
|
-
# stackoverflow: https://stackoverflow.com/ || stack-overflow
|
232
|
-
#youtube: https://youtube.com/yourname || youtube
|
233
|
-
#instagram: https://instagram.com/yourname || instagram
|
234
|
-
#skype: skype:yourname?call|chat || skype
|
235
|
-
#douban: https://www.douban.com/people/yourname/ || douban
|
236
|
-
|
237
|
-
sidebar:
|
238
|
-
# Sidebar Position.
|
239
|
-
position: left
|
240
|
-
# position: right
|
241
|
-
# Replace the default avatar image under <root>/source/_data/assets/ and set the url here.
|
242
|
-
avatar: avatar.jpg
|
243
|
-
|
244
|
-
widgets:
|
245
|
-
# if true, will show random posts
|
246
|
-
random_posts: true
|
247
|
-
# if true, will show recent comments
|
248
|
-
recent_comments: true
|
249
|
-
|
250
|
-
footer:
|
251
|
-
# Specify the date when the site was set up. If not defined, current year will be used.
|
252
|
-
since: 2022
|
253
|
-
icon:
|
254
|
-
name: sakura rotate
|
255
|
-
# Change the color of icon, using Hex Code.
|
256
|
-
color: "#ffc0cb"
|
257
|
-
# Dependencies: https://github.com/theme-next/hexo-symbols-count-time
|
258
|
-
count: true
|
259
|
-
powered: true
|
260
|
-
lantern:
|
261
|
-
enable: true #是否开启
|
262
|
-
word1: 中 #第一个字
|
263
|
-
word2: 秋 #第二个字
|
264
|
-
icp: # ICP备案
|
265
|
-
enable: false
|
266
|
-
icon: "beian.webp" #网安备案图片
|
267
|
-
icpnumber: "xxx" # ICP备案号
|
268
|
-
beian: "xxx" # 网安备案号
|
269
|
-
recordcode: "xxx" # 网安备案链接中的recordcode参数
|
270
|
-
|
271
|
-
post:
|
272
|
-
count: true
|
273
|
-
|
274
|
-
# 文章是否失效
|
275
|
-
outime:
|
276
|
-
enable: false
|
277
|
-
days: 90 # 超过 90 天文章失效
|
278
|
-
|
279
|
-
reward:
|
280
|
-
# If true, reward will be displayed in every article by default.
|
281
|
-
enable: true
|
282
|
-
account:
|
283
|
-
wechatpay: /wechatpay.png
|
284
|
-
alipay: /alipay.png
|
285
|
-
# paypal: /paypal.png
|
286
|
-
|
287
|
-
# TagCloud settings for tags page.
|
288
|
-
tagcloud:
|
289
|
-
# All values below are same as default, change them by yourself.
|
290
|
-
min: 16 # Minimun font size in px
|
291
|
-
max: 22 # Maxium font size in px
|
292
|
-
start: "#72cecf" # Start color (hex, rgba, hsla or color keywords)
|
293
|
-
end: "#ffbac3" # End color (hex, rgba, hsla or color keywords)
|
294
|
-
amount: 200 # Amount of tags, change it if you have more than 200 tags
|
295
|
-
|
296
|
-
# ---------------------------------------------------------------
|
297
|
-
# Third Party Plugins & Services Settings
|
298
|
-
# ---------------------------------------------------------------
|
299
|
-
|
300
|
-
# Creative Commons 4.0 International License.
|
301
|
-
# See: https://creativecommons.org/share-your-work/licensing-types-examples
|
302
|
-
# Available values of license: by | by-nc | by-nc-nd | by-nc-sa | by-nd | by-sa | zero
|
303
|
-
# You can set a language value if you prefer a translated version of CC license, e.g. deed.zh
|
304
|
-
# CC licenses are available in 39 languages, you can find the specific and correct abbreviation you need on https://creativecommons.org
|
305
|
-
creative_commons:
|
306
|
-
license: by-nc-sa
|
307
|
-
language: deed.zh
|
308
|
-
|
309
|
-
# bgm
|
310
|
-
# 不使用请打开noplayer功能
|
311
|
-
audio:
|
312
|
-
# - title: 列表1
|
313
|
-
# list:
|
314
|
-
# - https://music.163.com/#/playlist?id=2943811283
|
315
|
-
# - https://music.163.com/#/playlist?id=2297706586
|
316
|
-
# - title: 列表2
|
317
|
-
# list:
|
318
|
-
# - https://music.163.com/#/playlist?id=2031842656
|
319
|
-
|
320
|
-
# random image api
|
321
|
-
image_server: # "https://acg.xydwz.cn/api/api.php"
|
322
|
-
|
323
|
-
# Algolia Search
|
324
|
-
# For more information: https://www.algolia.com
|
325
|
-
search:
|
326
|
-
hits:
|
327
|
-
per_page: 10
|
328
|
-
|
329
|
-
# Dependencies: https://github.com/amehime/hexo-renderer-multi-markdown-it
|
330
|
-
pangu: false
|
331
|
-
|
332
|
-
# Quicklink Support
|
333
|
-
# For more information: https://github.com/GoogleChromeLabs/quicklink
|
334
|
-
quicklink:
|
335
|
-
# Custom a time in milliseconds by which the browser must execute prefetching.
|
336
|
-
timeout: 3000
|
337
|
-
# Default (true) will attempt to use the fetch() API if supported (rather than link[rel=prefetch]).
|
338
|
-
priority: true
|
339
|
-
|
340
|
-
# For more flexibility you can add some patterns (RegExp, Function, or Array) to ignores.
|
341
|
-
# See: https://github.com/GoogleChromeLabs/quicklink#custom-ignore-patterns
|
342
|
-
ignores:
|
343
|
-
|
344
|
-
#! ---------------------------------------------------------------
|
345
|
-
#! DO NOT EDIT THE FOLLOWING `vendors` SETTINGS
|
346
|
-
#! UNLESS YOU KNOW WHAT YOU ARE DOING
|
347
|
-
#! ---------------------------------------------------------------
|
348
|
-
vendors:
|
349
|
-
cdns:
|
350
|
-
npm_webcache: https://npm.webcache.cn
|
351
|
-
bytedance: https://lf9-cdn-tos.bytecdntp.com/cdn/expire-6-M
|
352
|
-
cdnjs_webcache: https://cdnjs.webstatic.cn/ajax/libs
|
353
|
-
cdnjs: https://cdnjs.cloudflare.com/ajax/libs
|
354
|
-
unpkg: https://unpkg.com
|
355
|
-
js:
|
356
|
-
pace: bytedance|pace/1.2.4/pace.min.js
|
357
|
-
# pjax: npm_webcache|theme-shokax-pjax@0.0.3/pjax.shokax.min.js
|
358
|
-
# anime: npm_webcache|theme-shokax-anime@0.0.6/anime.shokax.min.js
|
359
|
-
# lozad: npm_webcache|lozad@1.16.0/dist/lozad.min.js
|
360
|
-
algolia: bytedance|algoliasearch/4.12.1/algoliasearch-lite.umd.min.js
|
361
|
-
instantsearch: bytedance|instantsearch.js/4.39.0/instantsearch.production.min.js
|
362
|
-
quicklink: npm_webcache|quicklink@2.3.0/dist/quicklink.umd.js
|
363
|
-
# mouse_firework: npm_webcache|mouse-firework@0.0.4/dist/index.umd.js
|
364
|
-
async_js:
|
365
|
-
fancybox: 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
|
366
|
-
copy_tex: npm_webcache|katex@0.16.7/dist/contrib/copy-tex.min.js
|
367
|
-
css:
|
368
|
-
katex: npm_webcache|katex@0.16.7/dist/katex.min.css
|
369
|
-
comment: css/comment.css
|
370
|
-
fancybox: npm_webcache|@fancyapps/fancybox@3.5.7/dist/jquery.fancybox.min.css
|
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
|
+
grayMode: false # 全站黑白滤镜
|
15
|
+
# 请注意: 本主题的PWA功能只是一个装载器,需要自备js和manifest
|
16
|
+
# 图片可通过https://lp-pwa.gitee.io/pwa-genicon/生成
|
17
|
+
pwa:
|
18
|
+
enable: false # 开启PWA功能
|
19
|
+
serviceworker: sw.js #serviceworker脚本位置,使用以/为基准的绝对路径
|
20
|
+
manifest: manifest.json #manifest位置,使用以/为基准的绝对路径
|
21
|
+
|
22
|
+
# 实验性特性
|
23
|
+
experiments:
|
24
|
+
noPlayer: false # 禁用音乐播放器
|
25
|
+
gradient: false # 使用CSS渐变作为文章封面
|
26
|
+
fixedCover: "" # 主页面cover(为空则使用bing随机图片)
|
27
|
+
debug: false # 使用debug模式启动
|
28
|
+
disableThemeComment: false # 禁用主题评论系统(一般用于关闭评论或让插件接管评论系统)
|
29
|
+
usingRelative: false # _image.yml 使用相对路径
|
30
|
+
optimizeLongPosts: false # 优化长文章,这能让长文章的FPS提升70%-150%并解决假死问题,但存在一些副作用
|
31
|
+
# 具体见https://docs.kaitaku.xyz/guide/theme.html#%E9%95%BF%E6%96%87%E7%AB%A0%E4%BC%98%E5%8C%96
|
32
|
+
mobileWidth: 820px # 移动版和桌面版导航栏最短切换长度
|
33
|
+
|
34
|
+
# 优化性能区
|
35
|
+
performance:
|
36
|
+
# 使用preconnect预加载的网址(不建议超过三个)
|
37
|
+
preConnect:
|
38
|
+
- "https://lf9-cdn-tos.bytecdntp.com"
|
39
|
+
# 使用dns-prefetch预解析的网址
|
40
|
+
dnsPrefetch:
|
41
|
+
- "https://cdn.jsdelivr.net"
|
42
|
+
- "https://unpkg.com"
|
43
|
+
|
44
|
+
playerAPI: "https://api.injahow.cn" # 结尾不带/,只填写域名
|
45
|
+
# 如果条件允许,请参考 https://github.com/injahow/meting-api 自建API
|
46
|
+
# 使用vercel自行部署,请参考: https://github.com/xizeyoupan/Meting-API
|
47
|
+
|
48
|
+
disableVL: false # 禁用可见度监听
|
49
|
+
|
50
|
+
icon:
|
51
|
+
favicon: "/favicon.ico"
|
52
|
+
apple_touch_icon: "/apple-touch-icon.png"
|
53
|
+
|
54
|
+
seo:
|
55
|
+
bing:
|
56
|
+
google:
|
57
|
+
yandex:
|
58
|
+
baidu:
|
59
|
+
|
60
|
+
visitor:
|
61
|
+
clarity: false
|
62
|
+
baiduAnalytics: false
|
63
|
+
googleAnalytics: false
|
64
|
+
|
65
|
+
darkmode: true
|
66
|
+
auto_dark: # 自动亮/暗模式
|
67
|
+
enable: true #是否开启
|
68
|
+
start: 20 #开始时间
|
69
|
+
end: 7 #结束时间
|
70
|
+
|
71
|
+
auto_scroll: false
|
72
|
+
|
73
|
+
loader:
|
74
|
+
start: true # 进入页面时显示加载动画
|
75
|
+
switch: false # 切换页面时显示加载动画
|
76
|
+
|
77
|
+
# 使用polyfill.io自动处理浏览器兼容问题
|
78
|
+
polyfill:
|
79
|
+
enable: false
|
80
|
+
features:
|
81
|
+
- default
|
82
|
+
- fetch
|
83
|
+
|
84
|
+
# 显示的动画(烟花)
|
85
|
+
# 参阅 https://github.com/D-Sketon/mouse-firework
|
86
|
+
fireworks:
|
87
|
+
enable: true
|
88
|
+
options:
|
89
|
+
excludeElements: ["a"]
|
90
|
+
particles:
|
91
|
+
- shape: circle
|
92
|
+
move: ["emit"]
|
93
|
+
easing: easeOutExpo
|
94
|
+
colors:
|
95
|
+
- "rgba(255,182,185,.9)"
|
96
|
+
- "rgba(250,227,217,.9)"
|
97
|
+
- "rgba(187,222,214,.9)"
|
98
|
+
- "rgba(138,198,209,.9)"
|
99
|
+
number: 30
|
100
|
+
duration: [1200, 1800]
|
101
|
+
shapeOptions:
|
102
|
+
radius: [16, 32]
|
103
|
+
- shape: circle
|
104
|
+
move: ["diffuse"]
|
105
|
+
easing: easeOutExpo
|
106
|
+
colors: ["#fff"]
|
107
|
+
number: 1
|
108
|
+
duration: [1200, 1800]
|
109
|
+
shapeOptions:
|
110
|
+
radius: 20
|
111
|
+
alpha: 0.5
|
112
|
+
lineWidth: 6
|
113
|
+
|
114
|
+
font:
|
115
|
+
enable: true
|
116
|
+
# 从google字体库加载,如果自定义@font-face请关闭
|
117
|
+
loadFromGoogle: true
|
118
|
+
# 字体选项:
|
119
|
+
# `external`:从google字体库加载字体.
|
120
|
+
# `family: 字体家族名,无需引号
|
121
|
+
# `size: x.x`. 以`em`为单位. 默认: 1 (16px)
|
122
|
+
|
123
|
+
# 适用于所有在body标签内的文字.
|
124
|
+
global:
|
125
|
+
external: true
|
126
|
+
family: Mulish
|
127
|
+
size:
|
128
|
+
|
129
|
+
# 大标题字体.
|
130
|
+
logo:
|
131
|
+
external: true
|
132
|
+
family: Fredericka the Great
|
133
|
+
size: 3.5
|
134
|
+
|
135
|
+
# 页面标题字体.
|
136
|
+
title:
|
137
|
+
external: true
|
138
|
+
family: Noto Serif JP
|
139
|
+
size: 2.5
|
140
|
+
|
141
|
+
# 标题字体.
|
142
|
+
headings:
|
143
|
+
external: true
|
144
|
+
family: Noto Serif SC
|
145
|
+
size:
|
146
|
+
|
147
|
+
# 文章字体.
|
148
|
+
posts:
|
149
|
+
external: false
|
150
|
+
family:
|
151
|
+
|
152
|
+
# 代码块的字体
|
153
|
+
codes:
|
154
|
+
external: true
|
155
|
+
family: Inconsolata
|
156
|
+
|
157
|
+
# //at.alicdn.com/t/c/font_4415496_59g1326wajd.css => 4415496_59g1326wajd
|
158
|
+
# 自定义iconfont图标参见文档教程
|
159
|
+
iconfont: "4415496_59g1326wajd"
|
160
|
+
|
161
|
+
menu:
|
162
|
+
home: / || home
|
163
|
+
# about:
|
164
|
+
# default: / || user
|
165
|
+
# aboutsite: /about/ || user
|
166
|
+
# admiration: /admiration/ || coffee
|
167
|
+
# posts:
|
168
|
+
# default: / || feather
|
169
|
+
# archives: /archives/ || list-alt
|
170
|
+
# categories: /categories/ || th
|
171
|
+
# tags: /tags/ || tags
|
172
|
+
# friends: /friends/ || heart
|
173
|
+
|
174
|
+
# https://twikoo.js.org
|
175
|
+
twikoo:
|
176
|
+
enable: false
|
177
|
+
link: "https://cdn.staticfile.org/twikoo/1.6.30/twikoo.all.min.js"
|
178
|
+
mode: vercel # vercel或tencent
|
179
|
+
envId: "https://example.com" # twikoo环境ID,vercel填地址
|
180
|
+
region:
|
181
|
+
|
182
|
+
# https://waline.js.org/
|
183
|
+
waline:
|
184
|
+
enable: false
|
185
|
+
serverURL: ""
|
186
|
+
lang: "zh-CN"
|
187
|
+
locale: {} # https://waline.js.org/guide/features/i18n.html#%E8%87%AA%E5%AE%9A%E4%B9%89%E8%AF%AD%E8%A8%80
|
188
|
+
emoji: # 表情包
|
189
|
+
- https://unpkg.com/@waline/emojis@1.0.1/weibo
|
190
|
+
- https://unpkg.com/@waline/emojis@1.0.1/alus
|
191
|
+
- https://unpkg.com/@waline/emojis@1.0.1/bilibili
|
192
|
+
- https://unpkg.com/@waline/emojis@1.0.1/qq
|
193
|
+
- https://unpkg.com/@waline/emojis@1.0.1/tieba
|
194
|
+
- https://unpkg.com/@waline/emojis@1.0.1/tw-emoji
|
195
|
+
meta: # 可以填写的内容
|
196
|
+
- nick
|
197
|
+
- mail
|
198
|
+
- link
|
199
|
+
requiredMeta: # 必须填写的内容
|
200
|
+
- nick
|
201
|
+
- mail
|
202
|
+
wordLimit: 0 # 字数限制,0为不限制
|
203
|
+
pageSize: 10 # 每页评论条数
|
204
|
+
pageview: false # 是否开启浏览量统计,可独立开启
|
205
|
+
|
206
|
+
summary:
|
207
|
+
enable: false
|
208
|
+
introduce: "我是基于ChatGPT-turbo-3.5实现的AI助手,在此网站上负责整理和概括文章" # AI自我介绍
|
209
|
+
mode: openai # openai/custom
|
210
|
+
pricing: "trial" # trial为试用模板(3 RPM);pay为即用即付模板(60 RPM)
|
211
|
+
openai:
|
212
|
+
remote: "https://api.openai.com"
|
213
|
+
apikey: "key"
|
214
|
+
|
215
|
+
|
216
|
+
# Social Links
|
217
|
+
# Usage: `Key: permalink || icon || color`
|
218
|
+
# Key is the link label showing to end users.
|
219
|
+
# Value before `||` delimiter is the target permalink,
|
220
|
+
# secend value is the name of Font icon.
|
221
|
+
social:
|
222
|
+
github: https://github.com/name || github || "#191717"
|
223
|
+
#google: https://plus.google.com/yourname || google
|
224
|
+
#twitter: https://twitter.com/yourname || twitter || "#00aff0"
|
225
|
+
#zhihu: https://www.zhihu.com/people/yourname || zhihu || "#1e88e5"
|
226
|
+
#music: https://music.163.com/#/user/home?id=yourid || cloud-music || "#e60026"
|
227
|
+
#weibo: https://weibo.com/yourname || weibo || "#ea716e"
|
228
|
+
#about: https://about.me/yourname || address-card || "#3b5998"
|
229
|
+
# email: mailto:foo@xxx.com || envelope || "#55acd5"
|
230
|
+
#facebook: https://www.facebook.com/yourname || facebook
|
231
|
+
# stackoverflow: https://stackoverflow.com/ || stack-overflow
|
232
|
+
#youtube: https://youtube.com/yourname || youtube
|
233
|
+
#instagram: https://instagram.com/yourname || instagram
|
234
|
+
#skype: skype:yourname?call|chat || skype
|
235
|
+
#douban: https://www.douban.com/people/yourname/ || douban
|
236
|
+
|
237
|
+
sidebar:
|
238
|
+
# Sidebar Position.
|
239
|
+
position: left
|
240
|
+
# position: right
|
241
|
+
# Replace the default avatar image under <root>/source/_data/assets/ and set the url here.
|
242
|
+
avatar: avatar.jpg
|
243
|
+
|
244
|
+
widgets:
|
245
|
+
# if true, will show random posts
|
246
|
+
random_posts: true
|
247
|
+
# if true, will show recent comments
|
248
|
+
recent_comments: true
|
249
|
+
|
250
|
+
footer:
|
251
|
+
# Specify the date when the site was set up. If not defined, current year will be used.
|
252
|
+
since: 2022
|
253
|
+
icon:
|
254
|
+
name: sakura rotate
|
255
|
+
# Change the color of icon, using Hex Code.
|
256
|
+
color: "#ffc0cb"
|
257
|
+
# Dependencies: https://github.com/theme-next/hexo-symbols-count-time
|
258
|
+
count: true
|
259
|
+
powered: true
|
260
|
+
lantern:
|
261
|
+
enable: true #是否开启
|
262
|
+
word1: 中 #第一个字
|
263
|
+
word2: 秋 #第二个字
|
264
|
+
icp: # ICP备案
|
265
|
+
enable: false
|
266
|
+
icon: "beian.webp" #网安备案图片
|
267
|
+
icpnumber: "xxx" # ICP备案号
|
268
|
+
beian: "xxx" # 网安备案号
|
269
|
+
recordcode: "xxx" # 网安备案链接中的recordcode参数
|
270
|
+
|
271
|
+
post:
|
272
|
+
count: true
|
273
|
+
|
274
|
+
# 文章是否失效
|
275
|
+
outime:
|
276
|
+
enable: false
|
277
|
+
days: 90 # 超过 90 天文章失效
|
278
|
+
|
279
|
+
reward:
|
280
|
+
# If true, reward will be displayed in every article by default.
|
281
|
+
enable: true
|
282
|
+
account:
|
283
|
+
wechatpay: /wechatpay.png
|
284
|
+
alipay: /alipay.png
|
285
|
+
# paypal: /paypal.png
|
286
|
+
|
287
|
+
# TagCloud settings for tags page.
|
288
|
+
tagcloud:
|
289
|
+
# All values below are same as default, change them by yourself.
|
290
|
+
min: 16 # Minimun font size in px
|
291
|
+
max: 22 # Maxium font size in px
|
292
|
+
start: "#72cecf" # Start color (hex, rgba, hsla or color keywords)
|
293
|
+
end: "#ffbac3" # End color (hex, rgba, hsla or color keywords)
|
294
|
+
amount: 200 # Amount of tags, change it if you have more than 200 tags
|
295
|
+
|
296
|
+
# ---------------------------------------------------------------
|
297
|
+
# Third Party Plugins & Services Settings
|
298
|
+
# ---------------------------------------------------------------
|
299
|
+
|
300
|
+
# Creative Commons 4.0 International License.
|
301
|
+
# See: https://creativecommons.org/share-your-work/licensing-types-examples
|
302
|
+
# Available values of license: by | by-nc | by-nc-nd | by-nc-sa | by-nd | by-sa | zero
|
303
|
+
# You can set a language value if you prefer a translated version of CC license, e.g. deed.zh
|
304
|
+
# CC licenses are available in 39 languages, you can find the specific and correct abbreviation you need on https://creativecommons.org
|
305
|
+
creative_commons:
|
306
|
+
license: by-nc-sa
|
307
|
+
language: deed.zh
|
308
|
+
|
309
|
+
# bgm
|
310
|
+
# 不使用请打开noplayer功能
|
311
|
+
audio:
|
312
|
+
# - title: 列表1
|
313
|
+
# list:
|
314
|
+
# - https://music.163.com/#/playlist?id=2943811283
|
315
|
+
# - https://music.163.com/#/playlist?id=2297706586
|
316
|
+
# - title: 列表2
|
317
|
+
# list:
|
318
|
+
# - https://music.163.com/#/playlist?id=2031842656
|
319
|
+
|
320
|
+
# random image api
|
321
|
+
image_server: # "https://acg.xydwz.cn/api/api.php"
|
322
|
+
|
323
|
+
# Algolia Search
|
324
|
+
# For more information: https://www.algolia.com
|
325
|
+
search:
|
326
|
+
hits:
|
327
|
+
per_page: 10
|
328
|
+
|
329
|
+
# Dependencies: https://github.com/amehime/hexo-renderer-multi-markdown-it
|
330
|
+
pangu: false
|
331
|
+
|
332
|
+
# Quicklink Support
|
333
|
+
# For more information: https://github.com/GoogleChromeLabs/quicklink
|
334
|
+
quicklink:
|
335
|
+
# Custom a time in milliseconds by which the browser must execute prefetching.
|
336
|
+
timeout: 3000
|
337
|
+
# Default (true) will attempt to use the fetch() API if supported (rather than link[rel=prefetch]).
|
338
|
+
priority: true
|
339
|
+
|
340
|
+
# For more flexibility you can add some patterns (RegExp, Function, or Array) to ignores.
|
341
|
+
# See: https://github.com/GoogleChromeLabs/quicklink#custom-ignore-patterns
|
342
|
+
ignores:
|
343
|
+
|
344
|
+
#! ---------------------------------------------------------------
|
345
|
+
#! DO NOT EDIT THE FOLLOWING `vendors` SETTINGS
|
346
|
+
#! UNLESS YOU KNOW WHAT YOU ARE DOING
|
347
|
+
#! ---------------------------------------------------------------
|
348
|
+
vendors:
|
349
|
+
cdns:
|
350
|
+
npm_webcache: https://npm.webcache.cn
|
351
|
+
bytedance: https://lf9-cdn-tos.bytecdntp.com/cdn/expire-6-M
|
352
|
+
cdnjs_webcache: https://cdnjs.webstatic.cn/ajax/libs
|
353
|
+
cdnjs: https://cdnjs.cloudflare.com/ajax/libs
|
354
|
+
unpkg: https://unpkg.com
|
355
|
+
js:
|
356
|
+
pace: bytedance|pace/1.2.4/pace.min.js
|
357
|
+
# pjax: npm_webcache|theme-shokax-pjax@0.0.3/pjax.shokax.min.js
|
358
|
+
# anime: npm_webcache|theme-shokax-anime@0.0.6/anime.shokax.min.js
|
359
|
+
# lozad: npm_webcache|lozad@1.16.0/dist/lozad.min.js
|
360
|
+
algolia: bytedance|algoliasearch/4.12.1/algoliasearch-lite.umd.min.js
|
361
|
+
instantsearch: bytedance|instantsearch.js/4.39.0/instantsearch.production.min.js
|
362
|
+
quicklink: npm_webcache|quicklink@2.3.0/dist/quicklink.umd.js
|
363
|
+
# mouse_firework: npm_webcache|mouse-firework@0.0.4/dist/index.umd.js
|
364
|
+
async_js:
|
365
|
+
fancybox: 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
|
366
|
+
copy_tex: npm_webcache|katex@0.16.7/dist/contrib/copy-tex.min.js
|
367
|
+
css:
|
368
|
+
katex: npm_webcache|katex@0.16.7/dist/katex.min.css
|
369
|
+
comment: css/comment.css
|
370
|
+
fancybox: npm_webcache|@fancyapps/fancybox@3.5.7/dist/jquery.fancybox.min.css
|
371
371
|
justifiedGallery: npm_webcache|justifiedGallery@3.8.1/dist/css/justifiedGallery.min.css
|