make slash at the end of a blog detail page optional