-
Notifications
You must be signed in to change notification settings - Fork 0
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
Layout.prototype.convert does not pass locals #1
Comments
You're correct! |
I have something like this … var mPugLayout = require('pug-layout'); Master is: doctype html base.pug is: block content |
Oh sorry! That was our fault. We fixed it. |
Thanks for looking into it! |
Shouldn't the line 75 in function Layout.prototype.convert pass the locals? My locals are lost, until I extend ...
return layout.render(child);
... to ...
return layout.render(child,locals);
Or am I on a wrong track?
The text was updated successfully, but these errors were encountered: