mirror of
https://github.com/kemko/liquid.git
synced 2026-01-05 01:35:41 +03:00
393 B
393 B
title
| title |
|---|
| first |
Return the first element of an array.
| Code | Output |
|---|---|
| {% raw %}`{{ product.tags | first }}`{% endraw %} |
In the sample above, assume that product.tags resolves to: ["sale", "mens", "womens", "awesome"].