Template variables

Pass data into a template with variables, loops and conditions.

6 min read

Variables are written between double braces, like {{ customer.name }}. At render time Incipit replaces each one with the matching value from your data object.

Loops

Use a loop for anything that repeats, such as invoice lines. Rows that do not fit on the page continue on the next one, and the table header is repeated automatically.

Conditions

Wrap a block in a condition to show it only when a value is present. This is the cleanest way to handle optional sections like a discount line or a second address.

Missing values

If a variable has no value, Incipit leaves it empty by default. Turn on strict mode in the template settings to fail the render instead, which is safer for legal documents.

Need a hand?

If this page did not answer your question, our team can.

Create a free website with Framer, the website builder loved by startups, designers and agencies.