-
-
Notifications
You must be signed in to change notification settings - Fork 10k
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
Disable default layouts for documents with a layout: none
declaration
#5933
Conversation
This should be |
IMO, the proposed approach is better because it introduces a new route and only affects |
Ugh, I don't love this. If I had a A brief search shows that it's probably safe.... @benbalter, I think this could be an acceptable breaking change. Thoughts? |
IMHO, this is definitely a breaking change. I'm also not sure what the use case for this would be when we have the standard YAML version already in |
That's the problem: we don't. When we merge the defaults into a document’s front matter, we will override |
@jekyllbot: merge +minor |
Inspired by discussion in #5929
While
layout: null
will still continue to be overridden by thedefaults
, with this pull in place, the user will be able to process and output aJekyll::Document
object without being placed into a layout bysimply declaring
layout: none
in the Front Matter/cc @jekyll/ecosystem
Let me know if this results in any unintended behavior.. I'll update as required.