Design the index template