Add index template to repository