nested template repeats to reflect List<List<Item>> data structure

to reproduce nested template repeat issue in JS