-
-
Notifications
You must be signed in to change notification settings - Fork 143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doesn't allow dynamic partials #23
Comments
Yes, the |
It would be great! :) |
sunng87
added a commit
that referenced
this issue
Jun 13, 2015
sunng87
added a commit
that referenced
this issue
Jun 14, 2015
@sitnin This should be supported now. Please |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Handlebars has a "dynamically named partials". It looks like
{{> (partialTplName) }}
partialTplName
is a context variable which hbs should interpolate and use proper partial.I took handlebars-iron's example, extracted partial and passed it's name to the Template's context. If I use partial's filename directly or just printing partialTplName with
{{partialTplName}}
it looks like expected. If I trying to use DNP, template outputs zero characters without any errors.The text was updated successfully, but these errors were encountered: