Skip to content

Templates

Breyten Ernsting edited this page Sep 3, 2018 · 1 revision

Templating in binoas is done using Jinja2. For special email formatting we use MJML, but we only use the HTML that was generated, so feel free to use any other templating engine that you might normally use for your emails.

Basically, tempaltes are loaded from the templates/applications directory, if there is a template available for the application (Ie. when the application is called test, the system will look for templates/applications/test.html). If not, then it will use the applications/default/index.html file.

Clone this wiki locally