Template Expressions

Search
Feedback

A Template Expression is a small block of text surrounded by template markers ${}.

The content of the template expression will be evaluated by Structr at runtime, and can be used to display dynamic content inside of Content Elements and many of the attributes of HTML elements.

Example

${project.name}
${capitalize(page.name)}

Details

Structr supports the following expression types inside of a template expression:

See the chapter about StuctrScript for detailed information.

Graph-Browser

Related Articles
About this article
Last change 2017-05-04
Topics FrontendFunctionsStructr 2.0