@@ -13,14 +13,14 @@ discard block |
||
13 | 13 | 'title' => 'Site title', |
14 | 14 | 'baseline' => 'Site baseline', |
15 | 15 | 'baseurl' => 'http://localhost:8000/', |
16 | - 'canonicalurl' => false, // if true 'url()' function preprends URL wirh 'baseurl' |
|
16 | + 'canonicalurl' => false, // if true 'url()' function preprends URL wirh 'baseurl' |
|
17 | 17 | 'description' => 'Site description', |
18 | - 'taxonomies' => [ // default taxonomies |
|
18 | + 'taxonomies' => [// default taxonomies |
|
19 | 19 | 'tags' => 'tag', // can be disabled with 'disabled' value |
20 | 20 | 'categories' => 'category', |
21 | 21 | ], |
22 | 22 | 'pagination' => [ |
23 | - 'max' => 5, // number of pages on each paginated pages |
|
23 | + 'max' => 5, // number of pages on each paginated pages |
|
24 | 24 | 'path' => 'page', // path to paginated pages. ie: '/blog/page/2/' |
25 | 25 | ], |
26 | 26 | 'date' => [ |
@@ -155,11 +155,11 @@ discard block |
||
155 | 155 | 'format' => 'yaml', |
156 | 156 | ], |
157 | 157 | 'body' => [ |
158 | - 'format' => 'md', // page body format (only Markdown is supported) |
|
158 | + 'format' => 'md', // page body format (only Markdown is supported) |
|
159 | 159 | 'toc' => ['h2', 'h3'], // headers used to build the table of contents |
160 | 160 | 'images' => [ |
161 | 161 | 'lazy' => [ |
162 | - 'enabled' => true, // enables lazy loading (`true` by default) |
|
162 | + 'enabled' => true, // enables lazy loading (`true` by default) |
|
163 | 163 | ], |
164 | 164 | 'caption' => [ |
165 | 165 | 'enabled' => false, // adds <figcaption> to images with a title (`false` by default) |
@@ -175,7 +175,7 @@ discard block |
||
175 | 175 | ], |
176 | 176 | ], |
177 | 177 | 'notes' => [ |
178 | - 'enabled' => false, // enables Notes blocks (`false` by default) |
|
178 | + 'enabled' => false, // enables Notes blocks (`false` by default) |
|
179 | 179 | ], |
180 | 180 | ], |
181 | 181 | // data files |
@@ -203,17 +203,17 @@ discard block |
||
203 | 203 | ], |
204 | 204 | 'assets' => [ |
205 | 205 | 'dir' => 'assets', |
206 | - 'compile' => [ // Compile Saas |
|
206 | + 'compile' => [// Compile Saas |
|
207 | 207 | 'enabled' => true, |
208 | 208 | 'style' => 'expanded', // 'expanded' or 'compressed', |
209 | 209 | 'import' => ['sass', 'scss', 'node_modules'], |
210 | 210 | 'sourcemap' => false, // works in debug mode only |
211 | 211 | //'variables' => ['var' => 'value'] |
212 | 212 | ], |
213 | - 'minify' => [ // Minify CSS and JS |
|
213 | + 'minify' => [// Minify CSS and JS |
|
214 | 214 | 'enabled' => true, |
215 | 215 | ], |
216 | - 'fingerprint' => [ // Add fingerprint |
|
216 | + 'fingerprint' => [// Add fingerprint |
|
217 | 217 | 'enabled' => true, |
218 | 218 | ], |
219 | 219 | 'target' => 'assets', // target directory of remote and resized assets |
@@ -221,13 +221,13 @@ discard block |
||
221 | 221 | 'optimize' => [ |
222 | 222 | 'enabled' => false, // enables images optimization with JpegOptim, Optipng, Pngquant 2, SVGO 1, Gifsicle, cwebp (`false` by default) |
223 | 223 | ], |
224 | - 'quality' => 85, // JPEG and PNG image quality after optimization or resize (`85` by default) |
|
224 | + 'quality' => 85, // JPEG and PNG image quality after optimization or resize (`85` by default) |
|
225 | 225 | 'responsive' => [ |
226 | 226 | 'enabled' => false, // creates responsive images with `html` filter (`false` by default) |
227 | 227 | 'width' => [ |
228 | - 'steps' => 5, // number of steps from `min` to `max` (`5` by default) |
|
229 | - 'min' => 320, // minimum width (`320` by default) |
|
230 | - 'max' => 1280, // maximum width (`1280` by default) |
|
228 | + 'steps' => 5, // number of steps from `min` to `max` (`5` by default) |
|
229 | + 'min' => 320, // minimum width (`320` by default) |
|
230 | + 'max' => 1280, // maximum width (`1280` by default) |
|
231 | 231 | ], |
232 | 232 | 'sizes' => [ |
233 | 233 | 'default' => '100vw', // `sizes` attribute (`100vw` by default) |