reorgnize the yaml data in page