@@ -13,14 +13,14 @@ discard block |
||
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' => [ |
@@ -201,17 +201,17 @@ discard block |
||
201 | 201 | 'dir' => 'themes', |
202 | 202 | ], |
203 | 203 | 'assets' => [ |
204 | - 'compile' => [ // Compile Saas |
|
204 | + 'compile' => [// Compile Saas |
|
205 | 205 | 'enabled' => true, |
206 | 206 | 'style' => 'expanded', // 'expanded' or 'compressed', |
207 | 207 | 'import' => ['sass', 'scss', 'node_modules'], |
208 | 208 | 'sourcemap' => true, // works in debug mode only |
209 | 209 | //'variables' => ['var' => 'value'] |
210 | 210 | ], |
211 | - 'minify' => [ // Minify CSS and JS |
|
211 | + 'minify' => [// Minify CSS and JS |
|
212 | 212 | 'enabled' => true, |
213 | 213 | ], |
214 | - 'fingerprint' => [ // Add fingerprint |
|
214 | + 'fingerprint' => [// Add fingerprint |
|
215 | 215 | 'enabled' => true, |
216 | 216 | ], |
217 | 217 | 'target' => 'assets', // target directory of remote and resized assets |
@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | * Overrides configuration with environment variables. |
63 | 63 | */ |
64 | 64 | $data = $this->getData(); |
65 | - $applyEnv = function ($array) use ($data) { |
|
65 | + $applyEnv = function($array) use ($data) { |
|
66 | 66 | $iterator = new \RecursiveIteratorIterator( |
67 | 67 | new \RecursiveArrayIterator($array), |
68 | 68 | \RecursiveIteratorIterator::SELF_FIRST |
@@ -441,7 +441,7 @@ discard block |
||
441 | 441 | throw new Exception(sprintf('The default language "%s" is not listed in "languages" key configuration.', $this->getLanguageDefault())); |
442 | 442 | } |
443 | 443 | |
444 | - $languages = array_filter($languages, function ($language) { |
|
444 | + $languages = array_filter($languages, function($language) { |
|
445 | 445 | return !array_keys($language, 'enabled') || $language['enabled'] !== false; |
446 | 446 | }); |
447 | 447 |