1. Home
  2. Liquid
  3. Variable default value

You can set a default value for a variable to fall back to.

#liquid#variable
{{ page.language | default: 'EN' }}
copy
Full Liquid cheatsheet