build index page.