Skip to content
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

Layouts work correctly in jade #942

Merged
merged 3 commits into from
Jun 25, 2013
Merged

Layouts work correctly in jade #942

merged 3 commits into from
Jun 25, 2013

Conversation

geek
Copy link
Member

@geek geek commented Jun 25, 2013

Closes #926

try {
layoutContext[settings.layoutKeyword] = compiled(context, settings.runtimeOptions);
rendered = layout(layoutContext, settings.runtimeOptions);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can't be right. You are compiling the layout and never using it now for any other engine.

geek added a commit that referenced this pull request Jun 25, 2013
Layouts work correctly in jade
@geek geek merged commit 677bb64 into hapijs:master Jun 25, 2013
jmonster pushed a commit to jmonster/hapi that referenced this pull request Feb 10, 2014
Layouts work correctly in jade
@lock lock bot locked as resolved and limited conversation to collaborators Jan 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

'layout' option seems broken when using jade as template engine
2 participants