@for (item of items(); track $index; let last = $last) {
  1. @if (item.link && !last) { @if (item.icon) { } {{ item.label }} } @else { @if (item.icon) { } {{ item.label }} } @if (!last) { {{ separator() }} }
  2. }