Call template on $indexer_template in the correct context