Black Week 40% Off Promotion!!!
Download
  • {{#getPostByTags}} helper

    {{getPostByTags}} is a helper used to retrieve single post data regardless of the current context with use of specific tag ID or tag slugs. Syntax: {{#getPostByTags…

  • {{#getPostsByTags}} helper

    {{getPostsByTags}} is a helper used to retrieve post data regardless of the current context and filter them to posts which uses a specific tag. This helper…

  • {{#getPosts}} helper

    {{getPosts}} is a helper used to retrieve post data regardless of the current context. Syntax: {{#getPosts "postID1,postID2,postID3" "before" "after"}} ... {{/getPosts}} Example: {{#getPosts "POST_ID_1,POST_ID_2,POST_ID_N" "<ul>" "</ul>"}}…

  • {{#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…

  • {{gdprScriptBlocker}} helper

    Helper for generating a proper type attribute value in <script> tags. Syntax: <script type="{{ gdprScriptBlocker "analytical" }}"></script> Above code will generate a script which will…

  • {{{publiiFooter}}}

    Helper for creating footer output with Publii-related tags. Currently used for GDPR cookies popup. Syntax: {{{ publiiFooter }}} Should be used before closingtag of the…

  • {{orderby}} helper

    {{orderby}} is a helper similar to the {{reverse}} helper - it changes the ordering of the specific collection using your params. Additionally, it supports an…

  • {{reverse}} helper

    The {{reverse}} helper is useful if you need to reverse items in a specific collection e.g. tags listing. Syntax: {{reverse collection}} Example: {{#each @website.contentStructure.tags}} {{#checkIf…

  • How to create a custom helper?

    Custom helpers can be created in the helpers.js file. It is useful if you need to create more complex conditions and you want to simplify…

  • Introduction - helpers

    Helpers are custom functions defined for Handlebars in Publii. We have defined many helpers - both inline and conditional. All conditional helpers have the hash…

  • {{translate}} helper

    Helper used for creating translatable phrases in the theme. Syntax: {{ translate 'key.subkey' [string1 string2 ...] }} Example: {{ translate 'partials.cookiebar.close' }} You can find…

  • {{font}} helper

    It creates an URL to the Google Fonts service for a given font name. Syntax: {{font FONT_NAME}} Example: <link rel="stylesheet" href="{{font @config.visual.font}}" />

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