Skip to main content

Introduction

Getting Start With Eenos  Template Customization

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

The Mako   Template

The Python Mako template is an easy template language .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 makoMako template file

The Jinja2 Template

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

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

Location of Templates

The template files in Eenos are located onin 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 .it.

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

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 the default template, the custom template will be used.

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