change the title of the document if we are currently viewing a post