Revert "clean up index template"

This reverts commit d4682a119cfdf099b224d2c91e5e4a0002fe8e04.