Download

{{#getAuthor}} helper

{{#getAuthor}} is a helper used to retrieve author data regardless of the current context.

Syntax:

{{#getAuthor AUTHOR_ID}}
...
{{/getAuthor}}

Alternative syntax:

{{#getAuthor "AUTHOR_USERNAME"}}
...
{{/getAuthor}}

Example:

{{#getAuthor 10}}
<a href="{{url}}">{{name}}</a>
{{/getAuthor}}

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