Output page content

Each page is has one or more content areas that the Pages app or other apps can set content for. 

All pages have a main content area. There are two ways to output that area. You can use just the {{ _page.content() }} tag. If you don't pass an area key to that method, then the main content is automatically outputted.

{{ _page.content() }}

Or, you could pass the 'main' content area key.

 
{{ _page.content('main') }}

You can pass the key for another content area to output that one. Say that you had a content area called Sidebar with a key of sidebar. The following is how you would output the content for that area.

 
{{ _page.content('sidebar') }}
This documentation is only for Aptuitiv CMS. Learn more.
Get Started With Aptuitiv