Skip to content

page

The page template renders a content page, which contains an page’s content and media.

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

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

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

Page templates (and any included snippets) can traverse the navigation tree directly:

{% if page.parent %}
<a href="{{ page.parent.relativePath }}">Back to {{ page.parent.title }}</a>
{% endif %}
{% for sibling in page.siblings %}
<a href="{{ sibling.relativePath }}">{{ sibling.title }}</a>
{% endfor %}