title: Dustjs-linkedin pass variable in nested loop
body: <p>I am trying to pass a variable from the first loop into the next. Why am I doing this? Well they both have the same key. Here is an example of trying to pass the index from the first loop into the second. Both values end up being the $idx of the second loop. How can this be done?</p>
  
  <pre><code>{#first}
    {#second firstIDX="{$idx}"}
      {firstIDX} : {$idx}&lt;br&gt;
    {/second}
  {/first}
  </code></pre>