splits the title of the post and its name