Open kokuou opened 6 years ago
@kokuou Thanks for the issue! If you're reporting a bug, please be sure to include:
assemble
you are using.If your issue is related to one of the following, please open an issue there:
@kokuou thanks for the issue. I'll try to see if I can figure out what's happening.
FWIW... assemble is being refactored (actually templates which handles the template rendering) and there is better context handling and some other things are changing that may address this issue.
Hi,
I am also facing this exact same issue. Is there any fix or workaround?
Thanks, Rakesh
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