index template build