log the index on the index page