-
Notifications
You must be signed in to change notification settings - Fork 5
/
_config.yml
477 lines (410 loc) · 13.8 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
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
# Welcome to Jekyll!
# Configuration file for Jekyll.
# Full docs at: http://jekyllrb.com/docs/configuration/
# YAML docs at: https://yaml.org/spec/1.2.2/
# ---------------------------------------------------------------------------------
#
# This config file is meant for settings that affect your whole blog, values
# which you are expected to set up once and rarely edit after that. If you find
# yourself editing this file very often, consider using Jekyll's data files
# feature for the data you need to update frequently.
#
# For technical reasons, this file is *NOT* reloaded automatically when you use
# 'bundle exec jekyll serve'. If you change this file, please restart the server.
#
# If you need help with YAML syntax, here are some quick references for you:
# https://learn-the-web.algonquindesign.ca/topics/markdown-yaml-cheat-sheet/#yaml
# https://learnxinyminutes.com/docs/yaml/
#
# You can find config options at: https://jekyllrb.com/docs/configuration/options/
#
# These are used to personalize your new site. If you look in the HTML files,
# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on.
# You can create any custom variable you would like, and they will be accessible
# in the templates via {{ site.myvariable }}.
# Site Settings ###################################################################
founder : "Amr Abdel-Motaleb"
remote_theme : "bamr87/zer0-mistakes"
# theme : "jekyll-theme-zer0"
## Github Information
github_user : &github_user "bamr87"
repository_name : &github_repository "it-journey"
repository : [*github_user, "/", *github_repository] # GitHub username/repo-name
local_repo : *github_repository
branch : "main"
repo_map : "/about/sitemap/"
github_base_url : [*github_user, '.' , *site_domain] # the base hostname & protocol for your site, e.g. http://example.com
portfolio : [*github_user, '.', 'github.io']
## Site Information ---------------------------------------------------------------
title : IT-Journey
title_url : "/"
title_icon : "globe"
subtitle : "zer0 to her0"
subtitle_url : "localhost"
subtitle_icon : "code"
title_separator : "|" # Appears in the web browser tab name
domain : &domain "it-journey"
domain_ext : ".dev"
sub_domain : &sub_domain ""
baseurl : "" # the subpath of your site, e.g. /blog - Use this if you want this whole repo to be a domain branch
url_dev : ['https://', *sub_domain, '.', *domain, *domain_ext ] # the base hostname & protocol for your site, e.g. http://example.com
url : &url 'https://it-journey.dev' # the base hostname & protocol for your site, e.g. http://example.com
public_folder : "/assets"
port : 4002 # Jekyll Serve Dev port
dg_port : 4001 # TODO: Doppelganger site. Use this if you want to switch between parallel deployments
og_image : '/assets/images/wizard-on-journey.png'
### Owner Information -------------------------------------------------------------
name : &name "Amr"
email : "[email protected]"
description : >- # this means to ignore newlines until the next variable
Collection of articles, notes, and tutorials to build a website
or headless CMS using Jekyll and Github Pages.
This is my journey from zer0 to her0.
level : 'her0'
# Maintainer Information----------------------------------------------------------
maintainers:
- name: *name
profile: ["https://github.com", "/", *github_user]
- name: "Vacant"
profile: "/github.com"
## Personalization ----------------------------------------------------------------
locale : "en-US"
home_dir : &home '/Users/bamr87/'
local_git : [ *home, 'github' ]
logo : /assets/images/gravatar-small.png # path of logo image to display in the masthead, e.g. "/assets/images/88x88.png"
logo_link : [ *url, *baseurl ] # URL to link the logo to, e.g. "/"
teaser : /assets/images/favicon_gpt_computer_retro.png # path of fallback teaser image, e.g. "/assets/images/500x300.png"
info_banner : /assets/images/info-banner-mountain-wizard.png # path of fallback teaser image, e.g. "/assets/images/500x300.png"
breadcrumbs : true # true, false (default)
words_per_minute : 200
_posts_file_structure : "year-month-day-title.md"
## Identity #####################################################################
author:
name : *name # *name is a YAML reference pointing to the &anchor earlier
avatar : "/assets/images/gravatar-small.png"
email_hash : '71d7a4fc9712df49e13d606e620f89c7' # https://en.gravatar.com/site/check/{ site.email }
gravatar : [ 'https://s.gravatar.com/avatar/', *email_hash, '?s=80' ]
bio : "IT nerd trying to be an IT hero"
location : "Denver, CO"
twitter_username : "bamr87"
github_username : *github_user
## Site Analytics #############################################################
google_analytics : 'G-ZBDKNMC168'
## Site verification #############################################################
google_site_verification : null
bing_site_verification : null
alexa_site_verification : null
yandex_site_verification : null
aver_site_verification : null
baidu_site_verification : null
## Affiliations ##############################################################
default_icon: "bi" ## Bootstrap Icons https://icons.getbootstrap.com/
links:
- label: "BASH Consulting"
url: "https://bashconsultants.com"
icon: "bi-link"
- label: "Twitter"
icon: "bi-twitter"
url: "https://twitter.com/bamr87"
- label: "GitHub"
icon: "bi-github"
url: [ 'https://github.com/' , *github_user ]
- label: "Instagram"
icon: "bi-instagram"
url: "https://instagram.com/bamr42"
youtube:
- label: "YouTube"
icon: "bi-youtube"
url: "https://www.youtube.com/channel/UCO0j3Opg3J9i2iWnDwHUsXQ"
## Build Framework ##############################################################
powered_by:
- name: "Ruby"
version: "2.7.4"
url: "https://www.ruby-lang.org/"
icon: "bi-gem"
- name: "Jekyll"
version: "3.9.5"
url: "https://jekyllrb.com/"
icon: "bi-joystick"
- name: "Bootstrap"
version: "5.2.0"
url: "https://getbootstrap.com/"
icon: "bi-bootstrap"
- name: "Algolia"
version:
url: "https://algolia.com/"
icon: "bi-search"
- name: "JQuery"
url: "https://jquery.com/"
icon: "bi-filetype-js"
- name: "MathJax"
version: "1.0"
url: "https://www.mathjax.org/"
icon: "bi-calculator"
- name: "GitHub Pages"
version: "231"
url: "https://pages.github.com/"
icon: "bi-github"
- name: "docker"
version: "20.10.8"
url: "https://www.docker.com/"
icon: "bi-docker"
### Plugins #####################################################################
# https://docs.github.com/en/pages/setting-up-a-github-pages-site-with-jekyll/about-github-pages-and-jekyll#plugins
# http://jekyllrb.com/docs/plugins/
# All plugins are enabled by default for GitHub Pages. https://pages.github.com/versions/
plugins:
- github-pages
- jekyll-remote-theme
- jekyll-feed
- jekyll-sitemap
- jekyll-seo-tag
- jekyll-paginate
- jekyll-relative-links
## Gisgus Plugin #################################################################
gisgus:
enabled: true
data-repo-id: "MDEwOlJlcG9zaXRvcnkyODM4MjI1NzM"
data-category-id: "DIC_kwDOEOrJ7c4CAn8D"
# https://github.blog/2022-02-14-include-diagrams-markdown-files-mermaid/
## Conversion
# Markdown Options https://jekyllrb.com/docs/configuration/markdown/
# https://github.com/github/jekyll-commonmark-ghpages
markdown: kramdown
# highlighter: rouge
# lsi: false
# excerpt_separator: "\n\n"
# incremental: false
# Markdown Processing https://jekyllrb.com/docs/configuration/markdown/
kramdown: # https://kramdown.gettalong.org/options.html
input: GFM
header_offset: 0
# 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
# Collections: https://jekyllrb.com/docs/collections/
# Permalinks: https://jekyllrb.com/docs/permalinks/
collections_dir: &collections_dir pages
local_repo_path: [ *collections_dir, '/', *local_repo ]
collections:
pages:
output: true
permalink: /:collection/:name/
posts:
output: true
permalink: /:collection/:year/:month/:day/:slug/
docs:
output: true
permalink: /:collection/:categories/:name/
quests:
output: true
permalink: /:collection/:categories/:name/
hobbies:
output: true
permalink: /:collection/:categories/:name/
notebooks:
output: true
permalink: /:collection/:path/:name/
notes:
output: true
permalink: /:collection/:path/:name/
quickstart:
output: true
permalink: /:collection/:categories/:name/
about:
output: true
permalink: /:collection/:categories/:name/
permalink: pretty
# pagination https://jekyllrb.com/docs/pagination/
paginate: 10
paginate_path: "/pages/:num/"
# Defaults https://jekyllrb.com/docs/configuration/front-matter-defaults/
defaults:
# ALL
-
scope:
path: ""
values:
layout: root
author_profile: false
read_time: true
comments: false # true
share: true
related: true
sidebar:
nav: main
permalink: /:collection/:name/
# pages
-
scope:
path: pages
values:
layout: &pages default
author_profile: true
read_time: true
comments: # true
share: true
related: true
toc_sticky: true
sidebar:
nav: searchCats
permalink: /:path/:name/
# pages/_about
-
scope:
path: pages/_about
values:
layout: *pages
collection: about
share: true
related: true
sidebar:
nav: about
# pages/_quickstart
-
scope:
path: pages/_quickstart
values:
layout: default
collection: quickstart
share: true
related: true
sidebar:
nav: quickstart
# pages/_posts
-
scope:
path: pages/_posts
values:
layout: journals
author_profile: true
read_time: true
comments: # true
share: true
related: true
sidebar:
nav: dynamic
# permalink: /:collection/:name/
# pages/_docs
-
scope:
path: pages/_docs
values:
layout: *pages
# category: docs
author_profile: true
read_time: true
comments: # true
share: true
related: true
sidebar:
nav: docs
# permalink: /docs/:category/:name/
# pages/_quests
-
scope:
path: pages/_quests
values:
layout: *pages
author_profile: true
read_time: true
comments: # true
share: true
related: true
sidebar:
nav: dynamic
permalink: /:categories/:slug
# pages/_hobbies
-
scope:
path: pages/_hobbies
type: hobbies
values:
layout: *pages
share: false
author_profile: false
sidebar:
nav: hobbies
# pages/_notes
-
scope:
path: pages/_notes
type: notes
values:
layout: *pages
share: false
author_profile: false
sidebar:
nav: dynamic
# Exclude from processing.
# The following items will not be processed, by default.
# Any item listed under the `exclude:` key here will be automatically added to
# the internal "default list".
#
# Excluded items can be processed by explicitly listing the directories or
# their entries' file path in the `include:` list.
exclude:
- .sass-cache/
- .jekyll-cache/
- .obsidian
- Gemfile.lock
- gemfiles/
- Gemfile
- node_modules/
- vendor/
# - "*.sh"
- submodules/
# Sass/SCSS
sass:
sass_dir: _sass
style: expanded
# TODO: Fix bootstrap plugin
# load_paths:
# - /usr/local/bundle/gems/bootstrap-5.3.3/assets/stylesheets
algolia:
application_id: 'SP02Z3YYL4'
search_only_api_key: '3b9200e21085fbebc263950c157b2682'
index_name: dev_it-journey
## Style Settings -------------------------------------------------------------
# theme : "zer0-mistakes-jekyll"
# remote_theme : "bamr87/zer0-mistakes"
theme_skin : "dark" # "air", "aqua", "contrast", "dark", "dirt", "neon", "mint", "plum", "sunrise"
# style : "default" # "default", "dark", "light", "solarized-dark", "solarized-light"
# remote_style : "bamr87/zer0-mistakes"
theme_color:
main: #007bff
secondary: #6c757d
red: #a11111
yellow: #ffe900
teal: #376986
blue: #007bff
green: #28a745
purple: #6f42c1
pink: #e83e8c
orange: #fd7e14
brown: #795548
cyan: #17a2b8
indigo: #6610f2
lime: #cddc39
amber: #ffc107
deep_orange: #ff5722
deep_purple: #673ab7
light_blue: #03a9f4
light_green: #8bc34a
light_purple: #9c27b0
light_red: #f44336
light_yellow: #ffeb3b
light_teal: #009688
## Copyright Settings --------------------------------------------------------------
cr_year: 2024
cr_entity: *name
cr_lisense: "MIT"
## Sitemap Settings --------------------------------------------------------------
# sitemap_include: A list of file extensions that should be included in the sitemap. By default, HTML files and any files with sitemap: true in their front matter are included.
# sitemap_exclude: A list of files or directories that should be excluded from the sitemap.
sitemap_include: ["html", "xml"]
sitemap_exclude: ["secret.html", "private"]