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
include with yield does not yield in the right place #770
Comments
you're wanting |
actually your example should work, but still I'd check out |
Weird. Version 0.27.2? I'll take your advice on "extends", though -- looks more like what I want. Let me know if you want me to send you any debug info about my environment, Thanks!
On Tue, Sep 18, 2012 at 3:26 PM, TJ Holowaychuk notifications@github.comwrote: <title></title> |
fixed in 0.27.3 |
I am having trouble with include, where the included file has a yield statement in it.
This is with version 0.27.2.
What I want is to have static files layout.jade and index.jade, where index.jade includes layout.jade. Here is a proposed layout:
And the index:
But here is the result:
Jade is embedding "this is the content" as though there were no yield statement in the layout. It should be in the div with the id of "content".
Am I doing something wrong, or is this an issue?
Thanks!
The text was updated successfully, but these errors were encountered: