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