page_keywords Object

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

Attributes

None.

Category

Global Objects

Description

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

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

      {% if page_keywords %}
        <meta name="keywords" content="{{ page_keywords }}">
      {% endif %}