
{% load mote_tags %}
{% with element.json.data.ListType as "list" %}
  {% for item in list %}
  <h2>{{ item.text }}</h2>
  <ol class="ordered-list">
    {% for listItem in item.listContent %}
      <li class="ordered-list__item">{{ listItem.list }}</li>
    {% endfor %}
  </ol>
  {% endfor %}
{% endwith %}
