{% for pic in pictures %} {% with pic.GetCaption as caption %}
  • {{ caption }}
  • {% endwith %} {% endfor %}