-
-
Notifications
You must be signed in to change notification settings - Fork 168
/
_config.yml
327 lines (294 loc) · 9.96 KB
/
_config.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
# Theme color for customize
# Notice: color value must in double quotes like "#000" or may cause error!
# ---------------
# color
color:
# primary: '#8e71c1'
# primary: '#6200ee'
primary: '#0078E7'
# paginator: "#00C4B6"
# button_hover: "#FF7242"
# text_selection: "#00C4B6"
# link_color: "#858585"
# hr_color: "#A4D8FA"
tag_start_color: "#999999"
tag_end_color: "#1B9EF3"
# https://www.jsdelivr.com
# ---------------------------------------------------------------
# Sidebar Settings
# ---------------------------------------------------------------
# Posts / Categories / Tags in sidebar.
site_state: true
# Set rss to false to disable feed link.
# Leave rss as blank to use site's feed link, and install hexo-generator-feed: `npm install hexo-generator-feed --save`.
# Set rss to specific value if you have burned your feed already.
rss:
rss_icon: icon-rss-line
# Social Links.
social:
QQ:
link: http://wpa.qq.com/msgrd?v=3&uin=910426929&site=qq&menu=yes
icon: icon-qq-line
color: '#EB1923'
GitHub:
link: https://github.com/YunYouJun
icon: icon-github-line
color: '#181717'
E-Mail:
link: mailto:me@yunyoujun.cn
icon: icon-mail-line
微博:
link: https://weibo.com/jizhideyunyoujun
icon: icon-weibo-line
color: '#E6162D'
豆瓣:
link: https://www.douban.com/people/yunyoujun/
icon: icon-douban-line
color: '#007722'
网易云音乐:
link: https://music.163.com/#/user/home?id=247102977
icon: icon-netease-cloud-music-line
color: '#C10D0C'
知乎:
link: https://www.zhihu.com/people/yunyoujun/
icon: icon-zhihu-line
color: '#0084FF'
哔哩哔哩动画:
link: https://space.bilibili.com/1579790
icon: icon-tv-line
color: '#FF8EB3'
# bangumi: http://bangumi.tv/user/yunyoujun || television
# pixiv: https://pixiv.me/yunyoujun || paint-brush
# Google: https://plus.google.com/yourname || google
# Twitter: https://twitter.com/yunyoujun || twitter
# FB Page: https://www.facebook.com/yourname || facebook
# StackOverflow: https://stackoverflow.com/yourname || stack-overflow
# YouTube: https://youtube.com/yourname || youtube
# Instagram: https://instagram.com/yourname || instagram
# Skype: skype:yourname?call|chat || skype
links:
enable: false
icon: icon-open-arm-line
title: 我的小伙伴们
url: /links
banner: 云游君的小站
# Sidebar Avatar
avatar:
url: /images/avatar.jpg
# If true, the avatar would be dispalyed in circle.
rounded: false
# The value of opacity should be choose from 0 to 1 to set the opacity of the avatar.
opacity: 1
# main menu navigation
menu:
home:
path: /
icon: icon-home-4-line
archives:
path: /archives
icon: icon-archive-line
tags:
path: /tags
icon: icon-price-tag-3-line
categories:
path: /categories
icon: icon-folder-2-line
about:
path: /about
icon: icon-information-line
# Favicon
# ---------------
favicon: /starry-favicon.ico
# stylesheets loaded in the <head>
css:
- /css/hexo-theme-starry.css
# scripts loaded in the end of the body
js:
- /js/hexo-theme-starry.js
- /js/utils.js
- /js/starry-boot.js
- /js/component/sidebar.js
- /js/scroll.js
# cdn for third-party library (always include)
cdn:
pre: https://cdn.jsdelivr.net/gh/YunYouJun/cdn
# pre: https://cdn.yunyoujun.cn
css:
# font
# font: https://fonts.googleapis.com/css?family=Noto+Serif+SC|ZCOOL+XiaoWei&display=swap
# font: https://fonts.googleapis.com/css?family=Open+Sans:300&display=swap
# font: https://fonts.loli.net/css?family=Montserrat
# icon
# material-design-icons: https://fonts.googleapis.com/icon?family=Material+Icons+Outlined
# markdown
# github-markdown-css: https://cdnjs.cloudflare.com/ajax/libs/github-markdown-css/3.0.1/github-markdown.min.css
# star-markdown-css: https://unpkg.com/star-markdown-css@0.0.3/dist/star/star-common.min.css
# star-markdown-css: https://cdn.jsdelivr.net/npm/star-markdown-css@0.0.3/dist/star/star-markdown.min.css
# blood-markdown-css: https://unpkg.com/star-markdown-css@0.0.3/dist/blood/blood-common.min.css
# lib
fancybox: //cdn.jsdelivr.net/npm/@fancyapps/fancybox/dist/jquery.fancybox.min.css
material:
# - https://cdn.jsdelivr.net/npm/material-components-web/dist/material-components-web.min.css
- https://cdn.jsdelivr.net/npm/@material/layout-grid/dist/mdc.layout-grid.min.css
- https://cdn.jsdelivr.net/npm/@material/ripple/dist/mdc.ripple.min.css
animate.css: //cdn.jsdelivr.net/npm/animate.css@latest/animate.min.css
js:
# icon
iconfont: //at.alicdn.com/t/font_1140697_krj818zny2.js
# ui
anime: //cdn.jsdelivr.net/npm/animejs@latest/anime.min.js
jquery: //cdn.jsdelivr.net/npm/jquery@latest/dist/jquery.min.js
fancybox: //cdn.jsdelivr.net/npm/@fancyapps/fancybox/dist/jquery.fancybox.min.js
velocity: //cdn.jsdelivr.net/npm/velocity-animate@latest/velocity.min.js
velocity-ui: //cdn.jsdelivr.net/npm/velocity-ui-pack@latest/velocity.ui.min.js
material:
# - https://cdn.jsdelivr.net/npm/material-components-web/dist/material-components-web.min.js
- https://cdn.jsdelivr.net/npm/@material/ripple/dist/mdc.ripple.min.js
# cdn for third-party library (alternative include)
vendors:
algolia_instant_css: //cdn.jsdelivr.net/npm/instantsearch.js@2/dist/instantsearch.min.css
algolia_instant_js: //cdn.jsdelivr.net/npm/instantsearch.js@2/dist/instantsearch.min.js
css_doodle: //cdn.jsdelivr.net/npm/css-doodle@latest/css-doodle.min.js
gitalk_css: //cdn.jsdelivr.net/npm/gitalk/dist/gitalk.css
gitalk_js: //cdn.jsdelivr.net/npm/gitalk/dist/gitalk.min.js
valine_js: //cdn.jsdelivr.net/npm/valine/dist/Valine.min.js
fireworks: /js/ui/fireworks.js
rymd: /js/ui/rymd.js
ui:
css_doodle: false
fireworks: true
rymd: false
bg_image:
enable: true
url: https://cdn.jsdelivr.net/gh/YunYouJun/cdn/img/bg/alice-kirito-eugeo.jpg
# Article
# ---------------
# Code Highlight theme
# Available values: normal | night | night eighties | night blue | night bright
# https://github.com/chriskempson/tomorrow-theme
highlight_theme: normal
# Reward (Donate)
reward_settings:
# If true, reward would be displayed in every article by default.
# You can show or hide reward in a specific article throuth `reward: true | false` in Front Matter.
enable: true
#comment: Donate comment here
reward:
wechatpay:
path: /img/donate/wechatpay-qrcode.jpg
color: '#2DC100' #7BB32E
alipay:
path: /img/donate/alipay-qrcode.jpg
color: '#00A3EE'
# Creative Commons 4.0 International License.
# See: https://creativecommons.org/share-your-work/licensing-types-examples
# 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.fr, deed.de, etc.
creative_commons:
license: by-nc-sa
sidebar: false
post: true
language: deed.zh
# 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: false
url: https://github.com/user-name/repo-name/tree/branch-name/subdirectory-name # Link for view source.
# Comments
# -----------
# gitalk
# See: https://github.com/gitalk/gitalk
gitalk:
enable: false
clientID: # Github Application Client ID
clientSecret: # Github Application Client Secret
repo: # GitHub repo
owner: # GitHub repo owner
admin: # GitHub repo owner and collaborators, only these guys can initialize github issues
# Valine
# You can get your appid and appkey from https://leancloud.cn
# More info available at https://valine.js.org
valine:
enable: false
appId: # your leancloud application appid
appKey: # your leancloud application appkey
serverURLs:
notify: false # mail notifier, See: https://github.com/xCss/Valine/wiki
verify: false # Verification code
placeholder: Just go go # comment box placeholder
avatar: # gravatar style
meta: nick,mail,link # custom comment header
pageSize: 10 # pagination size
# Footer Settings
# ---------------
footer:
since: 2018
# 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
# Version info of Hexo after Hexo link (vX.X.X).
version: 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: false
# icp: 苏ICP备xxxxxxxx号
# Any custom text can be defined here.
# custom_text: Hosted by <a href="https://pages.coding.me" class="theme-link" rel="noopener" target="_blank">Coding Pages</a>
# 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 meta display settings
post_meta:
item_text: true
created_at: true
updated_at: true
categories: true
tags: true
# Post wordcount display settings
# Dependencies: https://github.com/theme-next/hexo-symbols-count-time
symbols_count_time:
item_text_post: true
item_text_total: true
awl: 2
wpm: 250
# search
# https://github.com/wzpan/hexo-generator-search
local_search:
enable: false
algolia_search:
enable: false
hits:
per_page: 10 # the number of search results per page
# Ads
# ---------------
# Google Adsense
google_adsense:
enable: false
client: ca-pub-xxxxxxxxxx
enable_page_level_ads: true
# Analysis
# ---------------
google_analytics:
enable: false
id: UA-XXXXXXXXX-X