capitalize
Makes the first character of a string capitalized and converts the remaining characters to lowercase.
Input
{{ "title" | capitalize }}
{{ "my GREAT title" | capitalize }}
Output
Title
My great title
Makes the first character of a string capitalized and converts the remaining characters to lowercase.
Input
{{ "title" | capitalize }}
{{ "my GREAT title" | capitalize }}
Output
Title
My great title