-
Notifications
You must be signed in to change notification settings - Fork 0
/
_config.yml
209 lines (190 loc) · 5.22 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
# Mandatory settings
blog_theme: light # Or use dark
name: Jiahui Jiang - JJ
url: https://jiahuijiang.github.io
description: Jiahui's project site.
timezone: America/New_York
encoding: utf-8
# Optional settings
baseurl: # Set if blog doesn't sit at the root of the domain (format: /blog)
about_enabled: false # Change to true if you wish to show an icon in the navigation that redirects to the about page
local_fonts: true # Change to true if you wish to use local fonts
rss_enabled: false # Change to false if not
social_links:
# facebook: # Add your Facebook handle
instagram: jj.alittleginger # instagram
github: jiahuijiang # Add your GitHub handle
linkedin: jiahui-j # Add your LinkedIn handle
#twitter: # Add your Twitter handle
#email: # Add your Email address
# Process and render draft posts
# show_drafts: false
# Publish posts or collection documents with a future date
# future: false
# Render posts that were marked as unpublished
# unpublished: false
# Produce an index for related posts.
# lsi: true
author:
name: Jiahui Jiang - JJ
#email:
uri: https://jiahuijiang.github.io/
# Important settings (change at own risk)
ampdir: amp
compress_html:
clippings: all
comments: all
endings: all
startings: all
pagination:
# Site-wide kill switch, disabled here it doesn't run at all
enabled: true
# Set to 'true' to enable pagination debugging. This can be enabled in the site config or only for individual pagination pages
debug: false
# The default document collection to paginate if nothing is specified ('posts' is default)
collection: 'posts'
# How many objects per paginated page, used to be `paginate` (default: 0, means all)
per_page: 5
# The permalink structure for the paginated pages (this can be any level deep)
permalink: '/projects/page/:num/'
# Optional the title format for the paginated pages
# (supports :title for original page title,
# :num for pagination page number, :max for total number of pages)
title: ':title - Page :num'
# Limit how many pagenated pages to create (default: 0, means all)
limit: 0
# Optional, defines the field that the posts should be sorted on (omit to default to 'date')
sort_field: 'date'
# Optional, sorts the posts in reverse order (omit to default decending or sort_reverse: true)
sort_reverse: true
# Optional, the default category to use, omit or just leave this as 'posts' to get a backwards-compatible behavior (all posts)
category: 'posts'
# Optional, the default tag to use, omit to disable
#tag: ''
# Optional, the default locale to use, omit to disable (depends on a field 'locale' to be specified in the posts,
# in reality this can be any value, suggested are the Microsoft locale-codes (e.g. en_US, en_GB) or simply the ISO-639 language code )
#locale: ''
# Optional,omit or set both before and after to zero to disable.
# Controls how the pagination trail for the paginated pages look like.
#trail:
# before: 2
# after: 2
# Optional, the default file extension for generated pages (e.g html, json, xml).
# Internally this is set to html by default
#extension: html
# Optional, the default name of the index file for generated pages (e.g. 'index.html')
# Without file extension
indexpage: 'index'
permalink: projects/:slug
# Important settings
assets:
digest: false
compression: true
gzip: true
plugins:
css: { autoprefixer: {}}
img: { optim: {jpegoptim: {strip: all}}}
autoprefixer:
browsers:
- "last 2 versions"
- "IE > 9"
sources:
- node_modules
- assets/javascripts
- assets/stylesheets
baseurl: https://jiahuijiang.github.io/
collections:
my_tags:
output: true
permalink: /tag/:slug/
my_projects:
output: true
permalink: /project/:slug/
# using defaults- https://jekyllrb.com/docs/configuration/
defaults:
-
scope:
path: ""
type: my_projects
values:
layout: articles_by_project
-
scope:
path: ""
type: my_tags
values:
layout: articles_by_tag
-
scope:
path: ""
type: projects
values:
layout: project
-
scope:
path: ""
type: pages
values:
layout: default
# sitemap defaults from robots.txt
-
scope:
path: "tag/"
values:
sitemap: false
-
scope:
path: "project/*"
values:
sitemap: false
-
scope:
path: "tags"
values:
sitemap: false
-
scope:
path: "files/*.pdf"
values:
sitemap: false
exclude:
- .bundle/
- .jekyll-cache/
- bin/*
- .gitignore
- .ruby-version
- .travis.yml
- circle.yml
- Gemfile
- Gemfile.lock
- LICENSE
- package.json
- README.md
- yarn-error.log
- yarn.lock
- VisualStudio.code-workspace
- node_modules/
- vendor/
plugins:
- amp-jekyll
- jemoji
- jekyll-assets
- jekyll-paginate-v2
- jekyll-redirect-from
- jekyll-gist
- jekyll-seo-tag
- jekyll-feed
- jekyll-sitemap
- jekyll-last-modified-at
#Custom variables
attribution:
template:
project_url: https://github.com/nielsenramon/chalk
creator_url: http://nielsenramon.com
# discus_identifier: # Add your Disqus identifier
# ga_analytics: # Add your GA Tracking Id
# iubenda_siteid:
# iubenda_policyid:
# gtag_universal:
# gtag_amp:
# adsense_client_id: