forked from liuyib/hexo-theme-stun
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_config.yml
403 lines (368 loc) · 11.7 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
# ---------------------------------------------------------------
# Menu config
# ---------------------------------------------------------------
# Header navigation menu.
# Value before `||` delimiter is the target link.
# Value after `||` delimiter is the name of FontAwesome icon.
# See: https://fontawesome.com/v4.7.0/icons/
# If not set, "question-circle-o" icon will be shown.
menu:
home: / || home
archives: /archives/ || folder-open
categories: /categories/ || th
tags: /tags/ || tags
about: /about/ || user
# reading: /reading/ || book
# sitemap: /sitemap.xml || sitemap
# You can also add a item by yourself.
# xxx: /xxx/ || xxx
menu_settings:
# Only show by icon.
icon_only: false
# Only show by text.
text_only: false
# ---------------------------------------------------------------
# Site Information config
# ---------------------------------------------------------------
favicon:
small: /images/favicon-16x16-stun.png
medium: /images/favicon-32x32-stun.png
# apple_touch_icon: /images/apple-touch-icon-stun.png
# safari_pinned_tab: /images/logo-stun.svg
header:
# Header height (Support for all types of CSS size units).
height: 80%
# Header navigation bar height (Support for all types of CSS size units).
nav_height: 50px
# Background image in the header.
bg_image:
enable: true
# In theme directory (source/images): /images/avatar.png
# In site directory (source/uploads): /uploads/avatar.png
# You can also use a link of image.
url:
# Blur filter effect of the header background.
blur_effect:
enable: false
# Degree of blur.
level: 15px
# Creative Commons 4.0 International License.
creative_commons:
enable: true
# Available: BY | BY-SA | BY-ND | BY-NC | BY-NC-SA | BY-NC-ND
# For details, please see: https://creativecommons.org/share-your-work/licensing-types-examples
license: BY-NC-SA
# Show the CC license in the sidebar.
sidebar: true
# Show the CC license at the post bottom.
post: true
# You can set a language value if you prefer a translated version of CC license.
# Valid values of language: en, zh, etc.
# If not set, "en" will be used by default.
language: en
# Back to top button.
back2top:
enable: true
icon:
# Icon name in FontAwesome, see: https://fontawesome.com/v4.7.0/icons/
# `rocket` is recommended.
name: rocket
# Animation of rocket launch.
animation: true
# Rotation Angle of icon.
rotate: -45deg
# Please use quote to wrap value (All CSS size units are supported).
color: "#49b1f5"
# Colour when the mouse hovers it.
hover_color: "#fc6423"
# Footer of your site.
footer:
# Background image in the footer.
bg_image:
enable: true
# In theme directory (source/images): /images/avatar.png
# In site directory (source/uploads): /uploads/avatar.png
# You can also use a link of image.
url:
# Copyright information.
copyright:
enable: true
# If not set, will be used `author` from Hexo main config.
# (e.g. liuyib. All Rights Reserved.)
text:
# Start time. If not set, the current year will be used.
since:
# End time. If not set, the current year will be used.
end:
# The icon between the copyright year and the owner.
icon:
enable: true
# Icon name in FontAwesome, see: https://fontawesome.com/v4.7.0/icons/
# `heart` is recommended with animation in red (#ff0000).
name: heart
# Heart beat animation.
animation: true
# Please use quote to wrap value (All CSS size units are supported).
color: "#ff0000"
# Hexo link (Powered by Hexo).
powered:
enable: true
# Version info of Hexo after Hexo link (e.g. vX.X.X).
version: true
# Theme info link (Theme - stun).
theme:
enable: true
# Version info of theme after theme info (e.g. vX.X.X).
version: true
# Beian icp information for Chinese users. see: http://www.miitbeian.gov.cn
beian:
enable: false
# 备案 XXXXXXXX 号
icp:
# Any custom text (e.g. Hosted by <a href="https://pages.github.com/" rel="noopener" target="_blank">Github Pages</a>).
custom:
enable: false
text:
# ---------------------------------------------------------------
# Sidebar config
# ---------------------------------------------------------------
sidebar:
enable: true
# Sidebar position, available values: left | right
position: right
# Sidebar offset from top menubar
# (Only px units are supported).
offsetTop: 20px
# Define the sidebar width, 260px ~ 360px is better
# (All CSS size units are supported).
width: 300px
# Horizon line.
horizon_line: true
author:
enable: true
# Avatar in the sidebar.
avatar:
# In theme directory (source/images): /images/avatar.png
# In site directory (source/uploads): /uploads/avatar.png
# You can also use a link of image.
url: /images/avatar.png
# If true, the avatar would be displayed in a circle.
rounded: true
# The value should be chosen from 0 to 1.
opacity: 1
# Mouse hover animation, available value: turn | shake
animation: turn
# Your favorite motto (e.g. Talk is cheap, show me your code).
motto:
# Social links.
# Value before `||` delimiter is the target link.
# Value after `||` delimiter is the name of FontAwesome icon.
# See: https://fontawesome.com/v4.7.0/icons/
# If you can`t find a suitable icon, you can choose to display the original.
# text by adding the "origin" prefix (e.g. origin:sf, then "sf" will be show).
social:
github: https://github.com/ || github
google: https://plus.google.com/ || google
twitter: https://twitter.com/ || twitter
youtube: https://youtube.com/ || youtube
segmentfault: https://segmentfault.com/ || origin:sf
zhihu: https://www.zhihu.com/ || origin:知
weibo: https://weibo.com/ || weibo
wechat: yournumber || weixin
telegram: yournumber || telegram
qq: yournumber || qq
# You can also add a link by yourself.
# xxx: xxx || (origin:)xxx
social_setting:
enable: false
# Only show by icon.
icon_only: true
# Available values are equal to "justify-content" attribute in CSS.
# e.g. flex-start | center | flex-end | space-between, etc.
# For details, please see: https://developer.mozilla.org/zh-CN/docs/Web/CSS/justify-content
text_align: center
# Table Of Contents in the Sidebar.
toc:
enable: true
# Automatically add list number to toc.
number: true
# If true, all words will be placed on next lines
# if header width longer then sidebar width.
wrap: true
# Maximum heading depth of generated toc.
# You can set it in one post through `toc_max_depth` in Front-matter.
# e.g. value: 3, will use h1~3 to generated toc.
max_depth: 5
# Subscribe of email and rss.
feed:
enable: false
# Enter your email subscription link (e.g. http://eepurl.com/guAE6j).
email:
# Enter the rss address of you set (e.g. /atom.xml)
rss:
# The reading progress of post.
reading_progress:
enable: true
# Please use the quote to wrap value (All CSS size units are supported).
color: "#fc6423"
# Support for all types of CSS size units.
height: 1px
# ---------------------------------------------------------------
# Post config
# ---------------------------------------------------------------
# The meta-information at the front of the post.
post_meta:
# Only show by icon.
icon_only: false
# Show create information.
created:
enable: true
# Icon name in FontAwesome, see: https://fontawesome.com/v4.7.0/icons/
icon: calendar-o
# Show update information.
updated:
enable: true
# Icon name in FontAwesome, see: https://fontawesome.com/v4.7.0/icons/
icon: calendar-check-o
# Count the reading time of the post.
# Don't enable this before install dependencies
# by `npm install hexo-wordcount --save` in hexo directory.
# and you must restart your hexo server.
reading_time:
enable: false
# Icon name in FontAwesome, see: https://fontawesome.com/v4.7.0/icons/
icon: clock-o
# Set reading speed to estimate reading time.
speed:
# Reading speed of zh-CN.
zh: 200
# Reading speed of en-US.
en: 80
# Count the words of the post.
# Don't enable this before install dependencies
# by `npm install hexo-wordcount --save` in hexo directory
# and you must restart your hexo server.
word_count:
enable: false
# Icon name in FontAwesome, see: https://fontawesome.com/v4.7.0/icons/
icon: file-word-o
# Automatically retain article excerpt.
auto_excerpt:
enable: false
length: 150
# Stick post to the top.
# To enable this feature, you need to install dependencies `hexo-generator-index-pin-top`
# For details, see: https://github.com/netcan/hexo-generator-index-pin-top
stick_top:
# Position of icon, available values: left | right
position: right
# Icon name in FontAwesome, see: https://fontawesome.com/v4.7.0/icons/
icon: thumb-tack
# Rotation Angle of icon.
rotate: 45deg
# Please use the quote to wrap value (All CSS size units are supported).
color: "#999"
# Code highlight.
# values:
# - light
# - dark
# - ocean
highlight_theme: light
# Code wrap.
# values: true or false
code_word_wrap: true
# Horizonal alignment of img.
# values:
# - left
# - center
# - right
#
# If you don't want to set the align of the image, please empty it,
# then it will show by default.
img_horizonal_align:
# Vertical alignment of text and images.
# values:
# - top
# - middle
# - bottom
text_vertical_align_with_img: bottom
# Show tags at the bottom of the post.
post_tags: true
# Show "post end" at the bottom of the post.
post_end_text:
enable: true
# Show horizon line before the text that prompts the end of the article.
horizon_line: true
# Reward
reward:
enable: false
alipay:
wechat:
# ---------------------------------------------------------------
# Comment config
# ---------------------------------------------------------------
# Gitment
# See: https://github.com/imsun/gitment
gitment:
enable: false
# Github username.
owner:
# Github repository.
repo:
client_id:
client_secret:
# Enable / Disable Lazy load. Enable is recommended.
lazy: true
# ---------------------------------------------------------------
# Statistics and Analytics config
# ---------------------------------------------------------------
busuanzi:
enable: true
site:
# Only show by icon.
icon_only: false
# Number of unique visitor to the entire site.
uv:
enable: true
# Icon name in FontAwesome, see: https://fontawesome.com/v4.7.0/icons/
icon: user
# Number of page view to the entire site.
pv:
enable: true
# Icon name in FontAwesome, see: https://fontawesome.com/v4.7.0/icons/
icon: eye
# Number of page view to a post.
post_pv:
# Only show by icon.
icon_only: false
enable: true
# Icon name in FontAwesome, see: https://fontawesome.com/v4.7.0/icons/
icon: eye
# ---------------------------------------------------------------
# Other config
# ---------------------------------------------------------------
# Tag cloud.
# If not used, comment it or ignore it.
tag_cloud:
# Color for tag (please use the quote to wrap value, only support HEX).
start_color: "#a4d8fa"
end_color: "#49b1f5"
# Size for tag.
min_size: 24
max_size: 34
# Maximum number of tags displayed. Change it if you have more than 200 tags.
max_amount: 200
# Assets.
# In theme directory (source/css).
css: css
# In theme directory (source/js).
js: js
# In theme directory (source/images).
images: images
# CND for third libs.
cdn:
css:
fontawesome: https://cdn.jsdelivr.net/npm/[email protected]/css/font-awesome.min.css
js:
jquery: https://cdn.jsdelivr.net/npm/jquery@latest/dist/jquery.min.js
velocity: https://cdn.jsdelivr.net/npm/velocity-animate@latest/velocity.min.js