1. Home
  2. Liquid
  3. If statement

Conditional if statement.

#liquid#conditional
{% if page.title %}
  <h1>{{ page.title }}</h1>
{% endif %}
copy
Full Liquid cheatsheet