shannonmoeller / handlebars-layouts

Handlebars helpers which implement layout blocks similar to Jinja, Nunjucks (Swig), Pug (Jade), and Twig.

Home Page:http://npm.im/handlebars-layouts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Passing params to partials

giuseppepaul opened this issue · comments

Hello, I'm having an issue trying to pass params to partial views, it seems to throw an error when I try the following for example:

{{> myPartial somevar='123' }}

Is this something that's not supported?

Thanks!

Your example is a vanilla handlebars partial include. I'm not sure how your question relates to these helpers. Could you provide more detail please?

Closing this off, it was my mistake I figured out where I was going wrong :)

Thanks

Glad you got it sorted!