Last Edited: May 23, 2019
When setting up your page templates, it’s easiest to start with thing’s you’ll to want to include first.
Use Code Snippets in Site Settings to create a file to store the scripts you’ll call in your page heads, you can call it something like “Head” or “Head scripts”. You’ll be able to include this in each of your templates, saving you writing it each time.
If you have previously written them manually in each template, you can, of course, continue to do this if you prefer.
Use Headers in Site Settings to create a file that contains the content of your page header. Usually, this includes a company logo and menu.
Use Footers in Site Settings to create a file that contains the content of your page footer. Usually, this contains some key information about the company and a basic menu.
Use Templates in Site Settings to create a page template that wraps around your pages content. Usually, this contains a head, header and footer along with some basic HTML to wrap your inner page content.
When editing your Template, you can use Toolbox on the right-hand-side to easily output the liquid required for your Code Snippets, Header & Footer.