Skip to content
Log in

concat - Liquid Filter Reference

On this page

Description

Concatenates (joins together) multiple lists. The resulting list contains all the items from the input lists.

Property Value
Return Type list
Category lists

Examples

```liquid {% assign everything = fruits | concat: vegetables %}

{% for item in everything %} - {{ item }}{% endfor %} ```

Output: - apples\n- oranges\n- peaches\n- carrots\n- turnips\n- potatoes

Was this article helpful?

Was this article helpful?