Download

{{#getPost}} helper

{{getPost}} is a helper used to retrieve post data regardless of the current context.

Syntax:

{{#getPost postID}}
...
{{/getPost}}

Example:

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

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