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

ignore layout file if user did not specifically ask for a layout and file is not present #39

Closed
defunctzombie opened this issue Nov 26, 2012 · 1 comment
Assignees

Comments

@defunctzombie
Copy link
Collaborator

If the layout file is not present, the current behavior is to fail and inform the user. It has been suggested it it should instead render the file without a layout.

The behavior would be as follows:

no layout view option specified

  • if layout file is present, it will be used
  • if layout file is not present, it will be ignored

layout: true (or other string value)

  • if layout file is present, it will be used
  • if layout file is not present, it will cause an error

layout: false

  • if layout file is present, it will be ignored
  • if layout file is not present, it will be ignored

see issue #38 for additional notes

@ghost ghost assigned defunctzombie Nov 26, 2012
@stechz
Copy link

stechz commented Nov 30, 2012

Oops, I see it's already been assigned to you. I think I just wrote this patch. I put the pull request here (not sure if there's a way to merge):

#40

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

No branches or pull requests

2 participants