Template Docs Commerce APIs Webhooks
Get Started
Get Started

JSON-T System Variables

System Variables are JSON-T variables that cannot be found in the context, but are essential for most websites. These variables should be rendered onto a page just like normal context-backed variables. They represent core system level information, such as system headers, the main content of a page, and page classes used to control how a website functions.

Squarespace Headers

{squarespace-headers}

Injection point for Squarespace scripts, system generated meta tags, and user content from the 'Header Code Injection' point found in the 'Code Injection' tab.

Squarespace Page ID

{squarespace.page-id}

Adds a page specific unique id - for use on <body> tag.

Squarespace Page Classes

{squarespace.page-classes}

Adds site and page specific classes - for use on <body> tag.

Squarespace Main Content

{squarespace.main-content}

Injection point for page templates in site region files. This is where the collection or page content will be injected.

Squarespace Post Entry

{squarespace-post-entry}

Injection point for user content. Typically placed after each item in a blog collection.

Squarespace Footers

{squarespace-footers}

Injection point for tracking scripts and user content from the 'Footer Code Injection' point found in the 'Code Injection' tab.