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

Partials don't work with layout named 'document' #26

Open
sdomagala opened this issue Apr 24, 2015 · 1 comment
Open

Partials don't work with layout named 'document' #26

sdomagala opened this issue Apr 24, 2015 · 1 comment
Labels

Comments

@sdomagala
Copy link
Member

As states in topic, when you call layout like this and try to use partial, rendering hangs with no error whatsoever, with -d you can see it is trying to render those files, but loops infinitely.

@mikeumus mikeumus added the bug label Apr 17, 2016
@llazzaro
Copy link

I hit this issue also. In my case I was using other name as a layout.
The problem is when the partial uses a layout that includes the partial ;).
When you think about the problem seems obvious that it will generate an infinite loop, however it will be great to detect this case to let know the user how to fix it.

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

No branches or pull requests

3 participants