pub fn capitalize(value: StringInput<'_>) -> ValueExpand description
Convert the string with all its characters lowercased apart from the first char which is uppercased.
Like in Python, the first character is converted to its titlecase
form, so dž becomes Dž and ß becomes Ss.
<h1>{{ chapter.title|capitalize }}</h1>