We've tried to make our layout files stupendously easy. Since Evance auto-loads so many aspects of a page by itself you generally only need to worry where to place key aspects of the layout.
Here's an example of a very basic layout file layouts/index.evml:
Your layout files should be placed within the
The filename for your default layout file should be
index.evml. All templates within your
website will automatically use the default layout file, unless set otherwise in your templates.json file.
All layout files support the following properties. In fact you should consider all of the following properties as required and should all appear within your layout.
Contains the body content generated by the current template.
Contains theMeta Title or failing that, the Page Title for the current page as a String.
Utilising layout.title avoids confusion as to whetherto use the page.title or page.metaTitle because
Evance takes care of it for you.