Appearance
Rendering Pages
By default, a Box page with a URL is available in the frontend without any manual work.
There are use-cases where you want to render a Box page on demand. To do this, you can use the boxesPage
component on any CMS page.
twig
title = "Manual render"
url = "/manual-render"
layout = "default"
[boxesPage boxesSidebar]
slug = "sidebar"
[boxesPage boxesContent]
slug = "content"
==
<main>
<aside>
{% component 'boxesSidebar' %}
</aside>
<section>
{% component 'boxesContent' %}
</section>
</main>
TIP
You can include the page by its slug
, url
or id
properties.