# Liquid flow control: if - else

* Liquid has simple conditionals: `if` that we end with `endif` and the optional `else`.

{% embed include file="src/examples/liquid/liquid-if-else/src/main.rs" %}
{% embed include file="src/examples/liquid/liquid-if-else/out.out" %}

---

* if
* else
* endif


