-
Notifications
You must be signed in to change notification settings - Fork 1
/
_config.yml
212 lines (172 loc) · 6.17 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
################################# SITE INFO
title: "John Doe"
tagline: "John Doe’s personal website"
description: "A longer description of John Doe’s personal website"
url: https://papicu.netlify.app
email: site@john_doe_website.com
# papicu's homepage and twitter cards use this handler
twitter:
username: "john_doe_website"
# used by JSON-LD schema.org metadata
author:
name: "John Doe"
url: https://john_doe_author.com
email: me@john_doe_author.com
twitter: "john_doe_author"
lang: en
locale: en_US
################################# THEME
# theme: papicu
# remote_theme: lucasrla/papicu
#
# https://github.com/benbalter/jekyll-remote-theme/
# > You may also optionally specify a branch, tag, or commit to use by appending an @ and the Git ref (e.g., benbalter/[email protected] or benbalter/retlab@develop). If you don't specify a Git ref, the HEAD ref will be used.
################################# THEME COLORS
colors:
# both used in `theme-color` meta tag
# make sure these two match the background colors in `_sass/base/_color.scss`
background_light: "#fafafa"
background_dark: "#111111"
# used in safari's `mask-icon` meta tag
# remove this if you have set your own `mask-icon` in `_includes/head.html`
favicon_safari_mask_icon: "#5ac8fa"
################################# ANALYTICS
#
# set this up with a proper URL if you are using Shynet
analytics:
shynet:
# MUST insert an url with NO trailing slash!
# url: https://shynet.john_doe_website.com/ingress/uuid-universally-unique-identifier
# add tiny pixel to count feed reads, must add `_layouts/feed.xml` file
pixel_feed: true
################################# JEKYLL-FEED
feed:
# https://github.com/jekyll/jekyll-feed#posts-limit
posts_limit: 20
# https://github.com/jekyll/jekyll-feed/pull/362
template: _layouts/feed.xml
################################# JEKYLL PLUGINS
plugins:
- jekyll-feed
- jekyll-seo-tag
- jekyll-sitemap
- jekyll-optional-front-matter
- jekyll-redirect-from
- jekyll-archives
- jekyll-last-modified-at
- jekyll-postfiles
- jekyll-remote-theme
################################# KRAMDOWN / KATEX
kramdown:
# https://kramdown.gettalong.org/converter/html.html#option-math-engine
math_engine: katex
# https://kramdown.gettalong.org/converter/html.html#option-footnote-backlink-inline
footnote_backlink_inline: true
#
# syntax_highlighter_opts:
# # https://github.com/gettalong/kramdown/blob/70121c00e318e0bffb4b74bbef1acc5b071d5ed7/lib/kramdown/converter/syntax_highlighter/rouge.rb
# # https://github.com/rouge-ruby/rouge#formatters
# css_class: rouge
# # which is shorter than .highlight, but it doesn't work with the most recent kramdown/rouge versions
################################# JEKYLL-SASS-CONVERTER
sass:
implementation: sass-embedded
style: compressed
sourcemap: never
################################# JEKYLL-ARCHIVES
jekyll-archives:
layouts:
category: archive-item
tag: archive-item
enabled:
- categories
- tags
permalinks:
category: /:name/
tag: /tag/:name/
slug_mode: latin # MUST be the same as in `slugify_mode`
################################# RELATED POSTS (LSI)
# see `.gemspec` and `_includes/related.html` for more info
lsi: true
################################# FILES TO INCLUDE/EXCLUDE FROM BUILD
#
# whatever you need, must be added explicitly on your own `_config.yml`
#
# any jekyll site need to declare `include` and `exclude` explicitly
# one cannot rely on the defaults listed by a theme's `_config.yml`
include:
- _pages/
exclude:
- vendor/
- vendor.noindex/
- bin/
- "*.gemspec"
- TODOs.md
- README.md
- RESEARCH.md
- LICENSE
- node_modules/
- package*.json
- gulpfile.js
- .vscode/
- netlify.toml
################################# DEFAULTS (AUTOMATICALLY ADDED TO FRONT MATTER)
#
# whatever you need, must be added explicitly on your own `_config.yml`
#
# any jekyll site need to declare `defaults` explicitly
# ne cannot rely on the defaults listed by a theme's `_config.yml`
#
# ref: https://jekyllrb.com/docs/configuration/front-matter-defaults/
defaults:
# MUST KEEP THIS AS FIRST ENTRY, we are using
# `site.defaults[0].values.image.path` in `_layouts/archive.html`
- scope:
path: ""
type: "pages"
# NOTE: category/tag/archive pages are NOT included in this "pages" scope
# so we are inserting `og:image` and `twitter:image`
# manually in `_layouts/archive.html`
values:
image:
path: "/assets/img/papicu-blue-square-512.png"
# jekyll-seo-tag v2.8.0 does not output `width` and `height` to meta
# tags if they're set here. it seems to get only `path` from defaults
- scope:
path: ""
type: "posts"
values:
image:
path: "/assets/img/papicu-blue-square-512.png"
################################# SLUGS
#
# whatever you need, must be added explicitly on your own `_config.yml`
permalink: /:slugified_categories/:title/
# https://jekyllrb.com/docs/liquid/filters/#options-for-the-slugify-filter
# default: removes spaces and non-alphanumeric characters
# latin: like default plus converts àèïòü to aeiou
# pretty: like default but keeps the following chars ._~!$&'()+,;=@`
# ascii: like default plus removes non-ASCII chars (eg non-latin alphabets)
slugify_mode: latin # MUST be the same as in `jekyll-archives: slug_mode`
################################# BASE URL
# if you're deploying on GitHub Pages AND you don't have a custom domain,
# change `baseurl` from "" to "/YOUR_REPO_NAME"
baseurl: ""
# we use the `relative_url` filter in URL paths pretty much everywhere to
# automatically prepend `baseurl`
# more info: https://jekyllrb.com/docs/liquid/filters/
################################# LAYOUT LIQUID-BASED MINIFIERS
# _layouts/{html,js}_minifier.liquid
liquid_minifiers:
# html_minifier breaks down with the html code in `enhanced-details.js``
# escaping the opening < symbol (with \<) didn't help there
html: false
js: false
# ################################# JS MINIFIER (not using it anymore)
# # jekyll-js-converter
# javascript:
# javascript_dir: assets/js/_partials
# load_paths:
# - assets/vendors
# - _posts
# source_map: never