-
Notifications
You must be signed in to change notification settings - Fork 1
/
_config.yml
304 lines (275 loc) · 7.29 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
# Welcome to Jekyll!
#
# This config file is meant for settings that affect your entire site, values
# which you are expected to set up once and rarely need to edit after that.
# For technical reasons, this file is *NOT* reloaded automatically when you use
# `jekyll serve`.
# Site Settings
locale : "zh-CN"
title : "Zgene"
title_separator : "-"
name : "Zimy"
description : "An amazing website."
url : "http://www.zgene.cn"
baseurl : # the subpath of your site, e.g. "/blog"
repository : "zimyx/zimyx.github.io"
teaser : "/assets/images/teaser.png"# path of fallback teaser image, e.g. "/assets/images/500x300.png"
# breadcrumbs : false # true, false (default)
words_per_minute : 200
comments:
provider : "staticman" # false (default), "disqus", "discourse", "facebook", "google-plus", "staticman", "custom"
disqus:
shortname : # https://help.disqus.com/customer/portal/articles/466208-what-s-a-shortname-
discourse:
server : # https://meta.discourse.org/t/embedding-discourse-comments-via-javascript/31963 , e.g.: meta.discourse.org
facebook:
# https://developers.facebook.com/docs/plugins/comments
appid :
num_posts : # 5 (default)
colorscheme : "dark"# "light" (default), "dark"
# staticman comments (full configuration in staticman.yml)
staticman:
branch : "master"
atom_feed:
path : # blank (default) uses feed.xml
# SEO Related
google_site_verification : "Kem9N2SwPNypbd1xsV7-dSYVcz03ENmyY1qjTtvsY08"
bing_site_verification : "0AF54B20F9485F788AC5750F93147C07"
alexa_site_verification :
baidu_site_verification : "G2EZVKZRW2"
# Social Sharing
twitter:
username :
facebook:
username :
app_id :
publisher :
og_image : "/assets/images/site-logo.png"
# For specifying social profiles
# - https://developers.google.com/structured-data/customize/social-profiles
social:
type : # Person or Organization (defaults to Person)
name : "Zimy"
links: # An array of links to social media profiles
# Analytics
analytics:
provider : "custom" # false (default), "google", "google-universal", "custom"
google:
tracking_id : # "UA-96090273-1"
# google ad 广告
google_ad-client : # "ca-pub-4696462454543555"
google_ad-slot : # "8153031822"
# Site Author
author:
name : "Zimy"
avatar : "/assets/images/2.gif" # path of avatar image, e.g. "/assets/images/bio-photo.jpg"
bio : "老啦 就这些"
location : "WuHan,China"
email : "zimyx@outlook.com"
uri :
bitbucket :
codepen :
dribbble :
flickr :
facebook :
foursquare :
github : "zimyx"
google_plus :
keybase :
instagram :
lastfm :
linkedin :
pinterest :
soundcloud :
stackoverflow : # "123456/username" (the last part of your profile url, e.g. http://stackoverflow.com/users/123456/username)
steam :
tumblr :
twitter :
vine :
weibo :
xing :
youtube : # "https://youtube.com/c/MichaelRoseDesign"
# Reading Files
include:
- .htaccess
- _pages
exclude:
- "*.sublime-project"
- "*.sublime-workspace"
- vendor
- .asset-cache
- .bundle
- .jekyll-assets-cache
- .sass-cache
- assets/js/plugins
- assets/js/_main.js
- assets/js/vendor
- Capfile
- CHANGELOG
- config
- Gemfile
- Gruntfile.js
- gulpfile.js
- LICENSE
- log
- node_modules
- package.json
- Rakefile
- README
- tmp
- /docs # ignore Minimal Mistakes /docs
- /test # ignore Minimal Mistakes /test
keep_files:
- .git
- .svn
encoding: "utf-8"
markdown_ext: "markdown,mkdown,mkdn,mkd,md"
# Conversion 转换
markdown: kramdown
highlighter: rouge
lsi: false
excerpt_separator: "\n\n"
incremental: false
# Markdown Processing
kramdown:
input: GFM
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
# Sass/SCSS
sass:
sass_dir: _sass
style: compressed # http://sass-lang.com/documentation/file.SASS_REFERENCE.html#output_style
# Outputting
permalink: /:categories/:title/
paginate: 5 # amount of posts to show
paginate_path: /page:num/
timezone: Asia/Shanghai # http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
# Plugins
gems:
- jekyll-paginate
- jekyll-sitemap
- jekyll-gist
- jekyll-feed
- jemoji
# mimic GitHub Pages with --safe
whitelist:
- jekyll-paginate
- jekyll-sitemap
- jekyll-gist
- jekyll-feed
- jemoji
# Archives
# Type
# - GitHub Pages compatible archive pages built with Liquid ~> type: liquid (default)
# - Jekyll Archives plugin archive pages ~> type: jekyll-archives
# Path (examples)
# - Archive page should exist at path when using Liquid method or you can
# expect broken links (especially with breadcrumbs enabled)
# - <base_path>/tags/my-awesome-tag/index.html ~> path: /tags/
# - <base_path/categories/my-awesome-category/index.html ~> path: /categories/
# - <base_path/my-awesome-category/index.html ~> path: /
category_archive:
type: liquid
path:
tag_archive:
type: liquid
path: /tags/
# https://github.com/jekyll/jekyll-archives
# jekyll-archives:
# enabled:
# - categories
# - tags
# layouts:
# category: archive-taxonomy
# tag: archive-taxonomy
# permalinks:
# category: /categories/:name/
# tag: /tags/:name/
# HTML Compression
# - http://jch.penibelst.de/
compress_html:
clippings: all
ignore:
envs: production #development
# Collections
collections:
ref:
output: true
permalink: /:collection/:path/
# Front Matter Defaults
defaults:
# _posts
- scope:
path: ""
type: posts
values:
layout: single
author_profile: true
read_time: true
comments: true # true
share: true
related: true
# _pages
- scope:
path: "_pages"
type: pages
values:
layout: single
author_profile: true
# 自说
- scope:
path: _posts/sayings
type: posts
values:
layout: page
category: sayings
read_time: true
comments: true
author_profile: true
# 自话
- scope:
path: _posts/quotations
type: posts
values:
layout: page
category: quotations
read_time: true
comments: true
# 自悟
- scope:
path: _posts/think
type: posts
values:
layout: page
category: think
read_time: true
comments: true
# 自参 --建站
- scope:
path: _ref/blog
type: ref
values:
layout: single
read_time: false
comments: true
author_profile: false
share: true
sidebar:
nav: ref-blog
# 自参 --工作
- scope:
path: _ref/work
type: ref
values:
layout: single
read_time: false
comments: true
author_profile: false
share: true
sidebar:
nav: ref-work