@@ -16,14 +16,14 @@ discard block |
||
16 | 16 | 'title' => 'Site title', |
17 | 17 | //'baseline' => 'Site baseline', |
18 | 18 | 'baseurl' => 'http://localhost:8000/', |
19 | - 'canonicalurl' => false, // if true 'url()' function preprends URL wirh 'baseurl' |
|
19 | + 'canonicalurl' => false, // if true 'url()' function preprends URL wirh 'baseurl' |
|
20 | 20 | 'description' => 'Site description', |
21 | - 'taxonomies' => [ // default taxonomies |
|
21 | + 'taxonomies' => [// default taxonomies |
|
22 | 22 | 'tags' => 'tag', // can be disabled with 'disabled' value |
23 | 23 | 'categories' => 'category', |
24 | 24 | ], |
25 | 25 | 'pagination' => [ |
26 | - 'max' => 5, // number of pages on each paginated pages |
|
26 | + 'max' => 5, // number of pages on each paginated pages |
|
27 | 27 | 'path' => 'page', // path to paginated pages. ie: '/blog/page/2/' |
28 | 28 | ], |
29 | 29 | 'date' => [ |
@@ -181,14 +181,14 @@ discard block |
||
181 | 181 | 'format' => 'yaml', // front matter format `yaml`, `ini`, `toml` or `json` (`yaml` by default) |
182 | 182 | ], |
183 | 183 | 'body' => [ |
184 | - 'format' => 'md', // page body format (only Markdown is supported) |
|
184 | + 'format' => 'md', // page body format (only Markdown is supported) |
|
185 | 185 | 'toc' => ['h2', 'h3'], // headers used to build the table of contents |
186 | 186 | 'highlight' => [ |
187 | - 'enabled' => false, // enables code syntax highlighting (`false` by default) |
|
187 | + 'enabled' => false, // enables code syntax highlighting (`false` by default) |
|
188 | 188 | ], |
189 | 189 | 'images' => [ |
190 | 190 | 'lazy' => [ |
191 | - 'enabled' => true, // adds `loading="lazy"` attribute (`true` by default) |
|
191 | + 'enabled' => true, // adds `loading="lazy"` attribute (`true` by default) |
|
192 | 192 | ], |
193 | 193 | 'resize' => [ |
194 | 194 | 'enabled' => false, // enables image resizing by using the `width` extra attribute (`false` by default) |
@@ -203,7 +203,7 @@ discard block |
||
203 | 203 | 'enabled' => false, // puts the image in a <figure> element and adds a <figcaption> containing the title (`false` by default) |
204 | 204 | ], |
205 | 205 | 'remote' => [ |
206 | - 'enabled' => true, // turns remote images to Asset to handling them (`true` by default) |
|
206 | + 'enabled' => true, // turns remote images to Asset to handling them (`true` by default) |
|
207 | 207 | ], |
208 | 208 | ], |
209 | 209 | ], |
@@ -240,17 +240,17 @@ discard block |
||
240 | 240 | ], |
241 | 241 | 'assets' => [ |
242 | 242 | 'dir' => 'assets', |
243 | - 'compile' => [ // Compile Saas |
|
243 | + 'compile' => [// Compile Saas |
|
244 | 244 | 'enabled' => true, |
245 | 245 | 'style' => 'expanded', // 'expanded' or 'compressed', |
246 | 246 | 'import' => ['sass', 'scss', 'node_modules'], |
247 | 247 | 'sourcemap' => false, // works in debug mode only |
248 | 248 | //'variables' => ['var' => 'value'] |
249 | 249 | ], |
250 | - 'minify' => [ // Minify CSS and JS |
|
250 | + 'minify' => [// Minify CSS and JS |
|
251 | 251 | 'enabled' => true, |
252 | 252 | ], |
253 | - 'fingerprint' => [ // Add fingerprint |
|
253 | + 'fingerprint' => [// Add fingerprint |
|
254 | 254 | 'enabled' => true, |
255 | 255 | ], |
256 | 256 | 'target' => 'assets', // target directory of remote and resized assets |
@@ -258,7 +258,7 @@ discard block |
||
258 | 258 | 'optimize' => [ |
259 | 259 | 'enabled' => false, // enables images optimization with JpegOptim, Optipng, Pngquant 2, SVGO 1, Gifsicle, cwebp (`false` by default) |
260 | 260 | ], |
261 | - 'quality' => 75, // Image quality after optimization or resize (`75` by default) |
|
261 | + 'quality' => 75, // Image quality after optimization or resize (`75` by default) |
|
262 | 262 | 'responsive' => [ |
263 | 263 | 'enabled' => false, // creates responsive images with `html` filter (`false` by default) |
264 | 264 | 'widths' => [480, 640, 768, 1024, 1366, 1600, 1920], |
@@ -270,7 +270,7 @@ discard block |
||
270 | 270 | 'enabled' => false, // creates a WebP version of images with `html` filter (`false` by default) |
271 | 271 | ], |
272 | 272 | 'resize' => [ |
273 | - 'dir' => 'thumbs', // directory of resized assets (`thumbs` by default) |
|
273 | + 'dir' => 'thumbs', // directory of resized assets (`thumbs` by default) |
|
274 | 274 | ], |
275 | 275 | ], |
276 | 276 | ], |