Function askama::filters::truncate[]

pub fn truncate(s: &Display, len: &usize) -> Result<String, Error>

Limit string length, appends '...' if truncated