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

Suppressing default layout from a render call #9

Merged
merged 1 commit into from
Jan 2, 2013
Merged

Suppressing default layout from a render call #9

merged 1 commit into from
Jan 2, 2013

Conversation

ivanstojic
Copy link
Contributor

I've added support to suppress the default layout from the invocation of the render function on Express' response object. This is accomplished by passing a falsey (null, false, '') value as the value of the 'layout' property.

This is a feature supported by donpark/hbs module that I really missed in your own implementation.

mgutz pushed a commit that referenced this pull request Jan 2, 2013
Suppressing default layout from a render call
@mgutz mgutz merged commit 9708358 into TryGhost:master Jan 2, 2013
@ivanstojic
Copy link
Contributor Author

Much obliged!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants