{# Pass the cards array and the rows scaffolding. #}
{% set batch = batch|default(3) %}
{% set col_width = (12 / batch) %}
{# This override the batch mechanims and sets the responsive classes directly #}
{% set col_class = 'col-lg-' ~ col_width ~ ' ' ~ col_classes %}
{% set no_justify = no_justify|default(false) %}
{% set row_class = (no_justify == true ? '' : 'justify-content-center ') ~ row_classes %}
{% if col_classes_override %}{% set col_class = col_classes_override %}{% endif %}
{% include "@organisms/tm-scaffold/rows-cols/rows-cols.twig" with {
  'wrapper_class': wrapper_class,
  'batch': batch,
  'items': items,
  'auto_height': true,
  'col_class': col_class,
  'row_class': row_class,
} only %}
