Format default and index page.