title: Cannot get index of item in array with Nunjucks for loop
body: <p>I'm having some trouble getting indexes of a items in an array from a Nunjucks <code>{% for %}</code> loop.</p>
  <p>The array I am targeting is simple and looks like this</p>
  <pre class="lang-html prettyprint-override"><code>pages[1,2,3]
  </code></pre>
  <p>And this is the Nunjucks loop</p>
  <pre class="lang-html prettyprint-override"><code>{% for i,p in data.tickets.pages %}
    {{ i }} : {{ p }}
  {% endfor %}
  </code></pre>
  <p>The problem is</p>
  <p><code>{{ p }}</code> outputs <code>1,2,3</code> but <code>{{ i }}</code> doesn't output anything.</p>
  <p>If anyone can tell me how to fix this, I'd much appreciate it.</p>