<div class="row js-demos demo-list">
  {% for post in site.data.demos %}
    <div class="col-3@sm col-3@xs figure-wrap js-demo">
      <a href="{{ site.baseurl }}/{{ post.slug }}">
        <figure>
          <div class="aspect aspect--4x3">
            <picture>
              <source srcset="{{ site.baseurl }}/img/demos/{{ post.slug }}.webp" type="image/webp">
              <img src="{{ site.baseurl }}/img/demos/{{ post.slug }}.jpg" alt="{{ post.label }}">
            </picture>
          </div>
          <figcaption>{{ post.label }}</figcaption>
        </figure>
      </a>
    </div>
  {% endfor %}
</div>
