{% for type in types %} {% endfor %}

Give the gallery a descriptive name for use in the site admin.

{% for gallery in galleries %} {% endfor %}