Test Failed
Pull Request — master (#1670)
by Arnaud
07:53 queued 03:43
created
config/default.php 1 patch
Spacing   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -18,19 +18,19 @@  discard block
 block discarded – undo
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'   => 'j F 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
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
                 'exclude'   => ['redirect', 'paginated'],
113 113
             ],
114 114
         ],
115
-        'pagetypeformats' => [ // formats applied by page type
115
+        'pagetypeformats' => [// formats applied by page type
116 116
             'page'       => ['html'],
117 117
             'homepage'   => ['html', 'atom'],
118 118
             'section'    => ['html', 'atom'],
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
             'locale' => 'en_US',
130 130
         ],
131 131
     ],
132
-    'defaultpages' => [ // default generated pages
132
+    'defaultpages' => [// default generated pages
133 133
         'index' => [
134 134
             'path'      => '',
135 135
             'title'     => 'Home',
@@ -184,7 +184,7 @@  discard block
 block discarded – undo
184 184
         'dir'     => 'pages', // pages files directory (`pages` by default, previously `content`)
185 185
         'ext'     => ['md', 'markdown', 'mdown', 'mkdn', 'mkd', 'text', 'txt'], // supported files formats, by extension
186 186
         'exclude' => ['vendor', 'node_modules'], // directories, paths and files name to exclude (accepts globs, strings and regexes)
187
-        'generators' => [ // list of pages generators, ordered by weight
187
+        'generators' => [// list of pages generators, ordered by weight
188 188
             10 => 'Cecil\Generator\DefaultPages',
189 189
             20 => 'Cecil\Generator\VirtualPages',
190 190
             30 => 'Cecil\Generator\ExternalBody',
@@ -200,17 +200,17 @@  discard block
 block discarded – undo
200 200
         'format' => 'yaml', // front matter format: `yaml`, `ini`, `toml` or `json` (`yaml` by default)
201 201
     ],
202 202
     'body' => [
203
-        'format'    => 'md',         // page body format (only Markdown is supported)
203
+        'format'    => 'md', // page body format (only Markdown is supported)
204 204
         'toc'       => ['h2', 'h3'], // headers used to build the table of contents
205 205
         'highlight' => [
206
-            'enabled' => false,      // enables code syntax highlighting (`false` by default)
206
+            'enabled' => false, // enables code syntax highlighting (`false` by default)
207 207
         ],
208 208
         'images' => [
209 209
             'lazy' => [
210
-                'enabled' => true,  // adds `loading="lazy"` attribute (`true` by default)
210
+                'enabled' => true, // adds `loading="lazy"` attribute (`true` by default)
211 211
             ],
212 212
             'decoding' => [
213
-                'enabled' => true,  // adds `decoding="async"` attribute (`true` by default)
213
+                'enabled' => true, // adds `decoding="async"` attribute (`true` by default)
214 214
             ],
215 215
             'resize' => [
216 216
                 'enabled' => false, // enables image resizing by using the `width` extra attribute (`false` by default)
@@ -221,7 +221,7 @@  discard block
 block discarded – undo
221 221
             'responsive' => [
222 222
                 'enabled' => false, // creates responsive images and adds them to the `srcset` attribute (`false` by default)
223 223
             ],
224
-            'class' => '',          // puts default CSS class to each image (empty by default)
224
+            'class' => '', // puts default CSS class to each image (empty by default)
225 225
             'caption' => [
226 226
                 'enabled' => false, // puts the image in a <figure> element and adds a <figcaption> containing the title (`false` by default)
227 227
             ],
@@ -229,7 +229,7 @@  discard block
 block discarded – undo
229 229
                 'enabled'  => true, // turns remote images to Asset to handling them (`true` by default)
230 230
                 'fallback' => [
231 231
                     'enabled' => false, // enables a fallback if image is not found (`false` by default)
232
-                    'path'    => '',    // path to the fallback image, stored in assets dir (empty by default)
232
+                    'path'    => '', // path to the fallback image, stored in assets dir (empty by default)
233 233
                 ],
234 234
             ],
235 235
         ],
@@ -246,7 +246,7 @@  discard block
 block discarded – undo
246 246
         ],
247 247
         'excerpt' => [
248 248
             'separator' => 'excerpt|break', // string to use as separator (`excerpt|break` by default)
249
-            'capture'   => 'before',        // part to capture, `before` or `after` the separator (`before` by default)
249
+            'capture'   => 'before', // part to capture, `before` or `after` the separator (`before` by default)
250 250
         ],
251 251
     ],
252 252
     // data files
@@ -316,9 +316,9 @@  discard block
 block discarded – undo
316 316
                 'enabled' => false, // `html` filter: creates and adds a WebP image as a `source` (`false` by default)
317 317
             ],
318 318
             'cdn' => [
319
-                'enabled'   => false,  // enables Image CDN (`false` by default)
320
-                'canonical' => true,   // is `image_url` must be canonical or not (`true` by default)
321
-                'remote'    => true,   // includes remote images (`true` by default)
319
+                'enabled'   => false, // enables Image CDN (`false` by default)
320
+                'canonical' => true, // is `image_url` must be canonical or not (`true` by default)
321
+                'remote'    => true, // includes remote images (`true` by default)
322 322
                 //'account'   => 'xxxx', // provider account
323 323
                 // Cloudinary
324 324
                 //'url'       => 'https://res.cloudinary.com/%account%/image/fetch/c_limit,w_%width%,q_%quality%,f_%format%,d_default/%image_url%',
Please login to merge, or discard this patch.