compile index html