@@ -18,19 +18,19 @@ discard block |
||
18 | 18 | 'baseurl' => 'http://localhost:8000/', |
19 | 19 | 'canonicalurl' => false, // if true then `url()` function prepends URL with `baseurl` |
20 | 20 | 'description' => 'Site description', |
21 | - 'taxonomies' => [ // default taxonomies |
|
21 | + 'taxonomies' => [// default taxonomies |
|
22 | 22 | 'tags' => 'tag', // can be disabled with the special "disabled" value |
23 | 23 | 'categories' => 'category', |
24 | 24 | ], |
25 | 25 | 'pagination' => [ |
26 | - 'max' => 5, // number of pages by each paginated pages |
|
26 | + 'max' => 5, // number of pages by each paginated pages |
|
27 | 27 | 'path' => 'page', // path to paginated pages (e.g.: `/blog/page/2/`) |
28 | 28 | ], |
29 | 29 | //'date' => [ |
30 | 30 | // 'format' => 'F j, Y', // @see https://www.php.net/manual/fr/datetime.format.php#refsect1-datetime.format-parameters |
31 | 31 | // 'timezone' => 'Europe/Paris', |
32 | 32 | //], |
33 | - 'output' => [ // https://cecil.app/documentation/configuration/#formats |
|
33 | + 'output' => [// https://cecil.app/documentation/configuration/#formats |
|
34 | 34 | 'dir' => '_site', // output directory (`_site` by default) |
35 | 35 | 'formats' => [ |
36 | 36 | // e.g.: blog/post-1/index.html |
@@ -128,7 +128,7 @@ discard block |
||
128 | 128 | 'exclude' => ['redirect', 'paginated'], |
129 | 129 | ], |
130 | 130 | ], |
131 | - 'pagetypeformats' => [ // formats applied by page type |
|
131 | + 'pagetypeformats' => [// formats applied by page type |
|
132 | 132 | 'page' => ['html'], |
133 | 133 | 'homepage' => ['html', 'atom'], |
134 | 134 | 'section' => ['html', 'atom'], |
@@ -136,7 +136,7 @@ discard block |
||
136 | 136 | 'term' => ['html', 'atom'], |
137 | 137 | ], |
138 | 138 | ], |
139 | - 'language' => 'en', // main language code (`en` by default) |
|
139 | + 'language' => 'en', // main language code (`en` by default) |
|
140 | 140 | //'language' => [ |
141 | 141 | // 'code' => 'en', |
142 | 142 | // 'prefix' => true, // prefix main language pages path with language code (`false` by default) |
@@ -148,7 +148,7 @@ discard block |
||
148 | 148 | 'locale' => 'en_US', |
149 | 149 | ], |
150 | 150 | ], |
151 | - 'defaultpages' => [ // default generated pages |
|
151 | + 'defaultpages' => [// default generated pages |
|
152 | 152 | 'index' => [ |
153 | 153 | 'path' => '', |
154 | 154 | 'title' => 'Home', |
@@ -208,17 +208,17 @@ discard block |
||
208 | 208 | 'format' => 'yaml', // front matter format: `yaml`, `ini`, `toml` or `json` (`yaml` by default) |
209 | 209 | ], |
210 | 210 | 'body' => [ |
211 | - 'format' => 'md', // page body format (only Markdown is supported) |
|
211 | + 'format' => 'md', // page body format (only Markdown is supported) |
|
212 | 212 | 'toc' => ['h2', 'h3'], // headers used to build the table of contents |
213 | 213 | 'highlight' => [ |
214 | - 'enabled' => false, // enables code syntax highlighting (`false` by default) |
|
214 | + 'enabled' => false, // enables code syntax highlighting (`false` by default) |
|
215 | 215 | ], |
216 | 216 | 'images' => [ |
217 | 217 | 'lazy' => [ |
218 | - 'enabled' => true, // adds `loading="lazy"` attribute (`true` by default) |
|
218 | + 'enabled' => true, // adds `loading="lazy"` attribute (`true` by default) |
|
219 | 219 | ], |
220 | 220 | 'decoding' => [ |
221 | - 'enabled' => true, // adds `decoding="async"` attribute (`true` by default) |
|
221 | + 'enabled' => true, // adds `decoding="async"` attribute (`true` by default) |
|
222 | 222 | ], |
223 | 223 | 'resize' => [ |
224 | 224 | 'enabled' => false, // enables image resizing by using the `width` extra attribute (`false` by default) |
@@ -229,7 +229,7 @@ discard block |
||
229 | 229 | 'responsive' => [ |
230 | 230 | 'enabled' => false, // creates responsive images and adds them to the `srcset` attribute (`false` by default) |
231 | 231 | ], |
232 | - 'class' => '', // puts default CSS class to each image (empty by default) |
|
232 | + 'class' => '', // puts default CSS class to each image (empty by default) |
|
233 | 233 | 'caption' => [ |
234 | 234 | 'enabled' => false, // puts the image in a <figure> element and adds a <figcaption> containing the title (`false` by default) |
235 | 235 | ], |
@@ -237,7 +237,7 @@ discard block |
||
237 | 237 | 'enabled' => true, // turns remote images to Asset to handling them (`true` by default) |
238 | 238 | 'fallback' => [ |
239 | 239 | 'enabled' => false, // enables a fallback if image is not found (`false` by default) |
240 | - 'path' => '', // path to the fallback image, stored in assets dir (empty by default) |
|
240 | + 'path' => '', // path to the fallback image, stored in assets dir (empty by default) |
|
241 | 241 | ], |
242 | 242 | ], |
243 | 243 | ], |
@@ -254,7 +254,7 @@ discard block |
||
254 | 254 | ], |
255 | 255 | 'excerpt' => [ |
256 | 256 | 'separator' => 'excerpt|break', // string to use as separator (`excerpt|break` by default) |
257 | - 'capture' => 'before', // part to capture, `before` or `after` the separator (`before` by default) |
|
257 | + 'capture' => 'before', // part to capture, `before` or `after` the separator (`before` by default) |
|
258 | 258 | ], |
259 | 259 | ], |
260 | 260 | // data files |
@@ -324,9 +324,9 @@ discard block |
||
324 | 324 | ], |
325 | 325 | 'cdn' => [ |
326 | 326 | 'enabled' => false, // enables Image CDN (`false` by default) |
327 | - 'canonical' => true, // is `image_url` must be canonical or not (`true` by default) |
|
328 | - 'remote' => true, // includes remote images (`true` by default) |
|
329 | - 'svg' => true, // should support SVG format? (`true` by default) |
|
327 | + 'canonical' => true, // is `image_url` must be canonical or not (`true` by default) |
|
328 | + 'remote' => true, // includes remote images (`true` by default) |
|
329 | + 'svg' => true, // should support SVG format? (`true` by default) |
|
330 | 330 | //'account' => 'xxxx', // provider account |
331 | 331 | // Cloudinary |
332 | 332 | //'url' => 'https://res.cloudinary.com/%account%/image/fetch/c_limit,w_%width%,q_%quality%,f_%format%,d_default/%image_url%', |
@@ -376,7 +376,7 @@ discard block |
||
376 | 376 | 'dir' => 'translations', // translations files cache directory (`assets` by default) |
377 | 377 | ], |
378 | 378 | ], |
379 | - 'generators' => [ // list of generators ordered by index weight |
|
379 | + 'generators' => [// list of generators ordered by index weight |
|
380 | 380 | 10 => 'Cecil\Generator\DefaultPages', |
381 | 381 | 20 => 'Cecil\Generator\VirtualPages', |
382 | 382 | 30 => 'Cecil\Generator\ExternalBody', |