Skip to content

Commit

Permalink
Add allowed tags to templates
Browse files Browse the repository at this point in the history
  • Loading branch information
hillelcoren committed Jul 2, 2024
1 parent 4b864eb commit dc32039
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions source/en/templates.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,43 @@ Standard $ notation variables are also available within templates, this allows y
```

#### Allowed Tags
* if
* for
* set
* filter

#### Allowed Filters
* escape
* e
* upper
* lower
* capitalize
* filter
* length
* merge
* format_currency
* format_number
* format_percent_number
* map
* join
* first
* date
* sum

#### Allowed Functions
* range
* cycle
* constant
* date

#### Allowed Properties
* type_id

#### Allowed Methods
* img
* t

## Statements

Statements are special objects in templates. Because the input data point is a client/s we need additional information to understand whether a template is a "statement" template or not.
Expand Down

0 comments on commit dc32039

Please sign in to comment.