Closed JurajJakubov closed 5 years ago
I am using https://www.npmjs.com/package/handlebars-helpers Math helpers work perfectly, but I just don't know how to use it to work with variable. For example:
{{minus 5 1}} Output is: 4
But how can i make
{{minus page 1}} Because it gives me error that first parameter must be a number Thank for any advice
{{minus page 1}}
Just mistake sorry variable name is current not page. It works :)
I am using https://www.npmjs.com/package/handlebars-helpers Math helpers work perfectly, but I just don't know how to use it to work with variable. For example:
But how can i make
{{minus page 1}}
Because it gives me error that first parameter must be a number Thank for any advice