Passed
Push — asset-image-responsive ( 8ffc1b...3ab304 )
by Arnaud
03:25
created
config/default.php 1 patch
Spacing   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -13,14 +13,14 @@  discard block
 block discarded – undo
13 13
     'title'        => '',
14 14
     'baseline'     => '',
15 15
     'baseurl'      => 'http://localhost:8000/',
16
-    'canonicalurl' => false,   // if true 'url()' function preprends URL wirh 'baseurl'
16
+    'canonicalurl' => false, // if true 'url()' function preprends URL wirh 'baseurl'
17 17
     'description'  => '',
18
-    'taxonomies'   => [        // default taxonomies
18
+    'taxonomies'   => [// default taxonomies
19 19
         'tags'       => 'tag', // can be disabled with 'disabled' value
20 20
         'categories' => 'category',
21 21
     ],
22 22
     'pagination' => [
23
-        'max'  => 5,      // number of pages on each paginated pages
23
+        'max'  => 5, // number of pages on each paginated pages
24 24
         'path' => 'page', // path to paginated pages. ie: '/blog/page/2/'
25 25
     ],
26 26
     'date' => [
@@ -155,11 +155,11 @@  discard block
 block discarded – undo
155 155
         'format' => 'yaml',
156 156
     ],
157 157
     'body' => [
158
-        'format' => 'md',         // only Markdown is supported
158
+        'format' => 'md', // only Markdown is supported
159 159
         'toc'    => ['h2', 'h3'], // list of headers to include in Table of contents
160 160
         'images' => [
161 161
             'lazy' => [
162
-                'enabled' => true,  // lazy load images
162
+                'enabled' => true, // lazy load images
163 163
             ],
164 164
             'caption' => [
165 165
                 'enabled' => false, // adds <figcaption> based on image title
@@ -196,17 +196,17 @@  discard block
 block discarded – undo
196 196
         'dir' => 'themes',
197 197
     ],
198 198
     'assets' => [
199
-        'compile' => [     // Compile Saas
199
+        'compile' => [// Compile Saas
200 200
             'enabled'   => true,
201 201
             'style'     => 'expanded', // 'expanded' or 'compressed',
202 202
             'import'    => ['sass', 'scss', 'node_modules'],
203 203
             'sourcemap' => true, // works in debug mode only
204 204
             //'variables' => ['var' => 'value']
205 205
         ],
206
-        'minify' => [      // Minify CSS and JS
206
+        'minify' => [// Minify CSS and JS
207 207
             'enabled' => true,
208 208
         ],
209
-        'fingerprint' => [ // Add fingerprint
209
+        'fingerprint' => [// Add fingerprint
210 210
             'enabled' => true,
211 211
         ],
212 212
         'target' => 'assets', // target directory of remote and resized assets
@@ -214,13 +214,13 @@  discard block
 block discarded – undo
214 214
             'optimize' => [
215 215
                 'enabled' => false, // enables image optimization (JpegOptim, Optipng, Pngquant 2, SVGO 1, Gifsicle, cwebp)
216 216
             ],
217
-            'quality'    => 85,     // quality of optimized JPEG and PNG, and resized JPEG
217
+            'quality'    => 85, // quality of optimized JPEG and PNG, and resized JPEG
218 218
             'responsive' => [
219 219
                 'enabled' => false, // creates responsive images with `html` filter
220 220
                 'width'   => [
221
-                    'steps' => 5,     // number of steps between each responsives images
222
-                    'min'   => 320,   // minimum width
223
-                    'max'   => 1280,  // maximum width
221
+                    'steps' => 5, // number of steps between each responsives images
222
+                    'min'   => 320, // minimum width
223
+                    'max'   => 1280, // maximum width
224 224
                 ],
225 225
                 'sizes' => [
226 226
                     'default' => '100vw', // default sizes
Please login to merge, or discard this patch.