change the layout of index page