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

Render markdown files in project root through layout engine #81

Closed
KyleMit opened this issue Dec 20, 2019 · 0 comments
Closed

Render markdown files in project root through layout engine #81

KyleMit opened this issue Dec 20, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@KyleMit
Copy link
Member

KyleMit commented Dec 20, 2019

There are some markdown files that permanently belong in the project root, including:

  • README.md
  • CONTRIBUTING.md
  • CODE_OF_CONDUCT.md
  • CHANGE_LOG.md
  • resources.md

They are currently processed by 11ty, but sub-optimally because they don't make use of the shared layout engine.

Inside of a sub-folder, it's easy to set a shared data object using a directory data file, but it's a little trickier to set a global layout.

From Globally set default layout? #380, we can set the layout via a data page named _data/layout.js

@KyleMit KyleMit added the enhancement New feature or request label Dec 20, 2019
@KyleMit KyleMit self-assigned this Dec 20, 2019
@KyleMit KyleMit closed this as completed Dec 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant