for example is it possible to define/use an "item_index" in a similar example to this:
<div>
@{foreach item in list}
<p>@{item.title}:<p>
@{foreach content in item.contents}
<p>@{content.name} is the @{index}th content of @{item.title}, and the @{item_index}th item in the list</p>
@{end}
@{end}
</div>
is it possible to assign values like @{item_index = index} before going into the nested loop?