-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_config.yun.yml
727 lines (652 loc) · 18.7 KB
/
_config.yun.yml
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
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
# ---------------
# mode: light | dark | auto | time
mode: auto
# Theme color for customize
# Notice: color value must in double quotes: "#000000"
colors:
primary: "#0078E7"
# primary: "#6200ee"
bg: "#f5f5f5"
selection_bg: "#8e71c1"
tag_start_color: "#999999"
tag_end_color: "#0078E7"
dark:
block: "#1b1f2e"
# block: "#17202A"
# Favicon
# ---------------
favicon: https://cdn.jsdelivr.net/gh/ccknbc-backup/cdn/logo/favicon.png
# ---------------------------------------------------------------
# Sidebar Settings
# ---------------------------------------------------------------
# Posts / Categories / Tags in sidebar.
sidebar:
src: https://cdn.jsdelivr.net/gh/ccknbc/yun/js/sidebar.js
bg_image: https://cdn.jsdelivr.net/gh/YunYouJun/cdn@master/img/bg/alpha-stars-timing-1.webp
dark_bg_image: https://cdn.jsdelivr.net/gh/YunYouJun/cdn@master/img/bg/dark-alpha-stars-timing-1.webp
bg_position: bottom 1rem center
tagcloud:
enable: true
amount: 20
toc:
list_number: true
max_depth: 6
min_depth: 1
# placeholder: 很遗憾,咱没写啥目录
collapse: true
# Social Links.
social:
# - name: RSS
# # set rss in your root config
# # https://github.com/hexojs/hexo-generator-feed
# link: /yun/rss.xml # config.feed.path
# icon: icon-rss-line
# color: orange
- name: QQ 群
# https://isux.tencent.com/wp-content/uploads/2016/05/20160512101222609.pdf
link: https://shang.qq.com/wpa/qunwpa?idkey=c929e704022704d8cced9ec355d44a3fa7ad34aea12cef1de03d75d3d7d5b059
icon: icon-qq-line
color: "#12B7F5"
- name: GitHub
link: https://github.com/YunYouJun
icon: icon-github-line
color: "#6e5494"
- name: 微博
link: https://weibo.com/jizhideyunyoujun
icon: icon-weibo-line
color: "#E6162D"
- name: 豆瓣
link: https://www.douban.com/people/yunyoujun/
icon: icon-douban-line
color: "#007722"
- name: 网易云音乐
link: https://music.163.com/#/user/home?id=247102977
icon: icon-netease-cloud-music-line
color: "#C20C0C"
- name: 知乎
link: https://www.zhihu.com/people/yunyoujun/
icon: icon-zhihu-line
color: "#0084FF"
- name: 哔哩哔哩
link: https://space.bilibili.com/1579790
icon: icon-bilibili-line
color: "#FF8EB3"
# - name: POPI
# link: https://www.popiask.cn/elpsycn
# icon: icon-questionnaire-line
# color: "#525252"
# - name: 微信公众号
# link: https://cdn.jsdelivr.net/gh/YunYouJun/cdn/img/about/white-qrcode-and-search.jpg
# icon: icon-wechat-2-line
# color: "#1AAD19"
- name: Twitter
link: https://twitter.com/YunYouJun
icon: icon-twitter-line
color: "#1da1f2"
# - name: Telegram
# link: https://t.me/YunYouJun
# icon: icon-telegram-line
# color: "#0088CC"
- name: Telegram Channel
link: https://t.me/elpsycn
# icon: icon-telegram-fill
icon: icon-telegram-line
color: "#0088CC"
- name: E-Mail
link: mailto:me@yunyoujun.cn
icon: icon-mail-line
color: "#8E71C1"
- name: Travelling
link: https://travellings.now.sh/
icon: icon-send-plane-2-line
color: black
codeblock:
copy_btn: true
prismjs:
light: default
dark: tomorrow
# Extra links
pages:
- name: 我的小伙伴们
url: /links/
icon: icon-genderless-line
color: dodgerblue
# pages
# -------
# friend
anonymous_image: https://cdn.jsdelivr.net/gh/YunYouJun/cdn/img/avatar/none.jpg
albums:
enable: false
icon: icon-gallery-line
src: https://cdn.jsdelivr.net/gh/ccknbc/yun/js/gallery-decrypt.js
girls:
enable: false
# Sidebar Avatar
avatar:
enable: true
url: https://cdn.jsdelivr.net/gh/ccknbc-backup/cdn/logo/logo.png
# If true, the avatar would be dispalyed in circle.
rounded: true
# The value of opacity should be choose from 0 to 1 to set the opacity of the avatar.
opacity: 1
mickey_mouse: true
status:
enable: true
emoji: 😊
message: 永远相信美好的事情即将发生
# main menu navigation
menu:
home:
path: /
icon: icon-home-4-line
list:
- type: archives
path: /archives/
icon: icon-archive-line
- type: categories
path: /categories/
icon: icon-folder-2-line
- type: tags
path: /tags/
icon: icon-price-tag-3-line
custom:
title: 文档
path: https://yun.yunyoujun.cn
icon: icon-settings-line
# archive
archive:
last_word: 没有更多的黑历史了_(:з」∠)_
wordcloud:
enable: true
height: 350
# You can set color for every tag or category.
tags:
Vue: "#4fc08d"
Hexo: "#0E83CD"
CSS: "#5298d1"
Node.js: "#026E00"
Git: "#F14E32"
React: "#61dafb"
Python: "#3776ab"
PHP: "#8892BF"
VS Code: "#0066B8"
JavaScript: "#F4DF4F"
TypeScript: "#317AC6"
Laravel: "#F4645F"
categories:
笔记: dimgray
# post type
types:
link:
color: blue
icon: icon-external-link-line
bilibili:
color: "#FF8EB3"
icon: icon-bilibili-line
douban:
color: "#007722"
icon: icon-douban-line
github:
color: black
icon: icon-github-line
netease-cloud-music:
color: "#C10D0C"
icon: icon-netease-cloud-music-line
notion:
color: black
icon: icon-notion
twitter:
color: "#1da1f2"
icon: icon-twitter-line
wechat:
color: "#1AAD19"
icon: icon-wechat-2-line
weibo:
color: "#E6162D"
icon: icon-weibo-line
yuque:
color: "#25b864"
icon: icon-yuque
zhihu:
color: "#0084FF"
icon: icon-zhihu-line
# post_card
post_card:
opacity: 0.9
# link
# -------
preload:
style:
- https://cdn.jsdelivr.net/gh/ccknbc/yun/css/hexo-theme-yun.css
script:
- https://cdn.jsdelivr.net/gh/ccknbc/yun/js/utils.js
- https://cdn.jsdelivr.net/gh/ccknbc/yun/js/hexo-theme-yun.js
prefetch:
script:
- https://cdn.jsdelivr.net/gh/ccknbc/yun/js/sidebar.js
dns_prefetch:
# - https://xxx
# do more(TCP handshake...) than dns-fetch
preconnect:
- https://cdn.jsdelivr.net
# img loading="lazy"
lazyload:
enable: true
# pjax
pjax:
enable: true
src: https://cdn.jsdelivr.net/gh/ccknbc/yun/js/pjax.js
# stylesheets loaded in the <head>
css:
- /css/hexo-theme-yun.css
# scripts loaded in the end of the body
js:
- /js/utils.js
- /js/hexo-theme-yun.js
# custom your assets in head
head:
css:
js:
base:
async:
defer:
# cdn for third-party library (always include)
cdn:
pre: ""
# pre: https://cdn.jsdelivr.net/gh/YunYouJun/yunyoujun.github.io
css:
yun-markdown-css: https://cdn.jsdelivr.net/npm/star-markdown-css@0.1.22/dist/yun/yun-markdown.min.css
# github-markdown-css: https://cdn.jsdelivr.net/npm/github-markdown-css@4.0.0/github-markdown.css
js:
base:
async:
iconfont: //at.alicdn.com/t/font_1140697_ed8vp4atwoj.js
defer:
# cdn for third-party library (alternative include)
# please see in _vendors.yml
vendors:
# UI
banner:
enable: true
title: 云游君的小站
src: https://cdn.jsdelivr.net/gh/ccknbc/yun/js/ui/banner.js
border: true
cloud:
enable: true
color: "white"
go_down:
enable: true
icon: icon-arrow-down-s-line
# You can import the font you want in the head.
font:
cdn:
enable: true
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', Consolas, Monaco, SFMono-Regular, 'Ubuntu Mono', Menlo, monospace"
# custom your color in fireworks
fireworks:
enable: true
src: https://cdn.jsdelivr.net/gh/ccknbc/yun/js/ui/fireworks.js
colors:
- "102, 167, 221"
- "62, 131, 225"
- "33, 78, 194"
# - '3, 28, 95'
# - '0, 8, 55'
# https://github.com/qrohlf/trianglify
trianglify:
enable: false
cell_size: 75
width: 800
height: 600
# https://github.com/qrohlf/trianglify/blob/master/src/utils/colorbrewer.js
palette: '["YlGnBu", "GnBu", "Purples", "Blues"]'
opacity: 0.5
cursor:
enable: true
default: https://cdn.jsdelivr.net/gh/YunYouJun/cdn/css/md-cursors/pointer.cur
pointer: https://cdn.jsdelivr.net/gh/YunYouJun/cdn/css/md-cursors/link.cur
text: https://cdn.jsdelivr.net/gh/YunYouJun/cdn/css/md-cursors/text.cur
smoothScroll: true
# You can see effect in https://scrollrevealjs.org/
scrollreveal:
enable: true
targets:
- .post-card
- .post-content img
bg_image:
enable: true
url: https://cdn.jsdelivr.net/gh/YunYouJun/cdn/img/bg/stars-timing-0-blur-30px.jpg # recomend image related to your mode
dark: https://cdn.jsdelivr.net/gh/YunYouJun/cdn/img/bg/galaxy.jpg
# blur: 30px
opacity: 1
# Reward (Donate)
# If enable true, reward would be displayed in every posts and pages by default.
# You can show or hide reward in a specific page throuth `reward: true | false` in Front Matter.
reward:
enable: false
icon: icon-hand-coin-line
comment: I'm so cute. Please give me money.
# url: https://github.com/YunYouJun/yunyoujun.github.io/issues/96
methods:
- name: 支付宝
path: https://cdn.jsdelivr.net/gh/YunYouJun/cdn/img/donate/alipay-qrcode.jpg
color: "#00A3EE"
icon: icon-alipay-line
- name: QQ 支付
path: https://cdn.jsdelivr.net/gh/YunYouJun/cdn/img/donate/qqpay-qrcode.png
color: "#12B7F5"
icon: icon-qq-line
- name: 微信支付
path: https://cdn.jsdelivr.net/gh/YunYouJun/cdn/img/donate/wechatpay-qrcode.jpg
color: "#2DC100"
icon: icon-wechat-pay-line
# - name: paypal
# link: https://paypal.com
# path: https://www.paypalobjects.com/images/shared/paypal-logo-129x32.svg
# color: "#2D70B5"
# icon: icon-paypal-line
# Creative Commons 4.0 International License.
# https://creativecommons.org/licenses/
# Available values of license: by | by-nc | by-nc-nd | by-nc-sa | by-nd | by-sa | zero
# You can set a language value if you prefer a translated version of CC license.
# CC licenses are available in 39 languages, where you can find the specific and correct abbreviation you need.
# Valid values of language: deed.zh, deed.en, deed.ja, etc.
creative_commons:
license: by-nc-sa
language: deed.zh
post: true
clipboard: true
# AddThis Share, See: https://www.addthis.com
# Go to https://www.addthis.com/dashboard to customize your tools.
# add_this_id:
# Post edit
# Dependencies: https://github.com/hexojs/hexo-deployer-git
post_edit:
enable: true
url: https://github.com/ccknbc-actions/blog-yun/edit/master/source/ # Link for view source.
# Footer Settings
# ---------------
footer:
since: 2020
# Icon between year and copyright info.
icon:
# `heart` is recommended with animation in red (#ff0000).
name: icon-cloud-line
# If you want to animate the icon, set it to true.
animated: true
# Change the color of icon, using Hex Code.
color: "#0078E7"
powered:
# Hexo link (Powered by Hexo).
enable: true
# Beian icp information for Chinese users. In China, every legal website should have a beian icp in website footer.
# http://www.beian.miit.gov.cn
beian:
enable: true
icp: 鄂ICP备2020019764号
live_time:
enable: true
prefix: 本博客已萌萌哒地运行
suffix: (●'◡'●)
start_time: "2020-06-04T00:00:00"
# Any custom text can be defined here.
# custom_text: Hosted by <a href="https://pages.coding.me" rel="noopener" target="_blank">Coding Pages</a>
# Post meta display settings
post_meta:
item_text: true
created_at: true
updated_at: true
categories: true
tags: true
# notice pin board
notice:
enable: false
content: Thanks for watching my blog.
# third party
# ----------------
# say something
# https://say.elpsy.cn
say:
enable: true
# api: https://say.elpsy.cn/sentences.json
# /data/sentences.json
api: https://cdn.jsdelivr.net/gh/ElpsyCN/say@gh-pages/sentences.json
# src is the script
src: https://cdn.jsdelivr.net/gh/ccknbc/yun/js/say.js
# https://developer.hitokoto.cn/sentence/
hitokoto:
enable: true
api: https://v1.hitokoto.cn
# api: https://v1.hitokoto.cn?c=a&c=b&c=c&c=d&c=k
# you can new JSON file in your blog root folder
# example: source/data/sentences.json
# then set say.api: /data/sentences.json
# Example: https://say.elpsy.cn/sentences.json
# Comments
# -------
comment:
enable: true
icon: icon-chat-3-line
tips:
- 点击按钮跳转 GitHub Issues 评论
- 若没有本文 Issue,您可以使用 Comment 模版新建
# GitHub Issues Link Button
# https://help.github.com/en/github/searching-for-information-on-github/searching-issues-and-pull-requests
github_issues:
enable: true
username: ccknbc-backup
repository: comments
filters: is:issue
# Valine
# You can get your appid and appkey from https://leancloud.cn
# More info available at https://valine.js.org
# extend: https://github.com/DesertsP/Valine-Admin
valine:
enable: false
appId: # your leancloud application appid
appKey: # your leancloud application appkey
placeholder: Just go go # comment box placeholder
avatar: # gravatar style
# meta:
# - nick
# - mail
# - link
pageSize: 10 # pagination size
# lang: zh-CN
visitor: false
highlight: true
recordIP: false
# serverURLs:
# Emoji See: https://valine.js.org/emoji.html
# emojiCDN: //i0.hdslb.com/bfs/emote/
# emojiMaps:
# tv_doge: 6ea59c827c414b4a2955fe79e0f6fd3dcd515e24.png
# more...
enableQQ: true
# requiredFields:
# - nick
# - mail
# MiniValine
# You can get your appid and appkey from https://leancloud.cn
# More info available at https://github.com/MiniValine/MiniValine
minivaline:
enable: false
appId: # Your leancloud application appId
appKey: # Your leancloud application appKey
# mode: DesertsP # DesertsP or xCss # xCss Style mode needs to import fontawesome@5 https://github.com/YunYouJun/hexo-theme-yun/blob/dev/docs/guide/config.md#其他图标
# placeholder: Write a Comment # Comment box placeholder
# math: true # Support MathJax.
# md: true # Support Markdown.
# NoRecordIP: false # Do not record commenter IP.
# visitor: true # Article reading statistics.
# maxNest: 6 # Sub-comment maximum nesting depth.
# pageSize: 6 # Pagination size.
# adminEmailMd5: de8a7aa53d07e6b6bceb45c64027763d # The MD5 of Admin Email to show Admin Flag.[Just Only DesertsP Style mode] 示例: Admin 邮箱的小写 MD5
# tagMeta: # The String Array of Words to show Flag.[Just Only xCss Style mode]
# - 管理员 # 示例: master tag
# - 小伙伴 # 示例: friends tag
# - 访客 # 示例: 访客 tag
# master: # The MD5 String Array of master Email to show master Flag.[Just Only xCss Style mode]
# - de8a7aa53d07e6b6bceb45c64027763d # 示例: master 邮箱的小写 MD5
# friends: # The MD5 String Array of friends Email to show friends Flag.[Just Only xCss Style mode]
# - b5bd5d836c7a0091aa8473e79ed4c25e # 示例: friend 邮箱的小写 MD5
# MiniValine's display language depends on user's browser or system environment
# If you want everyone visiting your site to see a uniform language, you can set a force language value
# Available values: en | zh-CN | (and many more)
# More i18n info: https://github.com/MiniValine/minivaline-i18n
# lang:
# Expression Url.
# https://github.com/MiniValine/MiniValine/blob/master/.github/FAQ.md#how-to-customize-emoticons
# emoticonUrl:
# - https://cdn.jsdelivr.net/npm/alus@latest
# - https://cdn.jsdelivr.net/gh/MiniValine/qq@latest
# - https://cdn.jsdelivr.net/gh/MiniValine/Bilibilis@latest
# - https://cdn.jsdelivr.net/gh/MiniValine/tieba@latest
# - https://cdn.jsdelivr.net/gh/MiniValine/twemoji@latest
# - https://cdn.jsdelivr.net/gh/MiniValine/weibo@latest
# http://disqus.com/
disqus:
enable: false
shortname: yunyoujun
count: false
# https://github.com/SukkaW/DisqusJS
disqusjs:
enable: true
shortname: ccknbc
count: true
apikey: Z6F8Gc9KvW2YCh6p11VRVNvMBYfdaKR3IMRFLVmoYaIQJ2ysp38fZ9tivPdgyBWu
siteName: CC的部落格
identifier:
url:
title:
nesting: 4
nocomment: 这里冷冷清清的,一条评论也没有,快来留下脚印吧!
admin: ccknbc
adminLabel: ccknbc
# https://livere.com/
livere:
enable: false
uid:
# https://github.com/utterance/utterances
utterances:
enable: true
repo: ccknbc-backup/comments
issue-term: url
label: 💬comment
theme: github-light
# Show Views / Visitors of the website / page with busuanzi.
# Get more information on http://ibruce.info/2015/04/04/busuanzi
busuanzi:
enable: true
site_uv: true
site_uv_icon: icon-user-line
site_pv: true
site_pv_icon: icon-eye-line
page_pv: true
page_pv_icon: icon-eye-line
# Post wordcount
# https://github.com/willin/hexo-wordcount
wordcount:
enable: true
count: true
time: true
# search
search:
bg_image: https://cdn.jsdelivr.net/gh/YunYouJun/cdn/img/bg/stars-timing-0-blur-30px.jpg
dark_bg_image: https://cdn.jsdelivr.net/gh/YunYouJun/cdn/img/bg/mountain-blur-30px.jpg
# placeholder: 想要搜些什么?
engine_search:
enable: false
href: "https://www.google.com/search?q=site:"
# href: "https://www.baidu.com/s?wd=site:"
# href: "https://www.bing.com/search?q=site:"
domain: yunyoujun.cn
# https://github.com/wzpan/hexo-generator-search
local_search:
enable: true
src: https://cdn.jsdelivr.net/gh/ccknbc/yun/js/search/local-search.js
# https://github.com/oncletom/hexo-algolia
algolia_search:
enable: false
src: https://cdn.jsdelivr.net/gh/ccknbc/yun/js/search/algolia-search.js
hits:
per_page: 8 # the number of search results per page
# Ads
# ---------------
# Google Adsense
google_adsense:
enable: false
client: ca-pub-2245427233262012
# Analysis
# ---------------
google_analytics:
enable: false
id: UA-170656478-1
# Google Tagmanager
google_tagmanager:
enable: true
id: UA-170656478-1
# That is it only render those page which has `katex: true` in Front-matter.
# math fomula
# https://katex.org/
katex:
copy_tex: true
global: false
# plugins
aplayer:
global: false
meting: true
# https://github.com/metowolf/MetingJS/tree/v1.2#option
widget:
enable: false
autoplay: false
# theme: "#2980b9"
loop: all
order: list
preload: auto
volume: 0.7
mutex: true
lrcType: 0
listFolded: false
listMaxHeight: 340px
audio:
- name: 星宿计时
artist: 杉田朗/洛天依
url: https://cdn.jsdelivr.net/gh/YunYouJun/cdn/audio/star-timer.mp3
cover: https://cdn.jsdelivr.net/gh/YunYouJun/cdn/img/bg/stars-timing-0.jpg
meting:
enable: true
id: 308168565
server: netease
type: playlist
# special
mourn:
enable: true
days:
- "4-4"
- "9-18"
- "12-13"
# SEO
# https://ziyuan.baidu.com/linksubmit/index
baidu_push: true
# custom (You can use variables.)
custom:
style: # source/_data/style/*
# slide
slide:
separator: ---
separator_vertical: "~~"
data_separator_notes: "^Note:"
theme: white
config:
history: true
mouseWheel: false