-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path_config.yml
More file actions
440 lines (408 loc) · 11.8 KB
/
_config.yml
File metadata and controls
440 lines (408 loc) · 11.8 KB
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
# 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 : "-"
#subtitle : "on the Web"
name : "iBug"
description : "The little personal site for iBug"
url : "https://ibug.io"
baseurl : ""
repository : "iBug/iBug-source" # 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
#enable_copy_code_button : true
github : [metadata]
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"
# nodes_to_index : 'section.page__content p, section.page__content h1, section.page__content h2, section.page__content h3, section.page__content h4, section.page__content h5, section.page__content h6, section.page__content img, section.page__content blockquote, section.page__content li, section.page__content dt, section.page__content dl'
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:
- _pages/404.md
- _pages/index.md
- README.md
- REMOTE_README.md
- _home/status.html
- _posts/2009/2009-11-13-regex-match-open-tags-except-xhtml-self-contained-tags.md
- _posts/2021/2021-04-17-tunight-talk.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 : /image/og-1.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-gtag" # false (default), "google", "google-universal", "custom"
google:
tracking_id : "G-V93196TX91"
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:[email protected]"
links:
- label: "Email"
icon: "fas fa-fw fa-envelope-square"
url: "mailto:%[email protected]"
- 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: "Steam"
icon: "fab fa-fw fa-steam"
url: "https://steamcommunity.com/id/ibugone"
- label: "Telegram Channel"
icon: "fab fa-fw fa-telegram"
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: "Stack Overflow"
icon: "fab fa-fw fa-stack-overflow"
url: "https://stackoverflow.com/users/5958455/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:
footer_scripts:
- /assets/js/main.min.js
# Reading Files
include:
- _pages/
exclude:
- "*.py"
- "*.rb"
- "*.sh"
- "*.yml"
- .asset-cache
- .bundle
- .dockerignore
- .git-metadata
- .github/
- .gitignore
- .jekyll-assets-cache
- .ruby-lsp/
- .sass-cache
- .travis.yml
- .vscode
- _site/
- assets/js/plugins
- assets/js/_main.js
- assets/js/vendor
# Capfile
# CHANGELOG
# config
- Dockerfile
- etc/
- Gemfile
- Gemfile.lock
# Gruntfile.js
# gulpfile.js
- i/
- image/
- "LICENSE*"
# log
- node_modules
- package.json
- package-lock.json
- Rakefile
- README.md
- REMOTE_README.md
- /script
# tmp
- vendor/
keep_files:
- .git
- .nojekyll
- CNAME
- README.md
- image
- static
encoding: "UTF-8"
# Conversion
markdown: kramdown
highlighter: rouge
future: true
lsi: false # *Very* slow
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
quiet_deps: true
# 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 - Page :num of :max"
limit: 0
sort_field: "date"
sort_reverse: true
trail:
before: 2
after: 2
autopages:
enabled: true
categories:
layouts: ['autopages.html']
title: 'Category: :cat'
permalink: '/category/:cat'
collections:
layouts: ['autopages.html']
title: 'Collection: :coll'
permalink: '/collection/:coll'
tags:
layouts: ['autopages.html']
title: 'Tag: :tag'
permalink: '/tag/:tag'
collections:
home:
output: true
permalink: "/:path/"
cn:
output: true
permalink: "/cn/:year/:month/:title/"
ct:
output: true
permalink: "/cn/:year/:month/:title/"
project:
output: true
share:
output: true
# 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
# jekyll-relative-links
relative_links:
enabled: true
collections: true
# Defaults
defaults:
- scope:
path: ""
values:
layout: single
author_profile: true
share: true
comments: true
related: false
toc_sticky: true
toc_icon: "file-alt fa-fw"
header:
og_image: /image/og.jpg
overlay_image: "/image/header/mountain-1.jpg"
show_overlay_excerpt: false
sidebar:
nav: home
- scope:
path: ""
type: posts
values:
read_time: true
show_date: true
related: true
toc: true
#toc_label: "On this page"
- scope:
path: ""
type: home
values:
#classes: wide
no_pagination: true
header:
overlay_image: "/image/header/water-4.jpg"
- scope:
path: ""
type: share
values:
#classes: wide
related: true
sidebar:
nav: share
- scope:
path: ""
type: project
values:
no_date: true
related: false
toc: true
header:
teaser: "/image/teaser/project/default.png"
overlay_image: "/image/header/mountain-2.jpg"
- scope:
path: ""
type: pages
values:
author_profile: false
comments: false
related: false
- scope:
path: ""
type: cn
values: &cn-defaults
lang: "zh-CN"
locale: "zh-CN"
read_time: true
show_date: true
comments: true
words_per_minute: 350
toc: true
toc_label: "目录"
toc_icon: "th-list"
header:
overlay_image: "/image/header/cloud-1.jpg"
overlay_filter: linear-gradient(rgba(0, 146, 202, 0.3), rgba(0, 0, 0, 0.2))
- scope:
path: ""
type: ct
values:
<<: *cn-defaults
- scope:
path: ""
type: tag
values: &tag-defaults
comments: false
related: false
header:
overlay_image: "/image/header/water-2.jpg"
- scope:
path: ""
type: category
values:
<<: *tag-defaults