skip to Main Content

When creating content in our administration, you can use the Templating language called EJS (Embedded JavaScript). It effectively acts similarly as the PHP programming language.

<% ...javascript... %> will switch into the JS, in which you can define functions and variables.

<%= ...javascript expression ... %> will return a value in it’s place.

An example of it’s use in a template:

 

Back To Top
×Close search
Search