You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Passed the name variable with the @@include('includes/navbar.html', {"name" : "Test"})
Within navbar.html it replaces the @@name value and I get Test, however when I try an if statement @@if (name === "Test"){<li>Hello</li>}
I get the following error.
message: 'name is not defined: (name === "Test")',
plugin: 'gulp-file-include',
Hello,
I use condition if on loop file. then i call this on index file . but show error condition variable isn't defined.
Please See screenshots for details:
http://prntscr.com/ojqkxt
http://prntscr.com/ojqkxt
http://prntscr.com/ojqkxt
Thanks.
The text was updated successfully, but these errors were encountered: