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

Update frontmatter.md #6371

Merged
merged 2 commits into from Sep 22, 2017

Conversation

Projects
None yet
4 participants
@i-give-up
Contributor

i-give-up commented Sep 18, 2017

Mention that you can set the front-matter variable layout to null if you don't want to use any layout file.

Update frontmatter.md
Mention that you can set the front-matter variable `layout` to `null` if you don't want to use any layout file.
@DirtyF

This comment has been minimized.

Show comment
Hide comment
@DirtyF

DirtyF Sep 18, 2017

Member

@i-give-up Thanks for the add, FWIW since 3.5.0 you can also use layout: none with a slightly difference:

Using layout: none will now produce a file with no layout. Equivalent to layout: null, with the exception that none is a truthy value and won't be overwritten by front matter defaults.

Maybe we could also mention this?

Member

DirtyF commented Sep 18, 2017

@i-give-up Thanks for the add, FWIW since 3.5.0 you can also use layout: none with a slightly difference:

Using layout: none will now produce a file with no layout. Equivalent to layout: null, with the exception that none is a truthy value and won't be overwritten by front matter defaults.

Maybe we could also mention this?

@DirtyF DirtyF self-assigned this Sep 18, 2017

Show outdated Hide outdated docs/_docs/frontmatter.md Outdated
Update frontmatter.md
Describe the behavior of `layout: null` and `layout: none` in various filetypes and scenarios.
@i-give-up

This comment has been minimized.

Show comment
Hide comment
@i-give-up

i-give-up Sep 18, 2017

Contributor

Ok, made some changes. It's not as pretty as before, but should be a bit more accurate in describing layout: null and layout: none.

Contributor

i-give-up commented Sep 18, 2017

Ok, made some changes. It's not as pretty as before, but should be a bit more accurate in describing layout: null and layout: none.

@DirtyF

DirtyF approved these changes Sep 18, 2017

Things are a bit messy at the moment. We should revisit this after 3.6.0.

Thanks for taking care of the documentation @i-give-up

</p>
<ul>

This comment has been minimized.

@DirtyF

DirtyF Sep 18, 2017

Member

Note: tbody td ul font-size is currently not the same as tbody td p elements. This should be taken care of in another PR. (or just limit ourselves to p tags in tables.)

@DirtyF

DirtyF Sep 18, 2017

Member

Note: tbody td ul font-size is currently not the same as tbody td p elements. This should be taken care of in another PR. (or just limit ourselves to p tags in tables.)

@DirtyF

This comment has been minimized.

Show comment
Hide comment
@DirtyF

DirtyF Sep 22, 2017

Member

@jekylldocs: merge +docs

Member

DirtyF commented Sep 22, 2017

@jekylldocs: merge +docs

@jekyllbot jekyllbot merged commit ab31983 into jekyll:master Sep 22, 2017

1 of 2 checks passed

continuous-integration/appveyor/pr AppVeyor build failed
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment