In freemarker, I'm looking to include an existing template from within another repetitively. The existing template assumes it's looking at the top of the value stack. I'm really looking for an 'apply' function. So I have a parent template:
<#list items as item>
<#include "/my/subtemplate.ftl"/>
</#list>
How can I make the subtemplate see item as the top item on the value stack, so that I don't need to copy it and change every reference to 'property' on the item to item.myproperty?