Edit layout view script foundation to build the html code more beautiful