Skip to main content

Introduction

Getting Start With Eenos   Template Customization

The Eenos control panel is fully  customizable. Eenos use two types of template languages:

The Mako   Template

The Python Mako template is an easy template language .   To study more about the Mako template language please read from the  website https://www.makotemplates.org/

If a template file in Eenos doesn't have an extension it will be a mako template file

The Jinja2 Template

This is another famous Python template language . Eenos use the Jinja2 template languages for some of its configurations.  To read more about Jinja template please read the documentation from https://jinja.palletsprojects.com/

If  a template file have an extension with .jinja , it will be  a Jinja2  template file

Location of Templates

The template files in Eenos are located on the folder /usr/local/eenos/templates/

Do not edit the default templates provided by Eenos, which will be updated during software update time. Always make a custom template  by copying the default templates and edit it .

Always create a custom template folder named custom inside every template default folders and place the custom templates inside the  new  custom sub folder.

Template Priority

You can use the same name of a default template as a custom template. If there is a custom template with the same name as default template, the custom template will be used.

If there is a a user template with  the same name of default or custom template, then user template will be used.