Skip to content

Rendering Context

When a template is rendered, context variables are passed into the template. If a template looks like:

Hello {{foo}}, your loan is due on {{bar}}.

then the context variables in the template are foo and bar. If, when the template is rendered, the provided context is:

{
  "foo": "John",
  "bar": "2021-01-01"
}

...then the rendered template will be:

Hello John, your loan is due on 2021-01-01.