Passed
Push — configuration ( 7c80f4...253637 )
by Arnaud
04:02
created
config/default.php 1 patch
Spacing   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -114,9 +114,9 @@  discard block
 block discarded – undo
114 114
                 ],
115 115
                 'external' => [
116 116
                     'blank'      => false, // if true open external link in new tab
117
-                    'noopener'   => true,  // add "noopener" to `rel` attribute
118
-                    'noreferrer' => true,  // add "noreferrer" to `rel` attribute
119
-                    'nofollow'   => true,  // add "nofollow" to `rel` attribute
117
+                    'noopener'   => true, // add "noopener" to `rel` attribute
118
+                    'noreferrer' => true, // add "noreferrer" to `rel` attribute
119
+                    'nofollow'   => true, // add "nofollow" to `rel` attribute
120 120
                 ]
121 121
             ],
122 122
             'excerpt' => [
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
                 'capture'   => 'before', // part to capture, `before` or `after` the separator
125 125
             ],
126 126
         ],
127
-        'generators' => [ // list of pages generators class, ordered by weight
127
+        'generators' => [// list of pages generators class, ordered by weight
128 128
             10 => 'Cecil\Generator\DefaultPages',
129 129
             20 => 'Cecil\Generator\VirtualPages',
130 130
             30 => 'Cecil\Generator\ExternalBody',
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
             80 => 'Cecil\Generator\Alias',
136 136
             90 => 'Cecil\Generator\Redirect',
137 137
         ],
138
-        'default' => [ // default pages
138
+        'default' => [// default pages
139 139
             'index' => [
140 140
                 'path'      => '',
141 141
                 'title'     => 'Home',
@@ -232,9 +232,9 @@  discard block
 block discarded – undo
232 232
             ],
233 233
             'formats' => [], // `html` filter: creates and adds formats images as `source` (ie "webp" and/or "avif")
234 234
             'cdn' => [
235
-                'enabled'   => false,  // enables Image CDN
236
-                'canonical' => true,   // is `image_url` must be canonical or not
237
-                'remote'    => true,   // includes remote images
235
+                'enabled'   => false, // enables Image CDN
236
+                'canonical' => true, // is `image_url` must be canonical or not
237
+                'remote'    => true, // includes remote images
238 238
                 //'account'   => 'xxxx', // provider account
239 239
                 // Cloudinary
240 240
                 //'url'       => 'https://res.cloudinary.com/%account%/image/fetch/c_limit,w_%width%,q_%quality%,f_%format%,d_default/%image_url%',
@@ -253,14 +253,14 @@  discard block
 block discarded – undo
253 253
         'internal' => [
254 254
             'dir' => 'resources/layouts', // internal templates directory
255 255
         ],
256
-        'translations' => [ // i18n
256
+        'translations' => [// i18n
257 257
             'dir'      => 'translations', // translations files directory
258 258
             'formats'  => ['yaml', 'mo'], // translations supported formats
259 259
             'internal' => [
260 260
                 'dir' => 'resources/translations', // internal translations directory
261 261
             ],
262 262
         ],
263
-        'extensions' => [ // list of Twig extensions class
263
+        'extensions' => [// list of Twig extensions class
264 264
             //'Name' => 'Cecil\Renderer\Extension\Class',
265 265
         ],
266 266
     ],
@@ -275,7 +275,7 @@  discard block
 block discarded – undo
275 275
     // output formats and post process
276 276
     'output' => [
277 277
         'dir'      => '_site', // output directory
278
-        'formats'  => [ // https://cecil.app/documentation/configuration/#formats
278
+        'formats'  => [// https://cecil.app/documentation/configuration/#formats
279 279
             // e.g.: blog/post-1/index.html
280 280
             [
281 281
                 'name'      => 'html',
@@ -371,14 +371,14 @@  discard block
 block discarded – undo
371 371
                 'exclude'   => ['redirect', 'paginated'],
372 372
             ],
373 373
         ],
374
-        'pagetypeformats' => [ // formats applied by page type
374
+        'pagetypeformats' => [// formats applied by page type
375 375
             'page'       => ['html'],
376 376
             'homepage'   => ['html', 'atom'],
377 377
             'section'    => ['html', 'atom'],
378 378
             'vocabulary' => ['html'],
379 379
             'term'       => ['html', 'atom'],
380 380
         ],
381
-        'postprocessors' => [ // list of output post processors class
381
+        'postprocessors' => [// list of output post processors class
382 382
             'GeneratorMetaTag' => 'Cecil\Renderer\PostProcessor\GeneratorMetaTag',
383 383
             'HtmlExcerpt'      => 'Cecil\Renderer\PostProcessor\HtmlExcerpt',
384 384
             'MarkdownLink'     => 'Cecil\Renderer\PostProcessor\MarkdownLink',
Please login to merge, or discard this patch.