opensourceame/trim-template

support variable nesting

Closed this issue · 1 comments

example:

- for user in users
  h1 {user.name}
  - for award in awards
    - if user.has_award(award)
       img src={award.image_path}

Ensure the users variable is still available in the awards block. (Will probably require passing local variables to sub-blocks)