{% set i = 0 %} {%- for item in items -%} {% set i = i + 1 %} {% if i == 1 %} {{ item.content }} {% endif %} {%- endfor -%}