Content

Content

{{ content }}

Contains multiple objects.

Name Type Description
object_type String Will always be datastore_item
is_valid Boolean True if this contains at least one published entity
output String The default output that the content will produce when it is output directly to the template - using the "output_in_list" property of each entity in the items list
prepended list List containing any prepended content.
fetched list List containing all of the content that were fetched from the database (as opposed to prepended or appended).
appended list List containing any appended content.
appended_unique list List containing any appended content excluding any content that are in either the list of prepended or fetched content.
items list List containing all of the combined content from the prepended, fetched, and appended lists. If unique is true, this list will not contain any duplicates. If max_size is set, this list will not contain more than the number of content specified.
size Integer The total number of content in the items list, including prepended, fetched, and appended lists, and respecting the unique and max_size properties.
max_size Integer If set, this is the maximum number of items that will be returned in the items list and the maximum number of items that will be included when this content object is enumerated as a list. When not set, this value will be 0.
unique Boolean When true, the items list will not contain any duplicates. Only the first instance of each entity will be included.
limit Integer The maximum number of items that were allowed to be in the list of fetched content. May be 0 in some cases (such as when when there are no fetched content.
start Integer The 1-based index of the first item in the list of fetched content.
page Integer The 1-based index of the paginated results returned in the list of fetched content, which is calculated from the start and limit parameters. Useful for paginated results.
total_count Integer The 1-based index of the first item in the list of fetched content
total_pages Integer