title: select previous item in twig for loop
body: <p>I use twig and have some data in array. I use for loop to access all data like this:</p>
  
  <pre><code>{% for item in data %}
      Value : {{ item }}
  {% endfor %}
  </code></pre>
  
  <p>Is it possible to access previous item in loop? For example: when I'm on <strong>n</strong> item, I want to have access to <strong>n-1</strong> item.</p>