1. Home
  2. Liquid
  3. Variable default value
#liquid#variable

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

{{ page.language | default: 'EN' }}
copy
Full Liquid cheatsheet
Sitemap Git repository