@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | //'taxonomies' => [ // can be disabled with the special "disabled" value |
54 | 54 | // '<plural>' => '<vocabulary>', |
55 | 55 | //], |
56 | - 'pages' => [ // Markdown content management |
|
56 | + 'pages' => [// Markdown content management |
|
57 | 57 | 'dir' => 'pages', // pages files directory |
58 | 58 | 'ext' => ['md', 'markdown', 'mdown', 'mkdn', 'mkd', 'text', 'txt'], // supported files formats, by extension |
59 | 59 | 'exclude' => ['vendor', 'node_modules'], // directories, paths and files name to exclude (accepts globs, strings and regexes) |
@@ -111,9 +111,9 @@ discard block |
||
111 | 111 | ], |
112 | 112 | 'external' => [ |
113 | 113 | 'blank' => false, // if true open external link in new tab |
114 | - 'noopener' => true, // add "noopener" to `rel` attribute |
|
115 | - 'noreferrer' => true, // add "noreferrer" to `rel` attribute |
|
116 | - 'nofollow' => true, // add "nofollow" to `rel` attribute |
|
114 | + 'noopener' => true, // add "noopener" to `rel` attribute |
|
115 | + 'noreferrer' => true, // add "noreferrer" to `rel` attribute |
|
116 | + 'nofollow' => true, // add "nofollow" to `rel` attribute |
|
117 | 117 | ] |
118 | 118 | ], |
119 | 119 | 'excerpt' => [ |
@@ -129,18 +129,18 @@ discard block |
||
129 | 129 | // <position> => 'Cecil\Generator\<class>', |
130 | 130 | //], |
131 | 131 | ], |
132 | - 'data' => [ // data files |
|
132 | + 'data' => [// data files |
|
133 | 133 | 'dir' => 'data', // data files directory |
134 | 134 | 'ext' => ['yaml', 'yml', 'json', 'xml', 'csv'], // loaded files by extension |
135 | 135 | 'load' => true, // enables `site.data` collection |
136 | 136 | ], |
137 | - 'static' => [ // static files |
|
137 | + 'static' => [// static files |
|
138 | 138 | 'dir' => 'static', // static files directory |
139 | 139 | 'target' => '', // subdirectory where files are copied |
140 | 140 | 'exclude' => ['sass', 'scss', '*.scss', 'package*.json', 'node_modules'], // excluded files by extension or pattern |
141 | 141 | 'load' => false, // enables `site.static` collection |
142 | 142 | ], |
143 | - 'assets' => [ // assets: CSS, JS, images, etc. |
|
143 | + 'assets' => [// assets: CSS, JS, images, etc. |
|
144 | 144 | 'dir' => 'assets', // assets files directory |
145 | 145 | 'target' => 'assets', // where processed assets are saved (in output directory) |
146 | 146 | 'remote' => [ |
@@ -174,9 +174,9 @@ discard block |
||
174 | 174 | ], |
175 | 175 | 'formats' => [], // `html` filter: creates and adds formats images as `source` (ie "webp" and/or "avif") |
176 | 176 | 'cdn' => [ |
177 | - 'enabled' => false, // enables Image CDN |
|
178 | - 'canonical' => true, // is `image_url` must be canonical or not |
|
179 | - 'remote' => true, // includes remote images |
|
177 | + 'enabled' => false, // enables Image CDN |
|
178 | + 'canonical' => true, // is `image_url` must be canonical or not |
|
179 | + 'remote' => true, // includes remote images |
|
180 | 180 | //'account' => 'xxxx', // provider account |
181 | 181 | // Cloudinary |
182 | 182 | //'url' => 'https://res.cloudinary.com/%account%/image/fetch/c_limit,w_%width%,q_%quality%,f_%format%,d_default/%image_url%', |
@@ -189,22 +189,22 @@ discard block |
||
189 | 189 | ] |
190 | 190 | ], |
191 | 191 | ], |
192 | - 'layouts' => [ // layouts and templates |
|
192 | + 'layouts' => [// layouts and templates |
|
193 | 193 | 'dir' => 'layouts', // Twig templates directory |
194 | 194 | 'internal' => [ |
195 | 195 | 'dir' => 'resources/layouts', // internal templates directory |
196 | 196 | ], |
197 | - 'translations' => [ // i18n |
|
197 | + 'translations' => [// i18n |
|
198 | 198 | 'dir' => 'translations', // translations files directory |
199 | 199 | 'formats' => ['yaml', 'mo'], // translations supported formats |
200 | 200 | 'internal' => [ |
201 | 201 | 'dir' => 'resources/translations', // internal translations directory |
202 | 202 | ], |
203 | 203 | ], |
204 | - 'extensions' => [ // list of Twig extensions class |
|
204 | + 'extensions' => [// list of Twig extensions class |
|
205 | 205 | //'<name>' => 'Cecil\Renderer\Extension\<class>', |
206 | 206 | ], |
207 | - 'components' => [ // components |
|
207 | + 'components' => [// components |
|
208 | 208 | 'dir' => 'components', // components directory |
209 | 209 | 'ext' => 'twig', // components files extension |
210 | 210 | ], |
@@ -215,7 +215,7 @@ discard block |
||
215 | 215 | 'themes' => [ |
216 | 216 | 'dir' => 'themes', // where themes are stored |
217 | 217 | ], |
218 | - 'output' => [ // output formats and post process |
|
218 | + 'output' => [// output formats and post process |
|
219 | 219 | 'dir' => '_site', // output directory |
220 | 220 | //'formats' => [ // https://cecil.app/documentation/configuration/#formats |
221 | 221 | // [ |
@@ -226,7 +226,7 @@ discard block |
||
226 | 226 | // 'exclude' => ['variable1', 'variable2'], |
227 | 227 | // ], |
228 | 228 | //], |
229 | - 'pagetypeformats' => [ // formats applied by page type |
|
229 | + 'pagetypeformats' => [// formats applied by page type |
|
230 | 230 | 'page' => ['html'], |
231 | 231 | 'homepage' => ['html', 'atom'], |
232 | 232 | 'section' => ['html', 'atom'], |
@@ -237,7 +237,7 @@ discard block |
||
237 | 237 | // '<name>' => 'Cecil\Renderer\PostProcessor\<class>', |
238 | 238 | //], |
239 | 239 | ], |
240 | - 'cache' => [ // cache management |
|
240 | + 'cache' => [// cache management |
|
241 | 241 | 'enabled' => true, // enables cache support |
242 | 242 | 'dir' => '.cache', // cache files directory |
243 | 243 | 'templates' => [ |
@@ -255,7 +255,7 @@ discard block |
||
255 | 255 | 'dir' => 'translations', // translations files cache directory |
256 | 256 | ], |
257 | 257 | ], |
258 | - 'optimize' => [ // files optimization |
|
258 | + 'optimize' => [// files optimization |
|
259 | 259 | 'enabled' => false, // enables files optimization |
260 | 260 | 'html' => [ |
261 | 261 | 'enabled' => true, // enables HTML files optimization |