Skip to main content

page

The page template renders the store's pages, like About us or Contact us.

Tip

Refer to the page template and its main section in Dawn for an example implementation.

An example of the page template in Dawn

The page template is located in the templates directory of the theme:

└── theme
├── layout
├── templates
| ...
| ├── page.json
| ...
...

You can include the following in your page template or a section inside of the template:

You can access the Liquid page object to display the page details.

Tip

If you're using a JSON template, then any HTML or Liquid code needs to be included in a section that's referenced by the template.


Was this page helpful?