mirror of
https://github.com/matt-fidd/stratos.git
synced 2026-01-02 14:19:31 +00:00
Added handlebars equality helper
This commit is contained in:
6
lib/handlebarsHelpers.js
Normal file
6
lib/handlebarsHelpers.js
Normal file
@@ -0,0 +1,6 @@
|
||||
const helpers = {};
|
||||
|
||||
helpers.eq = (arg1, arg2, options) =>
|
||||
arg1 == arg2 ? options.fn(this) : options.inverse(this);
|
||||
|
||||
module.exports = helpers;
|
||||
Reference in New Issue
Block a user