cleaned up index template indentation