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

Front matter should specify layout:none #32

Closed
pke opened this issue Sep 19, 2019 · 3 comments
Closed

Front matter should specify layout:none #32

pke opened this issue Sep 19, 2019 · 3 comments

Comments

@pke
Copy link

pke commented Sep 19, 2019

When using layouts like "default" the rendered feed xml will be wrapped in this layout. Therefore the templates should all contain the
layout: none front matter.

@georgemandis
Copy link
Owner

Hi @pke

I think I used to have ‘layout: none’ specified in an earlier version of this, but removed it because it created other problems for people and this approach turned out to be better. But that’s just my memory and be easily wrong. I’ll be able to check in a couple days.

Does the current version without frontmatter use the ‘default’ template for you? If so, what version of Jekyll are you using? And is it possible that’s a comfort setting somewhere?

@pke
Copy link
Author

pke commented Sep 23, 2019

It is only a problem when one specified a default layout in the _config.yml it seems. So feel free to close it but maybe add a little note to the readme?

@georgemandis
Copy link
Owner

That's a good call. I'll something to the README and close this out once I've done that.

Thanks for the catch and suggestion!

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

No branches or pull requests

2 participants