diff --git a/app/handlebars.js b/app/handlebars.js index 928ce06b..fa36df93 100644 --- a/app/handlebars.js +++ b/app/handlebars.js @@ -29,6 +29,10 @@ function interlinear(cssClasses, opts) { } +function is(a, b) { + return a == b +} + function translation(str) { return `‘${ str }’` } @@ -54,6 +58,7 @@ const hbs = new ExpressHandlebars({ helpers: { igl: interlinear, inex: inlineExample, + is, section, tln: translation, }, diff --git a/pages/Component/Component.hbs b/pages/Component/Component.hbs index 65c05d45..87505d1d 100644 --- a/pages/Component/Component.hbs +++ b/pages/Component/Component.hbs @@ -61,14 +61,32 @@
{{ ID }}