what is the equivalent of handlebars this keyword?
Closed this issue · 3 comments
last-Programmer commented
Do we have a this keyword in liquid templating engine as in handlebar?
Thanks
danielmpetrov commented
There isn't a context you can refer to with the this
keyword in Liquid, at least not in the base language, so it doesn't exist. You can skim through the spec here - https://shopify.github.io/liquid.
What are you trying to achieve exactly? If it's for looping for example, see https://shopify.github.io/liquid/tags/iteration
hishamco commented
@last-Programmer please make your question clear to make it easier for all to help you
hishamco commented
@last-Programmer please make your question clear to make it easier for all to help you