shannonmoeller / handlebars-layouts

Handlebars helpers which implement layout blocks similar to Jinja, Nunjucks (Swig), Pug (Jade), and Twig.
http://npm.im/handlebars-layouts
MIT License
361 stars 29 forks source link

Passing params to partials #30

Closed giuseppepaul closed 8 years ago

giuseppepaul commented 8 years ago

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!

shannonmoeller commented 8 years ago

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?

giuseppepaul commented 8 years ago

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

Thanks

shannonmoeller commented 8 years ago

Glad you got it sorted!