KNOWLEDGE BASE
Glossary
Login
Contents
x
Getting Started
Applications
Branding
Database Maintenance
Deliver
Events & Interviews
Fields and Prompts
Forms
Giving
Importing & Exporting
Inbox
Liquid Markup
Payments
Portals
Queries
Reader and Workflows
Records
Reports & Analytics
Rules & Automation
Security & Privacy
Slate AI
Slate.org
Users & Permissions
News & Information
Powered by
💧
Liquid Markup
12 Articles
in this category
Share
Print
Share
Dark
Light
Contents
💧
Liquid Markup
12 Articles
in this category
Share
Dark
Light
Getting Started with Liquid Markup
Liquid markup is a simple and versatile templating language used to create dynamic and reusable content. Originally created by Shopify, Liquid is an open-source project used by many world-class web applications, including Slate. Basic componen...
Updated : 04 Apr 2025
The If, Elsif, and Else Tags
In Liquid markup , the if , elsif , and else tags are fundamental to Liquid markup and are essential components for conditional logic. if The if tag creates simple conditional logic, and is composed of two basic pieces: the condition an...
Updated : 04 Apr 2025
The Unless Tag
In Liquid markup , the unless tag is the functional inverse of the if tag: it displays content only if a specified condition evaluates as false . Here’s a generic example of the unless tag in action: {% unless export == conditio...
Updated : 04 Apr 2025
The Case Tag
In Liquid markup , the case tag lets you create an array of outputs that depend on the value of a given export. In the case of a person reading your email: when they are an inquiry, they’ll receive a welcome message; when they are an app...
Updated : 04 Apr 2025
The For Tag and Liquid Looping
In Liquid markup , the for tag lets you loop through an array of objects and output information about each object. This is sometimes referred to as Liquid looping or for looping . For example, you can take a list of upcoming events and, for e...
Updated : 04 Apr 2025
Fundamental Liquid Markup and Conditional Logic
The Deliver tool features two tools to display text in a message conditionally. The first, conditional logic, can be accessed by clicking the if icon. To use conditional logic: Highlight the text to be conditionally displayed. Click the if...
Updated : 03 Sep 2024
The Assign Tag
In Liquid markup , the assign tag creates or updates an array name associated with an export. This gives you the freedom to use the original naming convention or the new array name, without having to create more query exports. Think of assign ...
Updated : 04 Apr 2025
The Capture Tag
In Liquid markup , the capture tag saves content as a new variable that you can use. While superficially similar to the assign tag, capture allows you to, aptly, capture multi-line content, HTML and other liquid markup. Think of the capt...
Updated : 04 Apr 2025
Liquid Markup Filters
In Liquid markup , filters let you transform data before it’s displayed. This can be useful for modifying the returned value of merge fields or exports, without making adjustments to the underlying query. Liquid provides a number of standard fi...
Updated : 04 Apr 2025
Using Liquid Markup in Portals
Liquid Markup is used to conditionally display text within a static content block based on exports added to the method query. Exports are used as merge fields to either display text conditionally or display the export value in the static content b...
Updated : 31 Mar 2025
Advanced Liquid Markup
Existence Exports Offload complex comparisons to the query/recipient list as opposed to the mailing by leveraging an existence export. For instance, instead of using this nested Liquid markup : {% if {{major}} == 'Philosophy'%}{% if {{schoo...
Updated : 17 May 2024
Troubleshooting Liquid Markup
If you’re having difficulty with Liquid Markup throwing errors or not returning the desired results, below are some helpful troubleshooting steps: Check for missing or mismatched delimiters A fundamental component to Liquid markup is the usa...
Updated : 31 Mar 2025