We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
According to Shopify's documentation, both of these syntaxes should display the first item from an array:
{{ array.first }} {{ array | first }}
{{ array.first }}
{{ array | first }}
Reference: https://shopify.github.io/liquid/filters/first/
liquidjs supports the pipe notation as expected, but not the dot notation (array.first, array.last).
array.first
array.last
Here is a fiddle: https://jsfiddle.net/v57rmeb9/
The text was updated successfully, but these errors were encountered:
f82da11
chore(release): 9.4.2 [skip ci]
6502984
## [9.4.2](v9.4.1...v9.4.2) (2019-11-15) ### Bug Fixes * reading .first, .last of Array, closes [#175](#175) ([f82da11](f82da11))
🎉 This issue has been resolved in version 9.4.2 🎉
The release is available on:
Your semantic-release bot 📦🚀
Sorry, something went wrong.
No branches or pull requests
According to Shopify's documentation, both of these syntaxes should display the first item from an array:
{{ array.first }}
{{ array | first }}
Reference: https://shopify.github.io/liquid/filters/first/
liquidjs supports the pipe notation as expected, but not the dot notation (
array.first
,array.last
).Here is a fiddle: https://jsfiddle.net/v57rmeb9/
The text was updated successfully, but these errors were encountered: