You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The first time it will evaluate the attribute to 'en' and update them, so the next iteration it's not anymore a liquid variable, it's just "en" so it will never evaluate to "fr".
If you try do do something like this
with 'langs' => ['en', 'fr']
It will always evaluate lang='en' and never 'fr'.
The issue is here : https://github.com/locomotivecms/steam/blob/master/lib/locomotive/steam/liquid/tags/concerns/attributes.rb#L32
The first time it will evaluate the attribute to 'en' and update them, so the next iteration it's not anymore a liquid variable, it's just "en" so it will never evaluate to "fr".
Work in progess here : #170
The text was updated successfully, but these errors were encountered: