← Changelog

New theme helpers

Just before Ghost 3.0 went live we made an update to our handlebars templating to help with generating navigational links and combining values together:

  • link - Create HTML links with dynamic classes
  • link_class - Apply dynamic classes to elements depending on the current page
  • concat - Concatenate and link multiple things together such as template values and strings of text

More information can be found in our theme documentation:

Ghost Handlebars Themes - Building a custom Ghost theme - Docs
Our handlebars theme templating framework works with the Ghost API to build flexible publishing websites. Get all the tools you need to start building your custom theme here!

Ghost(Pro) users already have access to these new helpers. Self-hosted developers can use Ghost-CLI to install the latest release!

Get notified when we ship new features.