# Custom Handlebars Helpers for Ghost This is a Ghost "App" that will implement a custom Handlebars helper the same as https://apatchofcode.com/adding-custom-handlebars-for-ghost-equals-awesome/ ## Installation Create a new directory in `contents/apps` eg: > `mkdir contents/apps/myhelpers` Place `package.json` and `index.js` in the directory. To enable the app you need to manually add it to the database as described at: https://github.com/TryGhost/Ghost/wiki/Apps-Getting-Started-for-Ghost-Devs Restart ghost ## Usage Simply use the new helper in your template, eg: {{#compare 'apples' '===' 'oranges'}}

Totally not the case.

{{/compare}} {{#compare 'apples' 'typeof' 'string'}}

I think we're onto something.

{{/compare}}