I see the problem, and why the fix works.
I think the problem is not that it's building one page, but that it's compiling the sub only once, rather than for each sub-template. Perhaps the answer is to put a reference to the subroutine, rather than a subroutine itself. That would cause the the routine to be reevaluated each time it's referenced, rather than just the first time.
Alex will have to address this specifically, but either way, it seems to be a logical/programmatic bug that should be addressed and either fixed, or worked around since it's not behaving as "expected".
PUGDOGŪ
PUGDOGŪ Enterprises, Inc.
FAQ: http://pugdog.com/FAQ
I think the problem is not that it's building one page, but that it's compiling the sub only once, rather than for each sub-template. Perhaps the answer is to put a reference to the subroutine, rather than a subroutine itself. That would cause the the routine to be reevaluated each time it's referenced, rather than just the first time.
Alex will have to address this specifically, but either way, it seems to be a logical/programmatic bug that should be addressed and either fixed, or worked around since it's not behaving as "expected".
PUGDOGŪ
PUGDOGŪ Enterprises, Inc.
FAQ: http://pugdog.com/FAQ