adds content type to page