Knowledge Base

Generate Handlebars Expressions

Last Modified:
27 Nov 2025
User Level:
Power User

Description

Handlebars Expressions can be added to Page Layouts and Content Layouts using the Generate Handlebars Expression button from Page Layouts and Content Types.

The "Generate Handlebars Expression" button is visible when the Layout Processor is set to "Handlebars".

When the button is clicked you can add and customize Handlebars Expressions and copy them for use in your layout. 

In this example we are adding a Nav Object Expression to a Content Layout:

The Generate Expression Builder can be used to generate most of the common Handlebars expressions.

For an extensive list of all available Handlebars Expressions please see the full documentation.

Available expressions

Below is an extensive list of all of the Handlebars expressions you can generate in the Handlebars Expression Builder

  • ifSet
  • publish
  • media
  • mediaId
  • file
  • list
    • with each
  • selected
    • with each
  • selectedNames
  • selectedValues
  • link
  • dateFormat
  • dateElement
  • repeater
  • fulltext
  • fulltextURL
  • contentId
  • fileSize
  • anchor
  • contentLastModifiedDate
  • expiryDate
  • publishDate
  • createDate
  • pageURL
  • publishURL
  • previewURL
  • canonicalURL
  • section
    • with "field" parameter
  • sectionId
  • sectionName
  • channelId
  • channelName
  • channelDescription
  • directEditSection
  • editSection
  • createSection
  • editContent
  • createContent
  • embed
  • snippet
  • preview
  • nav
  • meta
  • if
  • unless
  • eq
  • neq
  • gt
  • gte
  • lt
  • lte
  • and
  • or
  • not