PAGES
Page Templates
3min
page templates are used for organising the repeatable content you will want to display on multiple pages, including headers and footers 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 adding page templates you can create a new page template by navigating to cms / templates and clicking the blue “+ add new template” button new templates are automatically added to the drop down in pages once created editing page templates you can edit existing templates by clicking the edit button next to each, while looking at the list of templates 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 {% include 'site/constants' %} {% include 'code snippet', item '1', name 'seo' %} {% include 'code snippet', item '2', name 'html head' %} {% include 'site/visualeditor' %} {% include 'header' template "1" header image "images/fido/logo white bg svg" group id "11149" %} {{content for layout}} {% include 'footer', template "1" %} {% include 'site/visualeditor' type 'js' %} 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