-
Notifications
You must be signed in to change notification settings - Fork 0
/
_config.yml
261 lines (230 loc) · 7.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
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
# Site info
title: LACKAWANNA EXPRESSO
SEOTitle: DOTIN13'S BLOG
keyword: "DotIN13's Life, Linux Tips, Life Hacks, Tech Gadgets, International Politics"
chrome-tab-theme-color: "#ff94c2"
author: DotIN13
email: dotin13@126.com
description: "Act local, think global with DotIN13!"
url: "https://www.wannaexpresso.com"
avatar: "/_webpack/images/orange.webp"
# Build configs
destination: dist
keep_files:
- "assets"
- "service-worker.js"
- "app"
show_excerpts: true # set to true to show excerpts on the homepage
permalink: pretty
timezone: Asia/Shanghai
exclude:
[
".webpack-cache",
"package.json",
"README.md",
"webpack.common.js",
"webpack.prod.js",
"webpack.dev.js",
"_webpack",
".eslintrc.yml",
".rubocop.yml",
"Caddyfile",
"yarn.lock",
"vercel.json",
"api",
"yarn-error.log",
"babel.config.json",
"plainwhite.gemspec"
]
defaults:
- scope:
path: ""
type: "pages"
values:
javascript: pages
- scope:
path: ""
type: "posts"
values:
javascript: posts
- scope:
path: ""
type: "moods"
values:
javascript: posts
multilingual: true
# Gitalk settings
gitalk_clientid: false
# b4edc9ea059838b0bf4e
# Disqus settings
disqus_username: false
# Netease settings
netease_comment: false
# Valine settings
valine: true
# sass:
# sass_dir: _sass
# style: compressed
# refer to http://shopify.github.io/liquid/filters/date/ if you want to customize this
plainwhite:
name: DotIN13
tagline: "LACKAWANNA<br>EXPRESSO"
date_format: "%b %-d, %Y"
mood_date_format: "%b %-d, %Y"
mood_time_format: "%r"
mood_date_full_format: "%r · %b %-d, %Y"
sitemap: true # set to true to generate sitemap.xml content
dark_mode: true # set to true to add dark mode toggle
navigation:
- title: About
url: "/about"
url_en: "/en-us/about/"
- title: Archive
url: "/archive"
sidebar:
- title: Home
url: "/"
url_en: "/en-us/"
icon: "icon-home"
- title: About
url: "/about"
url_en: "/en-us/about/"
icon: "icon-info"
- title: Archive
url: "/archive"
icon: "icon-archive"
- title: Love Incubator
url: "/love"
icon: "icon-heart-circled"
- title: Everybody Talks
url: "/talk"
icon: "icon-chat"
# analytics_id: "UA-159368053-1"
heap: false
heap_dev: "180019940"
heap_prod: "1629285273"
# generate social links in footer
social_links:
twitter: DotIN13
github: DotIN13
# linkedIn: in/thelehhman
rss: rss
# dribbble: jekyll
facebook: peter.zhang.1466
# weibo: DotIN13
# flickr: jekyll
# instagram: jekyll
# linkedin: jekyll
# pinterest: jekyll
# youtube: DotIN13
# youtube_channel: UC8CXR0-3I70i1tfPg1PAE1g
# youtube_channel_name: CloudCannon
telegram: DotIN13
bilibili: 4471331
# googleplus: +jekyll
# microdotblog: jekyll
# Mastodon instances
# mastodon:
# - username: jekyll
# instance: example.com
# - username: jekyll2
# instance: example.com
# If you want to link only specific pages in your header, uncomment
# this and add the path to the pages in order as they should show up
# header_pages:
# - about.md
# Build settings
# theme: plainwhite
collections:
moods:
sort_by: date
permalink: "/:collection/:year:month:day:hour:minute:second/:title/"
output: true
plugins:
- jekyll-paginate-v2
- jekyll-feed
- jekyll-minifier
- jekyll_picture_tag
# - jekyll-webp
# - jekyll-seo-tag
kramdown:
auto_ids: true
############################################################
# Site configuration for the Jekyll 3 Pagination Gem
# The values here represent the defaults if nothing is set
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: 9
# The permalink structure for the paginated pages (this can be any level deep)
permalink: "/page/:num/" # Pages are index.html inside this folder (default)
#permalink: '/page/:num.html' # Pages are simple html files
#permalink: '/page/:num' # Pages are html files, linked jekyll extensionless permalink style.
# 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"
# 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"
############################################################
jekyll-minifier:
exclude:
- "_webpack/"
- "assets/public/"
preserve_php: true # Default: false
remove_spaces_inside_tags: true # Default: true
remove_multi_spaces: true # Default: true
remove_comments: true # Default: true
remove_intertag_spaces: true # Default: false
remove_quotes: false # Default: false
compress_css: false # Default: true
compress_javascript: false # Default: true
compress_json: true # Default: true
simple_doctype: false # Default: false
remove_script_attributes: false # Default: false
remove_style_attributes: false # Default: false
remove_link_attributes: false # Default: false
remove_form_attributes: false # Default: false
remove_input_attributes: false # Default: false
remove_javascript_protocol: false # Default: false
remove_http_protocol: false # Default: false
remove_https_protocol: false # Default: false
preserve_line_breaks: false # Default: false
simple_boolean_attributes: false # Default: false
compress_js_templates: false # Default: false
# Enable ES6
uglifier_args:
harmony: false
#######################################################
############################################################
# Site configuration for the Jekyll Picture Tag
#
picture:
source: _webpack/images
output: assets/public/images
suppress_warnings: true