Modifier: title


Returns a trimmed string with the first letter of each word capitalized, ignoring articles, coordinating conjunctions, and short propositions: a, an, the, at, by, for, in, of, on, to, up, and, as, but, or, and nor.

string: It was one of the best adventures of my life
{{ string | title }}
It Was One of the Best Adventures of My Life

Additional Reading

Learn how to use and chain modifiers in the Antlers template guide.

Last modified on March 31, 2016