{% filter upper %} {% set text = "this is some text that needs to be capitalized." %} {% echo text %} {% endfilter %}