Entities

Use the Collection component to render an array of entities.

<div class='c-partners t-theme--education c-partners--logo c-partners--entities c-partners__partners container-fluid'>
    <ul class='c-partners__items u-list--inline u-list--unstyled'>

        <li class='c-partners__items__item '>

            <article class='c-organisation organisation type-organisation c-partners__organisation c-partners__organisation--logo c-organisation--logo'>
                <span class='c-logo c-partners__logo'>

                    <a href='http://www.erstestiftung.org/' class='c-logo__link'>

                        <img class='c-logo__image' src='logo-erste-stiftung.png' />

                    </a>

                </span>
            </article>

        </li>

        <li class='c-partners__items__item '>

            <article class='c-organisation organisation type-organisation c-partners__organisation c-partners__organisation--logo c-organisation--logo'>
                <span class='c-logo c-partners__logo'>

                    <a href='https://www.wu.ac.at/en/' class='c-logo__link'>

                        <img class='c-logo__image' src='logo-wu.png' />

                    </a>

                </span>
            </article>

        </li>

        <li class='c-partners__items__item '>

            <article class='c-organisation organisation type-organisation c-partners__organisation c-partners__organisation--logo c-organisation--logo'>
                <span class='c-logo c-partners__logo'>

                    <a href='https://impacthub.net/' class='c-logo__link'>

                        <img class='c-logo__image' src='logo-impact-hub.png' />

                    </a>

                </span>
            </article>

        </li>

    </ul>
</div>
<div class='{{ get_component_class( display.component, display|merge( { modifiers: [ collection.display.view_mode, 'entities' ] } ) ) }}'>
    <ul class='c-{{ display.component }}__items {{ class( collection.display.listClass ) }} u-list--unstyled'>
        {% for item in collection.items %}
            <li class='c-{{ display.component }}__items__item {{ class( collection.display.itemClass ) }}'>
                {% if item.rendered %} 
                    {{ item.rendered }}
                {% else %}
                    {% include get_entity_template( collection.entityType, collection.display ) with item|merge( { entityType: collection.entityType, display: collection.display } ) %}
                {% endif %}
            </li>
        {% endfor %}
    </ul>
</div>
{
  "display": {
    "component": "partners",
    "theme": "education",
    "class": [
      "container-fluid"
    ]
  },
  "collection": {
    "entityType": "organisation",
    "display": {
      "component": "partners",
      "view_mode": "logo",
      "listClass": [
        "u-list--inline"
      ]
    },
    "items": [
      {
        "thumbnail": "logo-erste-stiftung.png",
        "title": "ERSTE Stiftung",
        "url": "http://www.erstestiftung.org/"
      },
      {
        "thumbnail": "logo-wu.png",
        "title": "WU",
        "url": "https://www.wu.ac.at/en/"
      },
      {
        "thumbnail": "logo-impact-hub.png",
        "title": "Impact Hub",
        "url": "https://impacthub.net/"
      }
    ]
  }
}