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

Restore extensionless layouts #2708

Closed
zachleat opened this issue Dec 21, 2022 · 2 comments
Closed

Restore extensionless layouts #2708

zachleat opened this issue Dec 21, 2022 · 2 comments
Labels
feature: 🛠 configuration Related to Eleventy’s Configuration file release: canary A release on the canary channel

Comments

@zachleat
Copy link
Member

zachleat commented Dec 21, 2022

Revert #1924!

Lots of confusion around removing extensionless layouts #2700 #2707 #2704

Going to restore this for now!

@zachleat zachleat added release: canary A release on the canary channel feature: 🛠 configuration Related to Eleventy’s Configuration file labels Dec 21, 2022
@zachleat zachleat added this to the Eleventy 2.0.0 milestone Dec 21, 2022
zachleat added a commit to 11ty/11ty-website that referenced this issue Dec 21, 2022
@zachleat
Copy link
Member Author

Shipping with v2.0.0-canary.21

@zachleat
Copy link
Member Author

You can still disable this feature using:

module.exports = function(eleventyConfig) {
  eleventyConfig.setLayoutResolution(false);
};

Docs building to https://www.11ty.dev/docs/layouts/#omitting-the-layouts-file-extension

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature: 🛠 configuration Related to Eleventy’s Configuration file release: canary A release on the canary channel
Projects
None yet
Development

No branches or pull requests

1 participant