set layout for index page.