Fix erb command for index.