I want to use an if
statement in Liquid with multiple conditionals. Something like:
{% if (include.featured == "true" and product.featured == "true") or (include.featured == "false" and product.featured == "false") %}
Multiple conditionals don't seem to work. Have I got the syntax wrong or can Liquid not handle this sort of if statement?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…