capitalize - Liquid Filter Reference - 1.0.0
Filter Name | capitalize |
Group | Text |
Version | 1.0.0 |
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 Liquid Reference for 1.0.0
Back to Documentation