complete template of index page