-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_config.yun.yml
More file actions
409 lines (349 loc) · 7.71 KB
/
_config.yun.yml
File metadata and controls
409 lines (349 loc) · 7.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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
62
63
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
135
136
137
138
139
140
141
142
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
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
#头像
avatar:
enable: true
url: /images/rush.jpg
rounded: true
opacity: 1
mickey_mouse: true #头像两边
status:
enable: true
emoji: 🙏
message: 恭喜发财
#主题色
colors:
primary: '#6200ee'
#背景色
bg: '#F5F5F5'
selection_bg: '#8e71c1' # 选取文字时的背景色
# 标签云中标签的起始色和结束色
tag_start_color: '#F5F5F5'
tag_end_color: '#6200ee'
#标签
wordcloud:
enable: true
tags:
JAVA: '#4fc08d'
Retrofit: '#4fc08d'
Hexo: '#0E834D'
CSS: '#5298d1'
Node.js: '#026E00'
Git: '#F14E32'
Python: '#3776ab'
PHP: '#8892BF'
VS Code: '#0066B8'
JavaScript: '#F4DF4F'
JetPack : '#61dafb'
TypeScript: '#317AC6'
Laravel: '#F4645F'
#分类颜色
categories: #默认色 #333
笔记: dimgray
JAVA基础: '#4fc08d'
#网站图标-放在source文件夹下
favicon: /favicon.svg
# 预加载
preload:
style:
- /css/hexo-theme-yun.css
script:
- /js/hexo-theme-yun.js
prefetch:
script:
- /js/sidebar.js
dns_prefetch:
- https://cos.yunyoujun.cn
# do more(TCP handshake...) than dns-fetch
preconnect:
- https://cdn.jsdelivr.net
comment:
candidates:
- waline
# - giscus
tips:
- 如果您有任何关于博客内容的相关讨论,欢迎前往 <a href="https://github.com/YunYouJun/yunyoujun.github.io/discussions" target="_blank">GitHub Discussions</a> 与我交流。
#不能照抄
waline:
enable: true
serverURL: https://waline.yunyoujun.cn
visitor: true
comment: true
emoji:
locale:
placeholder: 填写邮箱,可以收到回复通知哦~
requiredMeta: [nick]
#-------
github_issues:
enable: false
github_discussions:
enable: false
engine_search:
enable: false
disqusjs:
enable: false
shortname: yunyoujun
apikey: ouoGQCaamOKdJgyZU5DKcpFnRIg3SNzvk0nwygPtlcTRJuE68c8igvrZGW4wAJoN
# https://github.com/laymonage/giscus
giscus:
enable: false
repo: YunYouJun/yunyoujun.github.io
repo-id:
category-id:
mapping: pathname
reactions-enabled: 1
emit-metadata: 0
theme: light
# If you want to use it, you need config algolia appID in _config.yml!!!
# https://github.com/oncletom/hexo-algolia
google_analytics:
enable: true
id: G-1LL0D86CY9
google_adsense:
enable: true
client: ca-pub-2245427233262012
post_edit:
enable: true
url: https://github.com/YunYouJun/yunyoujun.github.io/tree/hexo/source/
albums:
enable: true
cursor:
enable: true
baidu_push: true
google_tagmanager:
enable: true
id: GTM-M9KWR9L
#社交图标
social:
- name: GitHub
link: https://github.com/coder-Song
icon: ri:github-line
color: "#6e5494"
- name: NeteaseMusic
link: https://music.163.com/#/user/home?id=8774966028
icon: ri:netease-cloud-music-line
color: "#C20C0C"
- name: E-Mail
link: sun.guogee@outlook.com
icon: ri:mail-line
color: "#8E71C1"
# pjax:
# enable: true
# 首页-错落字体动画
banner:
enable: true
title: #数组形式来分割
-coder
-游
-乐
-园
border: true #左右边框
cloud: # 流动的云
enable: true
color: white
go_down: #向下箭头
enable: true
icon: ri:arrow-down-s-line
# 公告
notice:
enable: true
content:
# UI-亮暗模式
mode: auto #light/dark/time
#图片背景
bg_image:
enable: true
url: https://cdn.jsdelivr.net/gh/YunYouJun/cdn/img/bg/stars-timing-0-blur-30px.jpg
# dark:
# blur: 30px # 设置背景模糊程度
opacity: 0.8
#搜索背景
search:
modal: true
bg_image: https://cdn.jsdelivr.net/gh/YunYouJun/cdn/img/bg/stars-timing-2.jpg
dark_bg_image:
#随机多边形背景
trianglify:
enable: false
cellSize: 75
width: 800
height: 600
palette: '["YlGnBu", "GnBu", "Purples", "Blues"]'
opacity: 0.5
#烟花
fireworks:
enable: true
colors:
- '102, 167, 221'
- '62, 131, 225'
- '33, 78, 194'
#图片放大预览
medium_zoom: true
#卡片/图片滚动浮现
scrollreveal:
enable: true
targets:
- .post-card
- .markdown-body img
#头部资源-加载自定义资源
head:
css:
custom: /css/custom.css
#字体
font:
cdn:
enable: true
pre: https://cdn.jsdelivr.net/gh/coderSong/coder-song.github.io@latest
lib:
- https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@900&display=swap
serif:
family: '''Songti SC'', ''Noto Serif SC'', STZhongsong, STKaiti, KaiTi, Roboto, serif'
weight: 900
sans_serif:
family: '''PingFang SC'', ''Microsoft YaHei'', Roboto, Arial, sans-serif'
weight: 400
monospace:
family: '''Source Code Pro'', ''Courier New'', Courier, Consolas, Monaco, monospace'
js:
base:
- xxx
async:
# 默认引入的图标资源,使用 iconfont
iconfont: //at.alicdn.com/t/font_1140697_dxory92pb0h.js
defer:
#覆盖iconfont
js:
async:
iconfont:
iconify:
global: true
#侧边栏-背景与标签
sidebar:
bg_image: https://cdn.jsdelivr.net/gh/YunYouJun/cdn/img/bg/stars-timing-1.jpg
bg_position: bottom 3rem center
tagcloud:
enable: false
amount: 20
#导航
menu:
custom:
title: 留言板
path: /about/#comment
icon: ri:clipboard-line
home:
path: /
icon: ri:home-4-line
list:
- type: archives
path: /archives/
icon: ri:archive-line
- type: categories
path: /categories/
icon: ri:folder-2-line
- type: tags
path: /tags/
icon: ri:price-tag-3-line
# 页面链接-
pages :
- name: 我的小伙伴们
url: /links/
icon: ri:genderless-line
color: dodgerblue
#文章
post_card:
opacity: 0.8 #文章卡片透明度
types:
github:
color: black
icon: ri:github-line
notion:
color: black
icon: ri:notion
post_meta:
item_text: false
created_at: true
updated_at: true
categories: true
tags: true
# 目录显示
toc:
list_number: true #显示编号
max_depth: 6 #生成TOC的最大深度
min_depth: 1 #生成TOC的最小深度
placeholder: 很遗憾,您还没开始动笔哦! #占位符
collapse: false # 折叠-隐藏层级目录
# 编辑链接
# 打赏
reward:
enable: true
comment: 感谢您的 精准扶贫
methods:
- name: 微信
path: images/WeChat.jpg
color: "#2DC100"
icon: ri:wechat-pay-line
- name: 支付宝
path: images/Alipay.jpg
color: "#00A3EE"
icon: ri:alipay-line
# 代码高亮
highlight:
enable: false # 关闭 highlight
prismjs: # 启用 prism
enable: true
preprocess: true
line_number: false
tab_replace: ''
# 代码块
codeblock:
copy_btn: true #一键复制按钮
# 图片懒加载-默认开启,将会为Markdown图片img加上loading="lazy"属性
lazyload:
enable:true
#文章分享版权
creative_commons:
license: by-nc-sa #设置证书
language: deed.zh #设置语言
post: true #在每篇文章末尾显示
clipboard: true #在剪切板中追加版权信息
#页脚
footer:
since: 2022 #起始年份
icon: #年份名称中间图标
name: ri:cloud-line
animated: true
color: '#0078E7'
url: https://sponsors.coderSong.cn
title: coderSong的赞助者们
powered: #驱动
enable: true
support:
enable: true
title: 又拍云
link: https://www.upyun.com
logo: https://cdn.yunyoujun.cn/img/logo/upyun-logo.png
prefix: 本网站由
suffix: 提供 CDN 加速
custom_text: #自定义
#随机话语
say:
enable: true
api: https://cdn.jsdelivr.net/gh/ElpsyCN/say@gh-pages/sentences.json
# https://developer.hitokoto.cn/sentence/
#默认使用一言
hitokoto:
enable: true
api: https://v1.hitokoto.cn
#自定义图标
icons:
# 返回顶部
back_to_top: ri:arrow-up-s-line
# 分类
category: ri:folder-2-line
# 标签
tag: ri:price-tag-3-line
# 拜访
view: ri:eye-line
#默哀
mourn:
enable: true
days:
- 12-13