capitalize

The capitalize filter capitalizes a value. The first character will be uppercase, all others lowercase:

1
2
3
{{ 'my first car'|capitalize }}

{# outputs 'My first car' #}