Finish index template