Documentation

Learn how Enso Cloud can power your custom designed website.

Server Side Includes

For template files that share common code (e.g. headers and footers) you can use a server-side include to avoid duplicating code across multiple templates. To do so, cut and paste your code into a new file and then replace that code on the template with a server-side include with the path to the file.
 
<html>
<body>
...
<!--#include virtual="/includes/footer.html" -->
</body>
</html>

You can place the files anywhere in the file structure, just be sure to use the correct virtual path. Also, it's best to not have your includes in the root directory so they do not appear to CMS users as page templates.