-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_config.yml
382 lines (299 loc) · 9.34 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
# Hexo Configuration
## Docs: https://hexo.io/docs/configuration.html
## Source: https://github.com/hexojs/hexo/
# Site
title: LEO BLOG
subtitle: "[山高万仞,只登一步]"
author: Leo
timezone: 'Asia/Shanghai'
# Internationalization (i18n) Setting
language: # At present, only en、cn and tw are supported. You can customize the language,refer to `languages/en.yml`.
- cn
# - en
langselect:
enable: false # If open, it will automatically generation lang-select button.This button can jump in articles in different languages, but the articles must have the same name.
options: # langselect button display options
cn: 简体中文
en: English
# tw: 正體中文
# URL
## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/'
# Note: don't forget to modify the CNAME file to your url
url: https://liuxpblog.eu.org/
root: /
permalink: :lang/:title/
permalink_defaults:
# CDN Setting
## Docs: https://www.jsdelivr.com/?docs=gh
## If Github Pages deploy,you can ues jsdelivr settings
#
# jsdelivr:
# jsdelivr_url: https://cdn.jsdelivr.net/gh/
# github_username: V-Vincen
# Custom Setting Start
# Site settings
SEOTitle: LEO BLOG |
email: [email protected]
description: "互联网乌托邦"
keyword: "Blog,Leo,LEO,个人博客"
header-img: img/header_img/newhome_bg.jpg
archives-img: img/header_img/archive_bg2.jpg
# Favicon settings
favicon: img/favicon.ico
# Signature Setup
# 在背景图片的右下角会显示签名,没啥卵用
signature: false # show signature
signature-img: img/logo.png
# Wave settings
wave: true
# SNS Settings
# RSS: true
github_username: lxp731
zhihu_username: burgess-5
weibo_username: 7840418804
# twitter_username: V_Vincen_
# instagram_username: v_vincen_
# facebook_username: yourAccount
# linkedin_username: yourAccount
# Sidebar Settings
sidebar: true # whether or not using Sidebar.
sidebar-about-description: "With great power comes great responsibility."
sidebar-avatar: img/head-pic.jpg # use absolute URL, seeing it's used in both `/` and `/about/`
# busuanzi: https://busuanzi.ibruce.info/
widgets:
- visitor
- featured-tags
- short-about
- recent-posts
- friends-blog
- archive
- category
# widget behavior
## Archive
archive_type: 'monthly'
show_count: true
## Featured Tags
featured-tags: true # whether or not using Feature-Tags
featured-condition-size: 0 # A tag will be featured if the size of it is more than this condition value
## Friends
friends: [
{
title: "Bashboy",
href: "https://liuxp.eu.org"
},{
title: "Nustarain",
href: "https://nustarain.pages.dev"
}
]
# Comment Settings
## Gitalk Settings
## Doc:https://github.com/gitalk/gitalk/blob/master/readme-cn.md
##
# gitalk:
# owner: # 'GitHub repo owner'
# admin: # 'GitHub repo'
# repo: # ['GitHub repo owner and collaborators, only these guys can initialize github issues']
# clientID: # 'GitHub Application Client ID'
# clientSecret: # 'GitHub Application Client Secret'
# perPage: 10 # Pagination size, with maximum 100.
# pagerDirection: last # Comment sorting direction, available values are last and first.
# createIssueManually: false # By default, Gitalk will create a corresponding github issue for your every single page automatically when the logined user is belong to the admin users. You can create it manually by setting this option to true
# language: cn # Localization language key, en, zh-CN and zh-TW are currently available.
# maxCommentHeight: 250 # An optional number to limit comments' max height, over which comments will be folded.Default 250.
# proxy: https://cors-anywhere.azm.workers.dev/https://github.com/login/oauth/access_token # GitHub oauth request reverse proxy for CORS. For example, the demo url is 'https://cors-anywhere.herokuapp.com/https://github.com/login/oauth/access_token'.You should deploy your own proxy url as in this issue https://github.com/gitalk/gitalk/issues/429.
## Gitment Settings
## Doc:https://github.com/imsun/gitment
##
# gitment:
# owner: # Your GitHub ID. Required.
# repo: # The repository to store your comments. Make sure you're repo's owner. Required.
# client_id: # GitHub client ID. Required.
# client_secret: # GitHub client secret. Required.
# desc: # An optional description for your page, used in issue's body. Default ''.
# perPage: 10 # An optional number to which comments will be paginated. Default 20.
# maxCommentHeight: 250 # An optional number to limit comments' max height, over which comments will be folded. Default 250.
## Disqus settings
##
# disqus_username: your-disqus-ID
# Analytics settings
## Google Analytics
ga_track_id: 'UA-49627206-1' # Format: UA-xxxxxx-xx
## Baidu Analytics
ba_track_id: 4cc1f2d8f3067386cc5cdb626a202900
## Sitemap
sitemap:
path: sitemap.xml
## Baidusitemap
baidusitemap:
path: baidusitemap.xml
baidu_push: true
# Custom Setting End
# Directory
source_dir: source
public_dir: public
tag_dir: tags
archive_dir: archives
category_dir: categories
code_dir: downloads/code
i18n_dir: :lang
skip_render:
# Writing
new_post_name: :lang/:title.md # File name of new posts
default_layout: post
auto_spacing: true
titlecase: false # Transform title into titlecase
# New option
# https://hexo.io/docs/configuration.html#Writing
external_link:
enable: true # Open external links in new tab
field: site # Apply to the whole site
exclude: ''
filename_case: 0
render_drafts: false
post_asset_folder: true
relative_link: true
future: true
highlight:
enable: true
line_number: true
auto_detect: true
tab_replace:
wrap: true
hljs: false
prismjs:
enable: false
preprocess: true
line_number: true
tab_replace: ''
# Category & Tag
default_category: uncategorized
category_map:
tag_map:
home_posts_tag: true # show posts tags
# Date / Time format
## Hexo uses Moment.js to parse and display date
## You can customize the date format as defined in
## http://momentjs.com/docs/#/displaying/format/
##
date_format: YYYY-MM-DD
time_format: HH:mm:ss
# New option
# https://hexo.io/docs/configuration#Date-Time-format
updated_option: date
# Pagination
## Set per_page to 0 to disable pagination
##
per_page: 10
pagination_dir: archives
# hexo-generator-i18n config
## Docs: https://github.com/xcatliu/hexo-generator-index-i18n
index_generator:
per_page: 10
pagination_dir: page
path: ''
order_by: -date
archive_generator:
enabled: false
per_page: 10
yearly: true
monthly: true
daily: false
order_by: -date
# Markdown-it config
## Docs: https://github.com/celsomiranda/hexo-renderer-markdown-it/wiki
##
# markdown:
# preset: 'default'
# render:
# html: true
# xhtmlOut: false
# breaks: true
# linkify: true
# typographer: true
# quotes: '“”‘’'
# Build Settings
anchorjs: true # if you want to customize anchor. check out line:26 of `anchorjs.ejs`
# article top
top: true
# WordCount Settings
## Dependencies: https://github.com/willin/hexo-wordcount
## Docs: https://www.npmjs.com/package/hexo-wordcount
##
wordcount: true
# Busuanzi Settings
## Dependencies: https://busuanzi.ibruce.info/
## Docs: https://ibruce.info/
busuanzi: true
# top scroll progress
scroll: true
# Tip
tip:
enable: false
copyright: If you like this blog or find it useful for you, you are welcome to comment on it. You are also welcome to share this blog, so that more people can participate in it. If the images used in the blog infringe your copyright, please contact the author to delete them. Thank you !
# Social Share Post
## Docs:https://github.com/overtrue/share.js
##
socialshare: false
# Viewer config
## Docs:https://github.com/fengyuanchen/viewer
## Demo:https://fengyuanchen.github.io/viewer/
##
viewer: true
# ThemeColor config
themecolor:
enable: true
mode: dark # themecolor mode light or dark, default light
# Mouseclick config
mouseclick:
enable: true
content:
- 自尊
- 自爱
- 自立
- 自强
- 爱国
- 敬业
- 诚信
- 友善
color:
- '#9933CC'
- '#339933'
- '#66CCCC'
- '#FF99CC'
- '#CCCCFF'
- '#6666CC'
- '#663399'
- '#66CC99'
- '#FF0033'
# Ribbon config 彩带
ribbonDynamic: true
# The special effects will take up a lot of cpu resorces, please open it carefully.
# Line config 小飞棍来喽
bglinecanvas: false
# Search Setting
## Search: https://go.kieran.top/post/45/
## Dependencies: https://github.com/V-Vincen/hexo-generator-zip-search
##
search:
path: search.json
zipPath: search.flv
versionPath: searchVersion.json
field: post
trigger: auto # if 'auto', trigger search by changing input;if 'manual', trigger search by pressing enter key or search button
top_n_per_article: 1 # show top n results per article, show all results by setting to -1
# Theme config
## Themes: https://hexo.io/themes/
##
theme: livemylife
# Gitter
## Docs:https://gitter.im/?utm_source=left-menu-logo
##
#gitter:
#room: your-community/your-room
# Deployment
## Docs: https://hexo.io/docs/deployment.html
##
deploy:
type: git
repo: [email protected]:lxp731/lxp731.github.io.git
branch: hexo