1 Global pages
Global pages (or layout pages) are pages that are not in the default page tree (your navigation). They will never get rendered completely. Use them to store shared elements that should be rendered on multiple other pages (ie. sidebars, footer, header, etc) or somewhere directly on the application layout.
To define a global page set
layoutpage: true in the page layout definition of that page.
1.1 Render an element from a global page
To render an element from a global page use the from_page option of the
<%= render_elements only: 'news_teaser', from_page: 'sidebar' %>
You can pass a page_layout name as a String, an array of page_layout names, or an instance of a certain Page.
2 Render a page content