-
-
Notifications
You must be signed in to change notification settings - Fork 278
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
Nested if statements causing custom parameters in partials to become repeated/global scope #956
Comments
@kokuou Thanks for the issue! If you're reporting a bug, please be sure to include:
If your issue is related to one of the following, please open an issue there:
|
Hi, I am also facing this exact same issue. Is there any fix or workaround? Thanks, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version: 0.24.3
Error:
Nested if statements cause custom parameters in partials to become global in scope, which causes subsequent uses of that partial to hold onto those parameter values unless they are declared as empty strings or new values. Using gulp.
gulpfile.js
p.hbs partial
index.hbs page file
layout.hbs layout file
expected output
output produced
The text was updated successfully, but these errors were encountered: