title: Comma separated list in twig
body: <p>What is the shortest (and clearest) way to add comma after each element of the list except the last one?</p>
  
  <pre><code>{% for role in user.roles %}
      {{ role.name }},
  {% endfor %}
  </code></pre>
  
  <p>This example will add comma after all lines, including the last one.</p>