@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | 'metatags' => [ |
66 | 66 | 'robots' => 'index,follow', // SEO robots default directive |
67 | 67 | ], |
68 | - 'pages' => [ // Markdown content management |
|
68 | + 'pages' => [// Markdown content management |
|
69 | 69 | 'dir' => 'pages', // pages files directory |
70 | 70 | 'ext' => ['md', 'markdown', 'mdown', 'mkdn', 'mkd', 'text', 'txt'], // supported files formats, by extension |
71 | 71 | 'exclude' => ['vendor', 'node_modules'], // directories, paths and files name to exclude (accepts globs, strings and regexes) |
@@ -99,12 +99,12 @@ discard block |
||
99 | 99 | 'caption' => false, // puts the image in a <figure> element and adds a <figcaption> containing the title |
100 | 100 | 'placeholder' => '', // fill <img> background before loading (`color` or `lqip`) |
101 | 101 | 'class' => '', // puts default CSS class(es) to each image |
102 | - 'remote' => [ // turns remote images into Assets to process them (disable with `false`) |
|
102 | + 'remote' => [// turns remote images into Assets to process them (disable with `false`) |
|
103 | 103 | 'fallback' => '', // path to the fallback image, stored in assets directory (empty by default) |
104 | 104 | ], |
105 | 105 | ], |
106 | 106 | 'links' => [ |
107 | - 'embed' => [ // turns links in embedded content if possible |
|
107 | + 'embed' => [// turns links in embedded content if possible |
|
108 | 108 | 'enabled' => false, |
109 | 109 | 'video' => ['mp4', 'webm'], // supported video file types, by extension |
110 | 110 | 'audio' => ['mp3', 'ogg', 'wav'], // supported audio file types, by extension |
@@ -125,16 +125,16 @@ discard block |
||
125 | 125 | // <position> => 'Cecil\Generator\<class>', |
126 | 126 | //], |
127 | 127 | ], |
128 | - 'data' => [ // data files |
|
128 | + 'data' => [// data files |
|
129 | 129 | 'dir' => 'data', // data files directory |
130 | 130 | 'ext' => ['yaml', 'yml', 'json', 'xml', 'csv'], // loaded files by extension |
131 | 131 | 'load' => true, // enables `site.data` collection |
132 | 132 | ], |
133 | - 'assets' => [ // assets: CSS, JS, images, etc. |
|
133 | + 'assets' => [// assets: CSS, JS, images, etc. |
|
134 | 134 | 'dir' => 'assets', // assets files directory |
135 | 135 | 'target' => 'assets', // where processed assets are saved (in output directory) |
136 | 136 | 'fingerprint' => true, // enables fingerprinting |
137 | - 'compile' => [ // disable Sass files compilation with `false` |
|
137 | + 'compile' => [// disable Sass files compilation with `false` |
|
138 | 138 | 'style' => 'expanded', // compilation style (`expanded` or `compressed`) |
139 | 139 | 'import' => ['sass', 'scss', 'node_modules'], // list of imported directories |
140 | 140 | 'sourcemap' => false, // enables sourcemap in debug mode |
@@ -160,22 +160,22 @@ discard block |
||
160 | 160 | //] |
161 | 161 | ], |
162 | 162 | ], |
163 | - 'static' => [ // static files |
|
163 | + 'static' => [// static files |
|
164 | 164 | 'dir' => 'static', // static files directory |
165 | 165 | 'target' => '', // subdirectory where files are copied |
166 | 166 | 'exclude' => ['sass', 'scss', '*.scss', 'package*.json', 'node_modules'], // excluded files by extension or pattern |
167 | 167 | 'load' => false, // enables `site.static` collection |
168 | 168 | ], |
169 | - 'layouts' => [ // layouts and templates |
|
169 | + 'layouts' => [// layouts and templates |
|
170 | 170 | 'dir' => 'layouts', // Twig templates directory |
171 | - 'translations' => [ // i18n |
|
171 | + 'translations' => [// i18n |
|
172 | 172 | 'dir' => 'translations', // translations files directory |
173 | 173 | 'formats' => ['yaml', 'mo'], // translations supported formats |
174 | 174 | ], |
175 | - 'extensions' => [ // list of Twig extensions class |
|
175 | + 'extensions' => [// list of Twig extensions class |
|
176 | 176 | //'<name>' => 'Cecil\Renderer\Extension\<class>', |
177 | 177 | ], |
178 | - 'components' => [ // components |
|
178 | + 'components' => [// components |
|
179 | 179 | 'dir' => 'components', // components directory |
180 | 180 | 'ext' => 'twig', // components files extension |
181 | 181 | ], |
@@ -183,7 +183,7 @@ discard block |
||
183 | 183 | // '<section>' => '<layout>', |
184 | 184 | //] |
185 | 185 | ], |
186 | - 'output' => [ // output formats and post process |
|
186 | + 'output' => [// output formats and post process |
|
187 | 187 | 'dir' => '_site', // output directory |
188 | 188 | //'formats' => [ // https://cecil.app/documentation/configuration/#formats |
189 | 189 | // [ |
@@ -194,7 +194,7 @@ discard block |
||
194 | 194 | // 'exclude' => ['variable1', 'variable2'], |
195 | 195 | // ], |
196 | 196 | //], |
197 | - 'pagetypeformats' => [ // formats applied by page type |
|
197 | + 'pagetypeformats' => [// formats applied by page type |
|
198 | 198 | 'page' => ['html'], |
199 | 199 | 'homepage' => ['html', 'atom'], |
200 | 200 | 'section' => ['html', 'atom'], |
@@ -205,12 +205,12 @@ discard block |
||
205 | 205 | // '<name>' => 'Cecil\Renderer\PostProcessor\<class>', |
206 | 206 | //], |
207 | 207 | ], |
208 | - 'cache' => [ // cache management, disable with `false` |
|
208 | + 'cache' => [// cache management, disable with `false` |
|
209 | 209 | 'dir' => '.cache', // cache files directory |
210 | 210 | 'templates' => true, // disable Twig templates cache with `false` |
211 | 211 | 'translations' => true, // disable translations dictionary cache with `false` |
212 | 212 | ], |
213 | - 'optimize' => [ // files optimization |
|
213 | + 'optimize' => [// files optimization |
|
214 | 214 | 'enabled' => false, // enables files optimization |
215 | 215 | 'html' => [ |
216 | 216 | 'enabled' => true, // enables HTML files optimization |