Loop for Similar Fields
I think this is an excellent use case for twig's attribute function.


  The attribute function can be used to access a "dynamic" attribute of a variable:


{% for i in 1..6 %}
  {% if attribute(block, 'bioName'~i) %}
    &lt;div class="bit"&gt;
      &lt;div class="bio"&gt;
        {% for asset in attribute(block, 'bioImage'~i) %}
          &lt;img src="{{asset.url}}"/&gt;
          ...etc...
        {% endfor %}
      &lt;/div&gt;
    &lt;/div&gt;
  {% endif %}
{% endfor %}