           {% assign slug_value = item_value | join " " | slugify %}
                  {% capture temp_facet_values %}{{ temp_facet_values | append: slug_value }}{% endcapture %}
                {% endif %}
                {% assign facetArray = temp_facet_values | replace: separator, " " | split: " " %} 
                {% assign newClasses = newClasses | concat: facetArray %}           
            {% endfor %}
            
          {% endif %}

          <div class="gallery-item-facets {{  newClasses | 