Inclusions
From version 0.8 onwards of Cull Front you can include other files of the same type for all the files used for a build. This can be quite useful in many situations. For e.g. you may want to have the same kind of fragment in the <head> </head> for multiple files in your project. So instead of writing it again and again, you can just ask Cull Front to include that file.
The way that is done is to write the name of the included file in a line by itself, starting with the @ character. (i.e. the first character of that line must be '@')
Obviously you need to take care that the included file is of the same type as the one where it has been asked to be included. An included file itself can further include other files — ad infinitum. Sufficient care has been taken to ensure that the this kind of inclusion do not result in an infinite loop. But let me know your experience.
NOTE: This is not downward compatible. Only available from version 0.8 onward.
Last updated