/
_config.yml
424 lines (392 loc) · 10.5 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
# Welcome to Jekyll!
#
# This config file is meant for settings that affect your entire site, values
# which you are expected to set up once and rarely need to edit after that.
# For technical reasons, this file is *NOT* reloaded automatically when you use
# `jekyll serve`. If you change this file, please restart the server process.
# Theme Settings
#
# Review documentation to determine if you should use `theme` or `remote_theme`
# https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/#installing-the-theme
theme : "minimal-mistakes-jekyll"
# remote_theme : "mmistakes/minimal-mistakes"
minimal_mistakes_skin : "air" # "air", "aqua", "contrast", "dark", "default", "dirt", "neon", "mint", "plum", "sunrise"
# Site Settings
locale : "en-US"
title : "iBug ①"
title_separator : "-"
name : "iBug"
description : "The little personal site for iBug"
url : "https://ibugone.com"
baseurl : ""
repository : "iBug/iBug.github.io" # GitHub username/repo-name e.g. "mmistakes/minimal-mistakes"
teaser : # path of fallback teaser image, e.g. "/assets/images/500x300.png"
logo : "/assets/favicon.png" # path of logo image to display in the masthead, e.g. "/assets/images/88x88.png"
masthead_title : "iBug" # overrides the website title displayed in the masthead, use " " for no title
breadcrumbs : false # true, false (default)
words_per_minute : 200
comments:
provider : "disqus" # false (default), "disqus", "discourse", "facebook", "staticman", "staticman_v2", "utterances", "custom"
disqus:
shortname : "ibugone" # https://help.disqus.com/customer/portal/articles/466208-what-s-a-shortname-
reCaptcha:
siteKey :
secret :
atom_feed:
path : # blank (default) uses feed.xml
search : true # true, false (default)
search_full_content : true # true, false (default)
search_provider : algolia # lunr (default), algolia, google
algolia:
application_id : "14DZKASAEJ"
index_name : "iBug_website"
search_only_api_key : "a0d8cb9da2d6ad0d17dcd40c58c72a56"
powered_by : true # true (default), false
settings:
searchableAttributes:
- title
- hierarchy.lvl0
- hierarchy.lvl1
- hierarchy.lvl2
- hierarchy.lvl3
- hierarchy.lvl4
- hierarchy.lvl5
- unordered(content)
- collection,categories,tags
customRanking:
- desc(date)
- desc(weight.heading)
- asc(weight.position)
attributesToHighlight:
- title
- hierarchy.lvl0
- hierarchy.lvl1
- hierarchy.lvl2
- hierarchy.lvl3
- hierarchy.lvl4
- hierarchy.lvl5
- content
- html
- collection
- categories
- tags
attributesForFaceting:
- searchable(tags)
- searchable(type)
- searchable(title)
files_to_exclude:
- 404.md
- index.md
- index.html
- old-index.md
- README.md
- REMOTE_README.md
- status.html
- _posts/2009-11-13-regex-match-open-tags-except-xhtml-self-contained-tags.md
# SEO Related
google_site_verification : "5_jn7a-vZslUtLJO-BkY-cPDGgah5JP49RGgeOBmYSk"
bing_site_verification :
yandex_site_verification :
naver_site_verification :
# Social Sharing
twitter:
username :
facebook:
username :
app_id :
publisher :
og_image : https://ibugone.com/image/og.jpg # Open Graph/Twitter default site image
# For specifying social profiles
# - https://developers.google.com/structured-data/customize/social-profiles
social:
type : Person # Person or Organization (defaults to Person)
name : iBug # If the user or organization name differs from the site's name
links: # An array of links to social media profiles
# Analytics
analytics:
provider : "google" # false (default), "google", "google-universal", "custom"
google:
tracking_id : "UA-115907213-1"
anonymize_ip : false # true, false (default)
# Site Author
author:
name : "iBug"
avatar : "/image/avatar.png" # path of avatar image, e.g. "/assets/images/bio-photo.jpg"
bio : "Developer, System Administrator, Geek"
location : null # "China"
email : null # "mailto:i@ibugone.com"
links:
- label: "Email"
icon: "fas fa-fw fa-envelope-square"
url: "mailto:i@ibugone.com"
- label: "Website"
icon: "fas fa-fw fa-link"
# url: "https://ibugone.com"
- label: "Twitter"
icon: "fab fa-fw fa-twitter-square"
# url: "https://twitter.com/"
- label: "Facebook"
icon: "fab fa-fw fa-facebook-square"
# url: "https://facebook.com/"
- label: "Stack Overflow"
icon: "fab fa-fw fa-stack-overflow"
url: "https://stackoverflow.com/users/5958455/ibug"
- label: "GitHub"
icon: "fab fa-fw fa-github"
url: "https://github.com/iBug"
- label: "Telegram Channel"
icon: "fab fa-fw fa-telegram-plane"
#url: "https://t.me/ibugthought"
# Site Footer
footer:
links:
- label: "Twitter"
icon: "fab fa-fw fa-twitter-square"
# url:
- label: "Facebook"
icon: "fab fa-fw fa-facebook-square"
# url:
- label: "GitHub"
icon: "fab fa-fw fa-github"
url: "https://github.com/iBug"
- label: "GitLab"
icon: "fab fa-fw fa-gitlab"
# url:
- label: "Bitbucket"
icon: "fab fa-fw fa-bitbucket"
# url:
- label: "Instagram"
icon: "fab fa-fw fa-instagram"
# url:
# Reading Files
include:
- .htaccess
- _pages
exclude:
- "*.sublime-project"
- "*.sublime-workspace"
- "*.yml"
- vendor
- .asset-cache
- .bundle
- .circleci/
- .git-metadata
- .jekyll-assets-cache
- .sass-cache
- .travis.yml
- assets/js/plugins
- assets/js/_main.js
- assets/js/vendor
# Capfile
# CHANGELOG
# config
- Dockerfile
- ext/
- Gemfile
- Gemfile.lock
# Gruntfile.js
# gulpfile.js
- LICENSE
# log
# node_modules
# package.json
# Rakefile
- README.md
- REMOTE_README.md
# tmp
- /script
keep_files:
- .git
- .circleci
- .nojekyll
- README.md
- CNAME
- image
encoding: "utf-8"
markdown_ext: "markdown,mkdown,mkdn,mkd,md"
# Conversion
markdown: kramdown
highlighter: rouge
lsi: false
excerpt_separator: "\n\n"
incremental: false
# Markdown Processing
kramdown:
input: GFM
hard_wrap: false
auto_ids: true
footnote_nr: 1
entity_output: as_char
toc_levels: 1..6
#smart_quotes: lsquo,rsquo,ldquo,rdquo
enable_coderay: false
math_engine: mathjax
parse_block_html: false # true
syntax_highlighter: rouge
syntax_highlighter_opts:
css_class: 'highlight'
span:
line_numbers: false
block:
line_numbers: false
#start_line: 1
# Sass/SCSS
sass:
sass_dir: _sass
style: compressed # http://sass-lang.com/documentation/file.SASS_REFERENCE.html#output_style
# Outputting
source_url: "https://github.com/iBug/iBug-source"
index_url: /blog
permalink: /blog/:year/:month/:title/
timezone: "Etc/UTC" # https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
date_format: "%b %-d, %Y" # "%b %-d, %Y at %-H:%M"
paginate: null
paginate_path: "/blog/:num/"
pagination:
enabled: true
per_page: 8
permalink: "/:num/"
title: ":title - :num of :max"
limit: 0
sort_field: "date"
sort_reverse: true
trail:
before: 3
after: 3
autopages:
enabled: true
categories:
layouts: ['category.html']
title: 'Posts in category :cat'
permalink: '/category/:cat'
collections:
layouts: ['collection.html']
title: 'Posts in collection :coll'
permalink: '/collection/:coll'
tags:
layouts: ['tags.html']
title: 'Posts tagged with :tag'
permalink: '/tag/:tag'
collections:
home:
output: true
permalink: "/:path/"
cn:
output: true
project:
output: true
share:
output: true
# Plugins have been moved to Gemfile
# mimic GitHub Pages with --safe
whitelist:
- jekyll-paginate-v2
- jekyll-sitemap
- jekyll-feed
- jekyll-include-cache
# Archives
# Type
# - GitHub Pages compatible archive pages built with Liquid ~> type: liquid (default)
# - Jekyll Archives plugin archive pages ~> type: jekyll-archives
# Path (examples)
# - Archive page should exist at path when using Liquid method or you can
# expect broken links (especially with breadcrumbs enabled)
# - <base_path>/tags/my-awesome-tag/index.html ~> path: /tags/
# - <base_path/categories/my-awesome-category/index.html ~> path: /categories/
# - <base_path/my-awesome-category/index.html ~> path: /
category_archive:
type: jekyll-archives # liquid
path: /category/
tag_archive:
type: jekyll-archives # liquid
path: /tag/
# https://github.com/jekyll/jekyll-archives
jekyll-archives:
enabled:
- year
- categories
- tags
layout: archive-taxonomy
layouts: {}
permalinks:
year: /year/:year/
category: /category/:name/
tag: /tag/:name/
# HTML Compression
# - http://jch.penibelst.de/
compress_html:
clippings: all
ignore:
envs: development
# Defaults
defaults:
- scope:
path: ""
values:
author_profile: true
share: true
comments: true
related: false
toc_sticky: true
- scope:
path: ""
type: posts
values:
layout: single
read_time: true
related: true
toc: true
#toc_label: "On this page"
#toc_icon: "file-alt"
- scope:
path: ""
type: home
values:
layout: single
#classes: wide
sidebar:
nav: home
no_pagination: true
- scope:
path: ""
type: share
values:
layout: single
#classes: wide
related: true
sidebar:
nav: home
- scope:
path: ""
type: pages
values:
layout: single
author_profile: false
comments: false
related: false
- scope:
path: ""
type: cn
values:
lang: "zh-CN"
locale: "zh-CN"
layout: single
read_time: true
words_per_minute: 500
toc: true
toc_label: "目录"
toc_icon: "th-list"
- scope:
path: ""
type: tag
values:
comments: false
read_time: false
related: false
- scope:
path: ""
type: category
values:
comments: false
read_time: false
related: false