@@ -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' => [ |
@@ -189,14 +189,14 @@ discard block |
||
| 189 | 189 | 'format' => 'yaml', // front matter format `yaml`, `ini`, `toml` or `json` (`yaml` by default) |
| 190 | 190 | ], |
| 191 | 191 | 'body' => [ |
| 192 | - 'format' => 'md', // page body format (only Markdown is supported) |
|
| 192 | + 'format' => 'md', // page body format (only Markdown is supported) |
|
| 193 | 193 | 'toc' => ['h2', 'h3'], // headers used to build the table of contents |
| 194 | 194 | 'highlight' => [ |
| 195 | - 'enabled' => false, // enables code syntax highlighting (`false` by default) |
|
| 195 | + 'enabled' => false, // enables code syntax highlighting (`false` by default) |
|
| 196 | 196 | ], |
| 197 | 197 | 'images' => [ |
| 198 | 198 | 'lazy' => [ |
| 199 | - 'enabled' => true, // adds `loading="lazy"` attribute (`true` by default) |
|
| 199 | + 'enabled' => true, // adds `loading="lazy"` attribute (`true` by default) |
|
| 200 | 200 | ], |
| 201 | 201 | 'resize' => [ |
| 202 | 202 | 'enabled' => false, // enables image resizing by using the `width` extra attribute (`false` by default) |
@@ -211,14 +211,14 @@ discard block |
||
| 211 | 211 | 'enabled' => false, // puts the image in a <figure> element and adds a <figcaption> containing the title (`false` by default) |
| 212 | 212 | ], |
| 213 | 213 | 'remote' => [ |
| 214 | - 'enabled' => true, // turns remote images to Asset to handling them (`true` by default) |
|
| 214 | + 'enabled' => true, // turns remote images to Asset to handling them (`true` by default) |
|
| 215 | 215 | 'fallback' => [ |
| 216 | 216 | 'enabled' => false, // enables a fallback if image is not found (`false` by default) |
| 217 | - 'path' => '', // path to the fallback image, stored in assets dir (`` by default) |
|
| 217 | + 'path' => '', // path to the fallback image, stored in assets dir (`` by default) |
|
| 218 | 218 | ], |
| 219 | 219 | ], |
| 220 | 220 | 'class' => '', // put default class to each image (`` by default) |
| 221 | - 'decoding' => 'async', // adds `decoding="<value>"` attribute (`async` by default. 'sync', 'async' or 'auto') |
|
| 221 | + 'decoding' => 'async', // adds `decoding="<value>"` attribute (`async` by default. 'sync', 'async' or 'auto') |
|
| 222 | 222 | ], |
| 223 | 223 | 'links' => [ |
| 224 | 224 | 'embed' => [ |
@@ -233,7 +233,7 @@ discard block |
||
| 233 | 233 | ], |
| 234 | 234 | 'excerpt' => [ |
| 235 | 235 | 'separator' => 'excerpt|break', // string to use as separator (`excerpt|break` by default) |
| 236 | - 'capture' => 'before', // part to capture, `before` or `after` the separator (`before` by default) |
|
| 236 | + 'capture' => 'before', // part to capture, `before` or `after` the separator (`before` by default) |
|
| 237 | 237 | ], |
| 238 | 238 | ], |
| 239 | 239 | // data files |
@@ -269,17 +269,17 @@ discard block |
||
| 269 | 269 | ], |
| 270 | 270 | 'assets' => [ |
| 271 | 271 | 'dir' => 'assets', |
| 272 | - 'compile' => [ // Compile Saas |
|
| 272 | + 'compile' => [// Compile Saas |
|
| 273 | 273 | 'enabled' => true, |
| 274 | 274 | 'style' => 'expanded', // 'expanded' or 'compressed', |
| 275 | 275 | 'import' => ['sass', 'scss', 'node_modules'], |
| 276 | 276 | 'sourcemap' => false, // works in debug mode only |
| 277 | 277 | //'variables' => ['var' => 'value'] |
| 278 | 278 | ], |
| 279 | - 'minify' => [ // Minify CSS and JS |
|
| 279 | + 'minify' => [// Minify CSS and JS |
|
| 280 | 280 | 'enabled' => true, |
| 281 | 281 | ], |
| 282 | - 'fingerprint' => [ // Add fingerprint |
|
| 282 | + 'fingerprint' => [// Add fingerprint |
|
| 283 | 283 | 'enabled' => true, |
| 284 | 284 | ], |
| 285 | 285 | 'target' => 'assets', // target directory of remote and resized assets |