From e536e93327a84e73fa1dbe1a0143b116200e59e7 Mon Sep 17 00:00:00 2001 From: Dan Allen Date: Tue, 8 Dec 2020 16:48:54 -0700 Subject: [PATCH] add ne helper and use it for negated equality test --- src/helpers/ne.js | 3 +++ src/partials/breadcrumbs.hbs | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 src/helpers/ne.js diff --git a/src/helpers/ne.js b/src/helpers/ne.js new file mode 100644 index 0000000..245f03b --- /dev/null +++ b/src/helpers/ne.js @@ -0,0 +1,3 @@ +'use strict' + +module.exports = (a, b) => a !== b diff --git a/src/partials/breadcrumbs.hbs b/src/partials/breadcrumbs.hbs index 95ef907..24b6fb0 100644 --- a/src/partials/breadcrumbs.hbs +++ b/src/partials/breadcrumbs.hbs @@ -2,7 +2,7 @@ {{#if page.breadcrumbs}}