{# @var badges list #} {# @var variant string row|detail #} {% set variant = variant|default('detail') %} {% if badges is not empty %} {% endif %}