-
Notifications
You must be signed in to change notification settings - Fork 0
/
_config.yml
310 lines (238 loc) · 7.74 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
# Hexo Configuration
## Docs: https://hexo.io/docs/configuration.html
## Source: https://github.com/hexojs/hexo/
# Site
title: Your Title
subtitle: This is hexo theme
author: Your Name
language: en
timezone:
# URL
## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/'
url: http://yoursite-url # Note: don't forget to modify the CNAME file to your url
root: /
permalink: :year/:month/:day/: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: Kristie-Hu
# Custom Setting Start
# Site settings
SEOTitle: either thin | or die
email:
description: "It's an IT blog..."
keyword: ""
header-img: img/header_img/newhome_bg.jpg
archives-img: img/header_img/archive_bg2.jpg
# Favicon settings
favicon: img/avatar/roguerabbit.jpg
# Signature Setup
signature: true # show signature
signature-img:
# Wave settings
wave: true
# SNS Settings
# RSS: true
github_username: Kristie-Hu
twitter_username: yourAccount
instagram_username: yourAccount
# facebook_username: yourAccount
# linkedin_username: yourAccount
# zhihu_username: yourAccount
weibo_username: yourAccount
# Sidebar Settings
sidebar: true # whether or not using Sidebar.
sidebar-about-description: "Fat people have no future, either thin or die..."
sidebar-avatar: img/avatar/fatpeople.jpg # use absolute URL, seeing it's used in both `/` and `/about/`
widgets:
- visitor # busuanzi: https://busuanzi.ibruce.info/
- 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: "Kristie-Hu",
href: ""
},{
title: "",
href: ""
},{
title: "Hux Blog",
href: "http://huangxuan.me"
},{
title: "Hexo",
href: "https://hexo.io/"
}
]
# 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: en # 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.
## 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-xxxxxx-xx # Format: UA-xxxxxx-xx
## Baidu Analytics
ba_track_id: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
## 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: :title.md # File name of new posts
default_layout: post
auto_spacing: true
titlecase: false # Transform title into titlecase
external_link: true # Open external links in new tab
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:
# 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
# Pagination
## Set per_page to 0 to disable pagination
##
per_page: 10
pagination_dir: archives
archive_generator:
per_page: 10
yearly: true
monthly: true
daily: false
# Markdown-it config
## Docs: https://github.com/celsomiranda/hexo-renderer-markdown-it/wiki
##
markdown:
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: true
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: true
# Viewer config
## Docs:https://github.com/fengyuanchen/viewer
## Demo:https://fengyuanchen.github.io/viewer/
##
viewer: true
# ThemeColor config
themecolor: true
# 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: elegance
# 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: https://github.com/<yourAccount>/<repo> # or https://gitee.com/<yourAccount>/<repo>
branch: <your-branch>