Page

The page helper gets the data for a specific page by path and assigns it as the context for the inner block template. It is an error if the page does not exist.

Arguments

Example

{{#page "docs/"~}}
<h3>{{title}}</h3>
<p>{{description}}</p>
{{~/page}}

Renders to:

<h3>Documentation</h3>
<p>Documentation and developer reference</p>

Back to Helpers