Skip to content

Commit dc32039

Browse files
committed
Add allowed tags to templates
1 parent 4b864eb commit dc32039

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

source/en/templates.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,43 @@ Standard $ notation variables are also available within templates, this allows y
162162
163163
```
164164

165+
#### Allowed Tags
166+
* if
167+
* for
168+
* set
169+
* filter
170+
171+
#### Allowed Filters
172+
* escape
173+
* e
174+
* upper
175+
* lower
176+
* capitalize
177+
* filter
178+
* length
179+
* merge
180+
* format_currency
181+
* format_number
182+
* format_percent_number
183+
* map
184+
* join
185+
* first
186+
* date
187+
* sum
188+
189+
#### Allowed Functions
190+
* range
191+
* cycle
192+
* constant
193+
* date
194+
195+
#### Allowed Properties
196+
* type_id
197+
198+
#### Allowed Methods
199+
* img
200+
* t
201+
165202
## Statements
166203

167204
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.

0 commit comments

Comments
 (0)