Working with arrays and objects

If you'd like to see if a particular value is in an array, you can use the in containment operator:

{% set hobbies = ["Baseball", "Basketball", "Curling"] %}
{% if "Curling" in hobbies %}
You have an interesting hobby. 
{% endif %}

If you'd like to display all the items in an array, you can use the for loop syntax:

Some of the things you said you're interested in include:
{% for hobby in hobbies %}
  <li> {{hobby}} </li> 
{%endfor%}