c3fe7b47af
DustJS appears to not do any backtracking.
14 lines
577 B
Plaintext
14 lines
577 B
Plaintext
Directory for {company}:{~n}
|
|
{#people}
|
|
{name}: {job} at {company} (email: {globals.email}){~n}
|
|
Testing walking after entering a parent context {#globals}job: {job}, email: {email}, company: {company}{/globals}{~n}
|
|
{/people}
|
|
|
|
Doing a deep walk to see if intermediate steps are added to the dynamic context.{~n}
|
|
{#deep_people}
|
|
{#deep_globals.things}
|
|
{name} has a {color} {item} which is {deeper_item.style} and made out of {deeper_item.material}
|
|
{/deep_globals.things}
|
|
but everyone shares one that is {deeper_item.style} and made out of {deeper_item.material}{~n}
|
|
{/deep_people}
|