custom_page
The custom_page
object contains following attributes:
Object Fields
Field | Data Type | Description |
---|---|---|
custom_page.id | String | Returns the type of the custom page. Possible values: advanced , text . |
custom_page.title | String | Returns title of this custom page. |
custom_page.content | String | Returns html content of the custom page. Remarks: Available when custom page is a "text" page |
custom_page.rows | Array | Returns an array of grid_row grid rows in the custom page. |
Code Example
{% if custom_page.type == 'text' %}
<div class="CustomPage-text-page container">
<h1 class="CustomPage-title"> {{ custom_page.title | strip_html }} </h1>
<div class="CustomPage-content"> {{ custom_page.content }} </div>
</div>
{% endif %}
Updated about 1 year ago