Download

{{#getPage}} helper

{{getPage}} is a helper to retrieve page data regardless of the current context.

Syntax:

{{#getPage pageID}}
...
{{/getPage}}

Example:

{{#getPage 10}}
   <h2>{{title}}</h2>
   {{{excerpt}}}
{{/getPage}}

IMPORTANT: It requires availability of the @website.contentStructure global variable

What are you waiting for?

Start building your site today.

  1. 1 Download Publii
  2. 2 Write your content
  3. 3 Publish your site
Create website