-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path_config.yml
515 lines (442 loc) · 16.3 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
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
# ---------------------------------------------------------------
# Basic
# ---------------------------------------------------------------
# Appearance
appearance:
# Accent color, default '#2a2b33'
accent_color: '#808080'
# Font color, default '#363636'
foreground_color:
# Border color, default '#e0e0e0'
border_color:
# body background, default '#f5f7fa'
background: images/dust_scratches.png
# Sidebar background (when opened), default to accent_color
sidebar_background:
# Card background, default '#fff'
card_background:
# All background settings above support image, e.g.,
# '//www.toptal.com/designers/subtlepatterns/patterns/confectionary.png #f5f7fa' or
# 'url(//www.toptal.com/designers/subtlepatterns/patterns/confectionary.png) #f5f7fa'
# Maximum width of content
content_width: 75%
# Fonts
font:
# Url of font css file
# Below is a font set containing Baloo Bhaijaan, Josefin Sans, Montserrat and Inconsolata from Google Fonts.
# url: //fonts.googleapis.com/css?family=Baloo+Bhaijaan|Inconsolata|Josefin+Sans|Montserrat
url: //vkceyugu.cdn.bspapp.com/VKCEYUGU-5a7313a3-81df-49ad-941e-33cab30695e9/5a5267bb-9936-4a71-ab24-6ee2da219dbd.css
# Base font which applied to body
base: "'Josefin Sans', 'PingFang SC'"
# Sidebar author font, fallback to `base`
logo:
# Sidebar menu font, fallback to `base`
menu: 'Baloo Bhaijaan'
# Font for:
# - percentage on the fab button
# - month text on archives page
# - count
# - pager
# - toc index
# - category pill
# fallback to `base`
label: Montserrat
# Headline(h1, h2, h3, h4, h5, h6) font, fallback to `base`
heading:
# Code and code block
code: Inconsolata, monospace
# Base font for printing which applied to body
print:
# Code Syntax Highlighting
# Uses an architecture called "base16" (https://github.com/chriskempson/base16),
# the default theme is a customized Atelier Dune Light theme,
# please feel free to explore more.
highlight:
# Default Light by Chris Kempson (http://chriskempson.com)
# highlight: [
# '#f8f8f8', '#e8e8e8', '#d8d8d8', '#b8b8b8',
# '#585858', '#383838', '#282828', '#181818',
# '#ab4642', '#dc9656', '#f7ca88', '#a1b56c',
# '#86c1b9', '#7cafc2', '#ba8baf', '#a16946'
# ]
# Harmonic16 Light by Jannik Siebert (https://github.com/janniks)
# highlight: [
# '#f7f9fb', '#e5ebf1', '#cbd6e2', '#aabcce',
# '#627e99', '#405c79', '#223b54', '#0b1c2c',
# '#bf8b56', '#bfbf56', '#8bbf56', '#56bf8b',
# '#568bbf', '#8b56bf', '#bf568b', '#bf5656'
# ]
# Tomorrow Night by Chris Kempson (http://chriskempson.com)
# highlight: [
# '#1d1f21', '#282a2e', '#373b41', '#969896',
# '#b4b7b4', '#c5c8c6', '#e0e0e0', '#ffffff',
# '#cc6666', '#de935f', '#f0c674', '#b5bd68',
# '#8abeb7', '#81a2be', '#b294bb', '#a3685a'
# ]
# Sidebar profile
profile:
# `email` is used for gravatar(https://en.gravatar.com),
# fallback to `hexo.config.email` if not specified
email: isfiteen@icloud.com
# You can set Avatar URL directly
avatar: avatar.jpg
bio: Deer appears only at the deepest of woods. Whale emerges only at the bluest of sea.
# Sidebar navigation links
menu:
📝 Article: /
⏳ Resources: /resources
⌨️ LeetCode: /leetcode
🐈 About: /about
# 🔗 Links: /links
🔍 Search: /search
# Social media URL
# Try to sort by changing the order of the keys
sns:
# `email` will fallback to `profile.email` if not specified
email: isfiteen@icloud.com
# If you use hexo-generator-feed, `sns.feed` can be left blank
# and the theme will try to get `hexo.config.feed.path`.
feed:
github: https://github.com/fiteen
twitter: https://twitter.com/isFiteen
facebook:
instagram: https://www.instagram.com/greathuiting
tumblr:
dribbble: # https://dribbble.com/isFiteen
telegram: # https://t.me/isfiteen
youtube:
hangouts:
linkedin:
pinterest:
soundcloud:
myspace:
weibo: https://weibo.com/u/2927602787
qq: https://wpa.qq.com/msgrd?v=3&uin=664128042&site=qq&menu=yes
# Sidebar footer copyright info
footer:
# Set to false to hide.
copyright: '© 2016-2020 🌱 <a href="https://github.com/fiteen">FiTeen</a>'
# Set to false to hide Hexo link.
powered: true
# Set to false to hide theme link.
theme: true
# Custom text.
# custom: <span id="busuanzi_container_site_pv" style='display:none'><i class="fa fa-eye"></i> <span id="busuanzi_value_site_pv"></span></span> | <span id="busuanzi_container_site_uv" style='display:none'><i class="fa fa-user"></i> <span id="busuanzi_value_site_uv"></span></span>
custom: <span id="busuanzi_container_site_uv" style='display:none'>Total <span id="busuanzi_value_site_uv"></span> visitors. </span><span id="busuanzi_container_site_pv" style='display:none'><span id="busuanzi_value_site_pv"></span> Views</span>
# ---------------------------------------------------------------
# Content
# ---------------------------------------------------------------
# Page
page:
# Display Table of content, default to `true`
toc: true
# Display reward, default to `false`
reward: true
# Display copyright notice, default to `false`
copyright: true
# Post
post:
per_page: 10
# The following settings are the same as the page
toc: true
reward: true
copyright: true
# Archive
archive:
# per_page: 10
# Tag
tag:
# per_page: 10
# Category
category:
# per_page: 10
# Search
search:
# Display a quick search button in fab
fab: true
# Render a standalone searh page which can be configured in sidebar menu such as `Search: /search`
page: true
# Local search
adapter:
range:
- post
- page
per_page: 20
limit: 10000
# Custom search
# adapter:
# # Used for pagination
# per_page: 10
# # Optional
# logo: //cdn.worldvectorlogo.com/logos/algolia.svg
# request:
# url: https://{APPLICATION_ID}-dsn.algolia.net/1/indexes/{INDEX}/query
# method: post
# # Available variables: :query, :per_page, :current
# body: '{"query":":query","hitsPerPage":":per_page","page":":current"}'
# headers:
# X-Algolia-API-Key: {API_KEY}
# X-Algolia-Application-Id: {APPLICATION_ID}
# Content-Type: application/json; charset=UTF-8
# keys:
# # Used to retrieve result list
# data: hits
# # Used to retrieve current page number
# current: page
# # Used to retrieve total page number
# total: nbPage
# # Used to retrieve total hits number
# hits: nbHits
# # Used to retrieve cost time
# time: processingTimeMS
# # Used to retrieve title from per hit
# title: _snippetResult.title.value
# # Used to retrieve content from per hit
# content: _snippetResult.content.value
# ---------------------------------------------------------------
# Content addons
# ---------------------------------------------------------------
# Prefix/Suffix of image URL, useful for CDN, for example,
# `![cat](images/cat.gif)` will convert to
# <img src="https://cdn.example.com/images/cat.gif?m=webp&q=80" alt="cat">
assets:
# prefix: 'https://cdn.example.com'
# suffix: '?m=webp&q=80'
# Table of content, enabled by default, set to `false` to disable.
toc:
# The depth of toc, default to `3`, maximum to `4`.
depth: 2
# Showing index before title, eg. 1.1 title, default to `true`
index: false
# Reward
reward:
# Text which shows at the top.
text: Buy me a cup of coffee ☕.
# Payment Methods
# qrcode, url and text must be set at least one
# wechat, alipay, paypal and bitcoin has a built-in icon,
# use `name` to apply
methods:
- name: wechat
qrcode: images/wechat-reward.png
text: This is a Wechat Pay qrcode.
color: '#09bb07'
- name: alipay
qrcode: images/alipay-reward.png
text: This is a Alipay qrcode.
color: '#01A1E9'
- name: paypal
qrcode: images/paypal-reward.png
text: This is a Paypal qrcode.
url: https://www.paypal.me/fiteen
color: '#397EBC'
# Copyright notice
# It is possible to use front matter `copyright` to override this setting.
copyright:
# Display author, default to `true`
# author: true
# Display link, default to `true`
# link: false
# license: Attribution-NonCommercial-NoDerivatives 4.0 International
# (<a href=\"https://creativecommons.org/licenses/by-nc-sa/4.0/\"
# rel=\"external nofollow\" target=\"_blank\">CC BY-NC-ND 4.0</a>)
# Display published date, default to `false`
# published: false
# Display updated date, default to `false`
# updated: false
# Custom text, override above settings
# custom: my copyright
# Comments
# Built-in support Disqus (https://disqus.com) and LiveRe (https://livere.com),
# for other comment system, see plugins
comments:
# disqus:
# shortname: disqus_shortname
# # Or you can set disqus script URL directly
# script: //disqus_shortname.disqus.com/embed.js
# # Autoload, default to `true`, set to `false` to display a button
# autoload: false
# livere:
# uid: livere_uid
# # LiveRe script, default to `https://cdn-city.livere.com/js/embed.dist.js`
# script:
# # Autoload, default to `true`, set to `false` to display a button
# autoload: false
# ---------------------------------------------------------------
# Misc
# ---------------------------------------------------------------
# URL prefix for theme statics
static_prefix:
# URL prefix for json data
# If your json file is put in a cdn server,
# set data_prefix as '//cdn.com/path/to/path/your_json_dir' and data_dir as 'your_json_dir'
data_prefix:
# Folder where json file will be generated to, default to 'api'
data_dir:
# Favicon, default to `favicon.ico`
favicon:
# Google analytics
# ga: UA-00000000-0
# SEO
seo:
# Render structured-data in <head>, default to `false`
structured_data: true
# PWA
pwa:
# Workbox (https://developers.google.com/web/tools/workbox/) is a JavaScript
# libraries for adding offline support to web apps,
# disabled by default, remove the hash to enable
# workbox:
# # Workbox cdn, uses google by default, below is an example of using alicdn
# cdn: https://g.alicdn.com/kg/workbox/3.3.0/workbox-sw.js
# module_path_prefix: https://g.alicdn.com/kg/workbox/3.3.0/
# # Expire time in hour, 4 by default, set to 0 to be permanent,
# # caches will be forcibly deleted the next time the site is updated.
# expire: 4
# # The worker script name, `sw.js` by default
# name: sw.js
# # Custom rules
# rules:
# - name: jsdelivr
# strategy: staleWhileRevalidate
# regex: https://cdn\\.jsdelivr\\.net
# - name: gtm
# strategy: staleWhileRevalidate
# regex: https://www\\.googletagmanager\\.com\?id=.*
# - name: gravatar
# strategy: staleWhileRevalidate
# regex: https://www\\.gravatar\\.com
# - name: theme
# strategy: staleWhileRevalidate
# regex: /.*\\.(?:js|css|woff2|png|jpg|gif)$
# - name: cdn
# strategy: staleWhileRevalidate
# regex: https://cdn\\.yourdomain\\.com
# - name: json
# strategy: cacheFirst
# regex: your_data_prefix/.*\\.json
# manifest.json
# manifest:
# short_name:
# name:
# start_url: /
# theme_color: '#2a2b33'
# background_color: '#2a2b33'
# icons:
# - src: icon-194x194.png
# sizes: 194x194 512x512
# type: image/png
# - src: icon-144x144.png
# sizes: 144x144
# type: image/png
# Plugins
# Inject html snippet to a specified position, Or global inject scripts/styles.
# The code will take advantage of babel, uglifyjs and html-minifier if possible.
# Simply run the following command in the root directory of Hexo (not `themes/inside`):
# ```bash
# npm install babel-core babel-preset-env html-minifier uglify-js --save
# ```
plugins:
# # Dynamic inject html snippet
# - position: # `sidebar` | `post` | `page` | `comments` | `avatar`, can be an array
# # HTML code
# template: |
# <script>...</script>
# # Or a path relative to theme folder
# template: snippets/snippet-1.html
# # Global Inject scripts/styles
# # scripts will be injected into <body>, and styles will be injected into <head>
# # In general, script or style depends on their ext name.
# - //xxx.css
# - //xxx.js
# # A few more flexible examples
# # <script src="//sample.com/api.php?format=jsonp" id="sample-api" defer></script>
# - tag: script # html tag, `script` | `style` | `link`
# # Any possible attributes
# src: //sample.com/api.php?format=jsonp
# id: sample-api
# defer: true
# # <link rel="stylesheet" href="xxx.css" disable>
# - tag: link
# href: xxx.css
# disable: true
# # Inline script
# # <script type="text/x-mathjax-config">MathJax.Hub.Config({...})</script>
# - tag: script
# type: text/x-mathjax-config
# code: |
# MathJax.Hub.Config({
# showProcessingMessages: false,
# messageStyle: 'none',
# tex2jax: { inlineMath: [['s;,'s;], ['\\(','\\)']] }
# })
# # Or a path relative to theme folder
# code: snippets/mathjax-config.js
# # Inline style
# # <style>.mycss{...}</style>
# - tag: style
# code: |
# .mycss {
# color: rebeccapurple;
# }
# # Or a path relative to theme folder
# code: snippets/mycss.css
# jQery
- //cdnjs.loli.net/ajax/libs/jquery/3.2.1/jquery.min.js
# Font Awesome
# - //netdna.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css
- lib/font-awesome/css/font-awesome.min.css
# 代码复制
- position: [post, page]
template: |
<script type="text/javascript" src="//cdn.jsdelivr.net/npm/clipboard@2.0.4/dist/clipboard.js"></script>
<script type="text/javascript" src="//vkceyugu.cdn.bspapp.com/VKCEYUGU-5a7313a3-81df-49ad-941e-33cab30695e9/2cc5a7b6-2f2f-49aa-9f0e-92e17c117f2f.js"></script>
<link href="//vkceyugu.cdn.bspapp.com/VKCEYUGU-5a7313a3-81df-49ad-941e-33cab30695e9/f637376e-b7a4-4b96-9f5f-fe7873b2f8d2.css" rel="stylesheet">
# Valine 评论
- //vkceyugu.cdn.bspapp.com/VKCEYUGU-5a7313a3-81df-49ad-941e-33cab30695e9/e64f19ed-9d0a-4f9f-a45d-68f5cbb48776.js
- //vkceyugu.cdn.bspapp.com/VKCEYUGU-5a7313a3-81df-49ad-941e-33cab30695e9/8851b28c-a68e-48b4-8043-65bf00db08f7.js
- position: comments
template: |
<div id="vcomment"></div>
<script>
new Valine({
el: '#vcomment',
lang: 'en',
admin_email: '664128042@qq.com',
appId: '5w8cMoOb6Q1lK4cuVTax9Fjf-gzGzoHsz',
appKey: 'atRTMR3qHDWw4tDXACkHBU5e',
placeholder: 'Write a Comment',
emoticon_url:'https://cdn.jsdelivr.net/gh/fiteen/fiteen.github.io@0.1.0/alu',
emoticon_list:["吐.png","喷血.png","狂汗.png","不说话.png","汗.png","坐等.png","献花.png","不高兴.png","中刀.png","害羞.png","皱眉.png","小眼睛.png","中指.png","尴尬.png","瞅你.png","想一想.png","中枪.png","得意.png","肿包.png","扇耳光.png","亲亲.png","惊喜.png","脸红.png","无所谓.png","便便.png","愤怒.png","蜡烛.png","献黄瓜.png","内伤.png","投降.png","观察.png","看不见.png","击掌.png","抠鼻.png","邪恶.png","看热闹.png","口水.png","抽烟.png","锁眉.png","装大款.png","吐舌.png","无奈.png","长草.png","赞一个.png","呲牙.png","无语.png","阴暗.png","不出所料.png","咽气.png","期待.png","高兴.png","吐血倒地.png","哭泣.png","欢呼.png","黑线.png","喜极而泣.png","喷水.png","深思.png","鼓掌.png","暗地观察.png"],
})
</script>
- //blog.oniuo.com/theme.js
- //blog.oniuo.com/wc.cc9a2092fece1d80bf3b.js
- position: sidebar
template: <is-palette2></is-palette2>
# 不蒜子站点统计
- position: sidebar
template: |
<script async src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script>
- tag: style
code: |
@media screen and (min-width:500px) {
.φcu {
max-height: 300px!important;
}
}
@media screen and (min-width:800px) {
.φcu {
max-height: 400px!important;
}
}
@media screen and (min-width:1100px) {
.φcu {
max-height: 500px!important;
}
}
@media screen and (min-width:1400px) {
.φcu {
max-height: 600px!important;
}
}