Represents a CMS page.
The current page is available as page
in the CMS.
This returns the rendered page content and is normally used inside layouts.
Returns the title of the page.
Returns the url property of the page.
Returns the meta title of the page.
Returns the meta description of the page.
Returns the meta keywords of the page.
Provides access to liquid variables that were {% assign %}
-ed while rendering the page.
The main use case is to be able to pass data from the page to the layout. For example, if you set the variable myvar
to the value 42
inside your page body with {% assign myvar = 42 %}
, you can reference that variable in the layout using {{ page.assigns.myvar }}
.