Navigation group slugs were not being generated. Fixes #2265

Also swapped the blog slugify code for a more concise version