Templates (Pages & Email)
Templates are used for organising the repeatable content you will want to display on multiple pages, including Headers and Footers. You can also use Templates for Emails.
Introduction
Page Templates are used to easily and consistently apply the same global content to pages, such as: Headers, Footers, Global Stylesheets and Analytics Tracking Scripts.
You can find Templates under Site Manager:
We recommend editing Templates via CLI but the Toolbox feature is useful when inserting Siteglide features/code:
An Example Page Template
Page content will be outputted where the liquid tag {{content_for_layout}}
is located within your Template.
Here is how a generic Page Template file should be structured:
While editing a Page, you can assign a Template using the Page Template drop down and then clicking Save.
Note: Toolbox functionality will soon be added to the templates section of Admin, allowing you to easily select elements to add to the page.
Last updated