{# Render one label per value, keeping normal field/item attributes. #} {% set classes = ['field', 'field--name-' ~ field_name|clean_class, 'field--type-' ~ field_type|clean_class, 'field--label-' ~ label_display|clean_class] %} {% for item in dynamic_field_label_items|default(items) %} {% if item.dynamic_label is defined and item.dynamic_label is not null %} {{ item.dynamic_label }}: {% endif %} {{ item.content }} {% endfor %}