-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Partial template recursion throws Error #1245
Comments
solved by {{#if}}
{{text}}
{{#if child}}
{{> Node child }}
{{/if}}
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello! Hire is my template with partial. Can you help me to get him correct
As you can see Node shows himself and next shows this child with partial(> Node partial registered by Handlebars.registerPartial("Node", Handlebars.templates.Node)). In short > Node references himself to show his child
Now when I run this template
I would like to see this HTML
But get Error
The text was updated successfully, but these errors were encountered: