+ {% for item_person in people %}
+ {% assign photo_path = item_person.path | split:"." | first | append:"-processed.jpg" %}
+ {% capture photo_exists %}{% file_exists {{ photo_path }} %}{% endcapture %}
+ {% if photo_exists == 'false' %}
+ {% assign photo_path = item_person.path | split:"." | first | append:"-processed.jpeg" %}
+ {% capture photo_exists %}{% file_exists {{ photo_path }} %}{% endcapture %}
+ {% endif %}
+ {% if photo_exists == 'false' %}
+ {% assign photo_path = item_person.path | split:"." | first | append:"-processed.png" %}
+ {% capture photo_exists %}{% file_exists {{ photo_path }} %}{% endcapture %}
+ {% endif %}
+ {% if photo_exists == 'true' %}
+ {% assign photo_url = photo_path | remove: "_" | prepend: "/" | prepend: site.baseurl %}
+ {% else %}
+ {% assign photo_url = "default.jpg" | prepend: "/people/" | prepend: site.baseurl %}
+ {% endif %}
+
+ {% assign loopindex = forloop.index | modulo: 2 %}
+ {% if loopindex == 0 %}
+
+ {% endif %}
+ {% endfor %}
+
+