Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

liquid - array item accessing

<!-- if site.users = "Tobi", "Laura", "Tetsuro", "Adam" -->
{{ site.users[0] }}
{{ site.users[1] }}
{{ site.users[-1] }}
Source by shopify.github.io #
 
PREVIOUS NEXT
Tagged: #liquid #array #item #accessing
ADD COMMENT
Topic
Name
7+9 =