Layouts

What is a Layout?

A Layout is a tool that is used to choose content and a template to display for a specific app page type. Think of it as the middleman that brings app content templates and content blocks together.

Content blocks, when being used by an app, can display content from the app in multiple ways:

  • Content Templates
  • Code Snippets
  • Page Content Snippets
  • API tags
  • Rich Text Editor.

A Content Block can also be set to display no content. The job of a layout is to assign the content (by any method listed above) to the Content Blocks that are available to a template.

{{ _api.navigation.get.key('developer').parentId('408').showSubNav('all') }}