Download

Post page tags

Below you shall find a list of all the handlebars tags available in the post.hbs and post-TEMPLATE_NAME.hbs files.

Template-specific tags

  • {{#post}} - displayed post item
  • {{#nextPost}} - post item available only on the posts which are not hidden
  • {{#nextSimilarPost}} - post item available only on the posts which are not hidden and are in the same tags
  • {{#previousPost}} - post item available only on the posts which are not hidden
  • {{#previousSimilarPost}} - post item available only on the posts which are not hidden and are in the same tags
  • {{#relatedPosts}} - array of post items with a similar title or from the same tags

Common tags

  • {{title}} - page title
  • {{metaTitleRaw}} - meta title in raw form
  • {{metaDescriptionRaw}} - meta description in raw form
  • {{metaRobotsRaw}} - meta robots value in raw form
  • {{canonicalUrl}} - canonical URL for the post page
  • {{#featuredPosts}} - array of the featured post items
  • {{hiddenPosts}} - array of the hidden post items
  • {{#tags}} - array of all tag items available on the website
  • {{#siteOwner}} - informations about main author as author item
  • {{#authors}} - array of all author items on the website (if display of authors w/o posts is enabled it will contain also authors without posts)
  • {{menus}} - array of assigned menus (key is a menu position name)
  • {{unassignedMenus}} - array of unassigned menus (key is a slug of menu name }}

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