Control flow tags can change the information Liquid shows using programming logic.
Executes a block of code only if a certain condition is true.
These shoes are awesome!
The opposite of if – executes a block of code only if a certain condition is not met.
These shoes are not awesome.
This would be the equivalent of doing the following:
elsif / else
Adds more conditions within an if or unless block.
Creates a switch statement to compare a variable with different values. case initializes the switch statement, and when compares its values.
This is a cake
Last updated: 06/20/2019