forked from 96boards/website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_config-china.yml
259 lines (225 loc) · 6.18 KB
/
_config-china.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
# Email address
email: [email protected]
#OpenHours Setup
openhours:
hour: 16 # 4pm UTC
day: 4 #Thursday - 0-6
# Destination of the Jekyll site upon build of site.
destination: cn.96boards.org
# Include the Linaro Jekyll Theme
# include: [_jekyll-hyperblip-theme]
# Permalink for the blog posts of the Jekyll website.
permalink: /blog/:title/
# production status for robots.txt and files alike.
production: false
# Shema.org Setup -> used in the schema.html include.
schema:
organisation:
name: 96boards
url: https://www.96boards.org
sameAs:
- https://twitter.com/96Boards
- https://www.facebook.com/96Boards
- https://www.linkedin.com/company/6637095
- https://github.com/96boards
- http://slideshare.com/96boards
address:
street: Harston Mill, Royston Rd
town: Harston
county: Cambridge
post_code: CB22 7GG
country_code: UK
# For china build specific settings.
china_build: true
# Markdown version
markdown: kramdown
kramdown:
input: GFM
syntax_highlighter: rouge # Syntax highlighter for 96boards blog
# Website title - used in the <title> tag of the <head> section of the website.
title: 96Boards
# Encoding of the files being included in the Jekyll Build.
encoding: utf-8
# Description of the website used in the Meta Description.
description: > # this means to ignore newlines until "baseurl:"
32- and 64-bit ARM Open Platform Specifications. For software developers.
For the maker community. For embedded OEMs. 64-bit ARM for $129.
# Jekyll configuration for running the site in "Safe" mode.
safe: false
# Search label setting for site search with e.g. search/?fields.label=96Boards
search-label: 96Boards
# Disqus Comments settings.
disqus: true
disqus_shortname: '96boards'
# This is the url that is used when your site is built for canonicals etc.
#url: "http://localhost:4000"
url: "https://www.cn.96boards.org"
# Files jekyll should keep.
keep_files:
- pinout
# Files that should be excluded from the Jekyll build.
exclude:
- Gemfile
- Gemfile.lock
- .gitignore
- .git
- .asset-cache
- _deploy
- _deploy-china
- _deploy-test
- _deploy-site
- .sass-cache
- _private
- _site
- help
- _projects/projects.md
# - _projects
# - _product
# - _documentation
# - _posts/2015
# - _posts/2017
# - _posts/2016
# - _posts
# - blog
# Google Tag mangager site wide setting - for deployment of site to China.
google-tag-manager: false
# Social Configuration for the Jekyll SEO plugin.
social:
name: 96Boards
links:
- https://twitter.com/96Boards
- https://www.facebook.com/96Boards
- https://www.linkedin.com/company/6637095
- https://plus.google.com/106009833460292139774/posts
- https://github.com/96boards
- http://slideshare.com/96boards
twitter:
username: 96Boards
# Jekyll social media site settings. Github, LinkedIn, Google+, Facebook and Youtube
github_username: 96boards
linkedin_username: 6637095
google_plus_username: 106009833460292139774
facebook_username: 96Boards
youtube_username: UCjawhk_W1QnJs3pKIsKLJNg
twitter_username: 96Boards
# Jekyll Collections configuration - Projects, Products and Documentation.
collections:
product:
output: true
permalink: /:collection/:path/
projects:
output: true
permalink: /:collection/:path/
documentation:
output: true
permalink: /:collection/:path/
defaults:
- scope:
type: "documentation"
values:
layout: "documentation-page"
page_specific_css: documentation-pages
- scope:
path: "_projects/view"
values:
project: true
- scope:
type: "projects"
values:
page_specific_css: projects-pages
layout: project-display-page
- scope:
path: "_product"
values:
page_specific_css: products-pages
- scope:
path: ""
type: "posts"
values:
layout: post
comments: true
page_specific_css: blog-pages
- scope:
path: "/sitemap.xml"
values:
redirect_from: /sitemap/
- scope:
path: ""
values:
image: /assets/images/social-media-image.png
# Gems that should be included in the Jekyll builld of this site.
plugins:
- jekyll-seo-tag
- jekyll-sitemap
- jekyll-readme-index
# - jekyll-feed
- bootstrap-sass
- uglifier
- jekyll-assets
# - jekyll-redirect-from
# ^^^ is this still needed?
- jekyll-tidy
- autoprefixer-rails
# - jekyll-postfiles
# - jekyll-minimagick
# ^^^ using local version
- jekyll-paginate-v2
# Compress the html and beautify it.
jekyll_tidy: # Compress the html and beautify it.
compress_html: true
exclude: [robots.txt] # Exclude the robots.txt file from removal of whitespace
# Jekyll Assets plugin - set js and css to true so it compresses on jekyll build
assets:
compress:
js: true
css: true
autoprefixer:
browsers: ["last 2 versions","> 5%","IE 9"]
sources:
- _assets/js
- _assets/css
- assets/images
- assets/images/projects
- assets/images/members
- assets/images/authors
- assets/images/products
- _assets/fonts
- assets/images/blog
- assets/images/blog/thumbs
# Sass configuration - compressed and sass_dir of the root Jekyll assets folder.
sass:
style: compressed
sass_dir: _assets/css
paginate_path: /blog/:num/
# Jekyll Pagination V2 Configuration
pagination:
enabled: true
per_page: 10
trail:
before: 2
after: 2
sort_reverse: true
sort_field: 'date'
# Jekyll pagination v2 autopages configuration.
autopages:
enabled: false
#
mini_magick:
blog_thumbnail_static:
source: assets/images/blog
destination: assets/thumbnails/blog
resize: "200x200"
thumbnail: "200x200>"
gravity: "Center"
extent: "200x200"
# project_thumbnails:
# source: _assets/images/projects
# destination: assets/thumbnails/projects
# resize: "200x200"
# thumbnail: "200x200>"
# gravity: "Center"
# extent: "200x200"
#
jekyll_relative_links:
process_all_collections: true
verbose: 1