Generate the index page.