Welcome

Liquid syntax allows you to dynamically place content in document layouts and discussion templates

Hello! 👋 Welcome to the Current RMS Liquid syntax documentation. This is your one stop shop for everything there is to know about building document layouts and the Liquid syntax that powers them.

You might have never used Liquid before -- that's ok! It's not too tricky to pick up and you can get going pretty quickly. You can copy and paste any of the objects here in one click.

This resource is in beta. Spotted anything that's not quite right? Let us know using the green help bubble! ↘️

Are you in the right place?

Learn HTML & CSS

Looking to learn HTML and CSS? That's great! We don't teach that here, though. We recommend using freeCodeCamp or Codecademy if you're new to those. They're both free.

Help with a feature

This also isn't the right place if you'd like to learn more about the features in Current RMS. We have a bunch of helpful guides for that.

Submit a document request

If you'd rather we build your documents, we're happy to help with that! Our team of document specialists can create your designs in HTML, CSS, and Liquid for you so that they're ready to print directly from Current RMS. Send us a request whenever you're ready.

What is Liquid syntax?

Liquid syntax is a template language used in many web applications. In Current RMS, we use Liquid syntax to place dynamic content and modify data in document layouts and discussion templates.

In Liquid, there are three types of code:

  • objects

  • tags

  • filters

Objects

Objects are surrounded by matched pairs of curly brackets. They tell Current RMS where to show content on a layout.

For example, to output your company name, use:

{{ company.name }}

If you change your company name in System Setup in future, this will be reflected on all documents where you’ve used this Liquid object.

Tags

Tags are surrounded by matched pairs of curly brackets and percent signs. They are used for logic operations and control flow.

For example, to print out your company tax registration number only if you’ve entered one, use:

{% if company.tax_registration_number != blank %}
  {{ company.tax_registration_number }}
{% endif %}

Filters

Filters change the output of a Liquid object. They are placed within an object after a pipe character, with optional data supplied after a colon.

For example, to capitalize your company name, use:

{{ company.name | upcase }}

Last updated