slugs now take special characters into consideration and condense hyphens

a hyphen is added inbetween the header and suffix, so it is possible that there can be up to 3 hyphen in that part of the slug if there are spaces after the end of the header and in the beginning of the suffix.
can you remove the console.logs?