{% 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": "durp",
"departmentName": "Department of Urban and Regional Planning",
"background": "dark"
}
There are no notes for this item.