<section>
  <h2>Research</h2>
  {%- for project in cv.researchProjects %}
    <section>
      <header>
        <h3>{{ project.name }}</h3>
          {%- if project.supervisors and project.supervisors.size > 0 -%}
            <span class="supervisor">
              {% if project.supervisors.size > 1 %}Supervisors{% else %}Supervisor{% endif %}: 
              {% for sup in project.supervisors -%}
                <a href="{{ sup.url }}" target="_blank" rel="noopener noreferrer">{{ sup.name }}</a>{% unless forloop.last %}, {% endunless %}
              {%- endfor -%}
            </span>
          {%- endif %}
      </header>
      <ul>
        {%- for highlight in project.highlights %}
          <li>
            {{ highlight }}
          </li>
        {%- endfor %}
      </ul>
    </section>
  {%- endfor %}
</section>