GitHub

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

Subscribe

Get the latest Publii news, updates and more delivered directly to your email inbox

You can change your mind at any time by clicking the unsubscribe link in the footer of any email you receive from us, or by contacting us at contact@tidycustoms.net. By clicking below, you agree that we may process your information in accordance with our Privacy Policy.