forked from CodingTrain/website-archive
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_config.yml
119 lines (83 loc) · 2.79 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
#
# Jekyll Configuraton for https://codingtrain.github.io/Rainwbow-Code/
#
# ToDo for Jekyll v3.7:
# - move collections into a subfolder using collections_dir: <path>
# - set layout series-index for relevant files automatically (using a glob pattern).
#
# --- Site Settings ---
# The site's title.
title: The Coding Train // Code Reposiory
# Location from where the site will be served (repository name for GitHub Pages).
baseurl: /
# Name of the GitHub repository (used for generating links to GitHub).
repository: CodingTrain/Rainbow-Code
# Prefix for download links (downloads only the relevant code from GitHub).
github_download_prefix: https://minhaskamal.github.io/DownGit/#/home?url=
# Links to other platforms.
links:
# Link to YouTube.
youtube: https://youtube.com/thecodingtrain/
# Link to Patreon.
patreon: https://patreon.com/codingtrain
# Link to the merch store.
merch: http://codingtrain.storenvy.com/
# Link to the Amazon store.
amazon: https://www.amazon.com/shop/thecodingtrain
# --- Build Settings ---
# Use Kramdown as the preferred Markdown parser.
markdown: kramdown
# Exclude code for Node.js and Q_and_A
exclude: [ 'Node', 'Q_and_A' ]
# Include future videos (used for 'Upcoming Streams' section).
future: true
# Use EDT as the site's timezone.
timezone: America/New_York
# Compress HTML for production builds.
compress_html: { ignore: { envs: ['development'] } }
# Search for SASS files inside assets/css.
sass: { sass_dir: 'assets/css' }
# --- Jekyll Locations ---
layouts_dir: _jekyll/layouts
includes_dir: _jekyll/includes
# --- Collections ---
collections:
Streams: { output: true }
CodingChallenges: { output: true }
Tutorials: { output: true }
GuestTutorials: { output: true }
Courses: { output: true }
# --- Defaults ---
defaults:
# Streams
- scope: { path: "", type: "Streams" }
values:
layout: "video"
video_type: "stream"
can_contribute: false
# Coding Challenges
- scope: { path: "", type: "CodingChallenges" }
values:
layout: "video"
video_type: "coding challenge"
video_type_short: "challenge"
can_contribute: true
# Tutorials
- scope: { path: "", type: "Tutorials" }
values:
layout: "video"
video_type: "tutorial"
can_contribute: false
# Guest Tutorials
- scope: { path: "", type: "GuestTutorials" }
values:
layout: "video"
video_type: "guest tutorial"
video_type_short: "tutorial"
can_contribute: false
# Courses
- scope: { path: "", type: "Courses" }
values:
layout: "video"
video_type: "session"
can_contribute: false