Before we go any further, let’s baseline some definitions –
Output braces are two consecutive braces: {{
and }}
. The result of this will be text output in place of whatever what is between the braces (and the braces themselves).
Logic braces are a brace appended/prepended by a percent sign: {%
and %}
. This will not result in output, but will be evaluated by the engine and may affect future statements/flow.
An identifier is a text token inside output braces that maps to a value in a TemplateContext
.