Adds slugs to posts