page_description Object

Meta description of the current page that the user is accessing.

Attributes

None.

Category

Global Objects

Description

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

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

      {% if page_description %}
        <meta name="description" content="{{ page_description }}">
      {% endif %}