Liquid Filter Reference for capitalize - v0.9.5

Filter Name capitalize
Group Text
Version 0.9.5

Description

Makes the first character of a string capitalized and converts the remaining characters to lowercase.

Examples

{{ "title" | capitalize }}
Title
Only the first character of a string is capitalized, so later words are not capitalized:
{{ "my GREAT title" | capitalize }}
My great title

Back to Filter List

Back to Liquid Reference for 0.9.5

 

 
Back to Documentation