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.