Template filters
This page provides a reference for all the available filters that can be used when defining templates.
capitalize
The capitalize
filter allows to modify a string so that the first letter is converted to uppercase and all the subsequent letters are converted to lowercase.
For example:
{{ value|capitalize }}
If value
is "marten", the output will be "Marten".