Adding comments to design templates (Liquid templates)
Overview
Section titled “Overview”This article uses the current Opensense template syntax, Liquid (as of 2022). If you’re used to the older format, see HTML and field types (legacy templates).
Use cases
Section titled “Use cases”- Around unfinished code
- To explain how a signature operator works, so it’s easy to find
Comments aren’t displayed when emails are sent.
Example
Section titled “Example”{% comment %}The operator below lets you display the address that matches the sender's location.You can easily add new locations by creating a new {% when "" %} statement,and saving the signature template.{% endcomment %}
{% case location %}
{% when "New Jersey" %}555 Highpoint Lane<br />Englewood, NJ 07631
{% when "Atlanta" %}1234 Pleasant Street<br />Atlanta, GA 30301
{% else %}1234 HQ Lane<br />Louisville, KY 40210{% endcase %}
What’s next
Section titled “What’s next”- Showing signature elements based on a field value (Liquid templates)
- HTML and field types (Liquid templates)
For further help, contact Opensense Support at help@opensense.com.



