Objects

Table of contents

An Object represents a certain record (from the Plate database) inside Liquid. You can call attributes on an object. E.g. to get the current site’s name, you’d call the attribute name on the object site:

{{ site.name }}
Input
My Company Site
Output

Global objects

Some objects are globally available, and some only in certain theme files. Globally available objects are:

Objects contain attributes that you can call in theme files. These attributes are mostly set by you (Content Fields), and filled with a value by the user. To call the object’s attribute, (E.g. a post’s title) you call it like a variable (wrapped in {{ and }}).

{{ post.title }}
Input
This is a great post!
Ouput

Need help?

Do you have any question which is not answered in this knowledge base? Contact us. We are here to help you.