Chapter 5

Page.liquid

Let's do some easy stuff

Page.liquid is the template used for rendering all the pages in your Shopify store. There are two objects we are going to use:

  1. {{ page.title }} is the title of your page
  2. {{ page.content }} is where all the content from your page will be rendered

This is what my page.liquid looks like:

<h1>{{ page.title }}</h1>
{{ page.content }}

This is what happens when you navigate to a page

Page Aboutus