102
rated 0 times
[
106]
[
4]
/ answers: 1 / hits: 24201
/ 9 Years ago, thu, july 2, 2015, 12:00:00
I would like to know if it is possible to concat a variable with another string when loading a partial using Handlebars.
{{partial logos this ns=../ns nsr=../nsr id=id+something}}
I'd like to concat id+something
and storing it into id
, which would be sent to the template.
I'm using a custom helper to load partials (partial
) which merge this
with the options.hash
provided by handlebars.
More From » handlebars.js