-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
Description
Hello, I was just wanting to test if my_variable was an empty string.
I'm using Liquid through Jekyll if it can help.
I tried :
{% if my_variable == '' %}
I'm not empty
{% endif %}
but no way.
In fact I have to do like this
{% if my_variable == %}
I'm not empty
{% endif %}
It sound ugly to me so I let you know.
By the way it's the same behaviour using case condition.
Thank you for your job on this rocking project.
Reactions are currently unavailable