Revert "[DOCS] Fixed a typo in indices.get_templates"

This reverts commit e53a26ff21741dd0b57a8d40812859d0d5392a99.