{% for key, value in content|items %}
{% if value.small_image %} {{value.title}} {% else %} {{value.title}} {% endif %}
{{value.title}}
{% endfor %}