mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-16 09:20:42 -07:00
Big refactoring of SCSS active state for sidebar links update gitignore for node_modules folder removing node_modules from index Sticky Liquid link in sidebar Cleaned up index page Adding fixed width to buttons Refactoring Converted sidebar to use Collections Refactor sidebar CSS
12 lines
453 B
Markdown
12 lines
453 B
Markdown
---
|
|
title: join
|
|
---
|
|
|
|
`join` joins the elements of an array, using the character you provide.
|
|
|
|
| Code | Output |
|
|
|-------------------------------------------------------:|:-------------------|
|
|
| {% raw %}`{{ product.tags | join: ', ' }}`{% endraw %} | `"sale, mens, womens, awesome` |
|
|
|
|
In the sample above, assume that `product.tags` resolves to: `["sale", "mens", "womens", "awesome"]`.
|