-
Notifications
You must be signed in to change notification settings - Fork 76
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 include from sub directories #83
Comments
The workaround didnt quite work :) but i rolled back to commit 8797485 where it seems to work. |
Hello all, after tests on handlebars.js I found some interesting things:
So, 1st param of > is special case , we should not touch it. |
Now {{> foo/bar }} should be correct , please try current master, thanks. ( But , {{> [foo/bar] }} and {{> "foo/bar" }} is buggy now , I guess no one use these 2 cases so I just ignore them. ) |
Works great thanks for the fast fix :) |
currently (version 0.14) im unable to specify partials in sub directories to a basedir
ex: {{>my_sub_directory/test}}
it will only work if i add "my_sub_directory/" to basedir configuration. Im quite sure it worked before but around two weeks ago i stopped, i can see some changes has been made to
13ba7d4
a quick workaround i did was to replace it with
the problem might actually be that the parser does not see "my_sub_directory/test" as one string so in $vars the string is split up into an array with 2 elements split by "/"
The text was updated successfully, but these errors were encountered: