add index template file