fn: sgnd_slugify
Purpose
Normalize arbitrary text into a lowercase filename slug.
Description
Whitespace becomes hyphens; repeated hyphens and leading/trailing hyphens are removed.
Arguments
$1— Text to normalize.
Output
Lowercase letters, digits, hyphen, underscore and dot; falls back to hub for empty results.
Returns
- 0 after printing the slug.
Usage
sgnd_slugify "My New Site"
