twig first to upper code example
Example 1: twig first letter uppercase
{{ post.author.name | capitalize }}
Example 2: twig uppercase
{{ 'welcome'|upper }}
{# outputs 'WELCOME' #}
{{ post.author.name | capitalize }}
{{ 'welcome'|upper }}
{# outputs 'WELCOME' #}