page_title Object

Title of the current page that the user is accessing.

Attributes

None.

Category

Global Objects

Description

This object is an alias for the page.title attribute. It outputs a string with the value to be set as the <title> for the page that the user is currently accessing.

You’ll typically want to output the page_title within your layouts like so:

<title>{{ page_title }}</title>