jinja first element of list code example Example: jinja2 first item in list {{ arr[0] }} {{ arr | first }}