@for (item of items; track item; let last = $last) {
  1. @if (!last) { @if (isLink(item)) { {{ item.text }} } @else { {{ item }} } } @if (last) { @if (lastItemSection) { {{ lastItemSection }}: } {{ getText(item) }} }
  2. }
@if (items.length > 1) {
@if (getHref(items[items.length - 2]); as href) { {{ getText(items[items.length - 2]) }} }
}