pub fn slugify(text: &str) -> String
Convert text to a URL-safe slug.
Lowercases the text, replaces whitespace and special characters with hyphens, and collapses consecutive hyphens.