Build pagetype2 from jade