text Object

Text object for use within content template displays.

Attributes

Attribute Required Description
content Yes string Text object content. Can also access this by outputting the object as a whole.
id Yes string ID of text object.

Category

Block Objects

Description

The text block object defines the blueprint for content blocks based on the base text content template. It contains data for HTML-formatted rich text.

Within your content templates’ displays, you would reference the block’s var_name containing the text data. (It won’t necessarily be named text but rather what you defined in the content_templates.json file.)

Here is an example display template using a text content block with a var_name of bio:

{{ bio }} is the same as {{ bio.content }}