Closed florent1933 closed 5 years ago
Hi @florent1933, thanks for the question!
You just need to change this.platform
to @this.platform
.
{{each(options.pixels)}}
{{if(@this.platform === 'facebook')}}
{{@this.value}}
{{/if}}
{{/each}}
I'm glad to hear that you're using Squirrelly! Feel free to ask any more questions you might have :+1:
Let me know if this solves your problem.
It's working like a charm. Thanks @nebrelbug 🥇
@florent1933 great! If you have any more questions, don't hesitate to contact me 😃
I am using squirrelly as a templating engine for nodeJS.
I didn't succeed to use conditionals with the variable from the loop.
Is it possible?