Function minijinja::filters::capitalize
source ยท pub fn capitalize(text: Cow<'_, str>) -> String
Expand description
Convert the string with all its characters lowercased apart from the first char which is uppercased.
<h1>{{ chapter.title|capitalize }}</h1>