Skip to main content

Boolean

A simple on/off or true/false input, displayed as a switch in the Email Editor.

Works great for:

  • Show/hide specific elements, fx making an element be hidden.

  • Toggle direction, fx making a module switch direction

The output of the variable will be true/false, meaning you can use it together with Liquid in your template code together with an if-statement:

{% if article.show_cta %}
// CTA Button code
{% endif %}