{% for article in articles %}
{{ article.title }}
{{ article.summary }}
{% if article.custom.containsKey("photo") %}
{% endif %}
{% endfor %}