@@ -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 | 'links' => [ |
@@ -213,7 +213,7 @@ discard block |
||
213 | 213 | ], |
214 | 214 | 'excerpt' => [ |
215 | 215 | 'separator' => 'excerpt|break', // string to use as separator (`excerpt|break` by default) |
216 | - 'capture' => 'before', // part to capture, `before` or `after` the separator (`before` by default) |
|
216 | + 'capture' => 'before', // part to capture, `before` or `after` the separator (`before` by default) |
|
217 | 217 | ], |
218 | 218 | ], |
219 | 219 | // data files |
@@ -249,17 +249,17 @@ discard block |
||
249 | 249 | ], |
250 | 250 | 'assets' => [ |
251 | 251 | 'dir' => 'assets', |
252 | - 'compile' => [ // Compile Saas |
|
252 | + 'compile' => [// Compile Saas |
|
253 | 253 | 'enabled' => true, |
254 | 254 | 'style' => 'expanded', // 'expanded' or 'compressed', |
255 | 255 | 'import' => ['sass', 'scss', 'node_modules'], |
256 | 256 | 'sourcemap' => false, // works in debug mode only |
257 | 257 | //'variables' => ['var' => 'value'] |
258 | 258 | ], |
259 | - 'minify' => [ // Minify CSS and JS |
|
259 | + 'minify' => [// Minify CSS and JS |
|
260 | 260 | 'enabled' => true, |
261 | 261 | ], |
262 | - 'fingerprint' => [ // Add fingerprint |
|
262 | + 'fingerprint' => [// Add fingerprint |
|
263 | 263 | 'enabled' => true, |
264 | 264 | ], |
265 | 265 | 'target' => 'assets', // target directory of remote and resized assets |