{% for component in components %}
    {% set templateName = component.type ~ "-component" %}
    {% set templateNameWithUnit = component.type ~ "-component-" ~ siteUnit %}
    {% include ['/components/' ~ templateNameWithUnit ~ '/' ~ templateNameWithUnit ~ '.twig', '/components/' ~ templateName ~ '/' ~ templateName ~ '.twig'] %}

{% endfor %}
{
  "siteUnit": "network",
  "departmentName": "Network",
  "background": "light"
}

There are no notes for this item.