Extensionless layout in 2.0 canary 20
See original GitHub issueOperating system
macOS
Eleventy
2.0.0-canary.20
Describe the bug
I’m using liquid layout names without extension.
eleventyConfig.setLiquidOptions({
extname: ".liquid"
});
Just updated to canary 20 and got this error:
[11ty] You’re trying to use a layout that does not exist: base (undefined) (via Error)
Eleventy:EleventyErrorHandler (error stack): Error: You’re trying to use a layout that does not exist: base (undefined)
Eleventy:EleventyErrorHandler at TemplateLayoutPathResolver.getFullPath (/Users/.../node_modules/@11ty/eleventy/src/TemplateLayoutPathResolver.js:102:13)
Reproduction steps
No response
Expected behavior
No response
Reproduction URL
No response
Screenshots
No response
Issue Analytics
- State:
- Created 9 months ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
Extensionless layout in 2.0 canary 20 - PullAnswer
I'm using liquid layout names without extension. eleventyConfig.setLiquidOptions({ extname: ".liquid" });. Just updated to canary 20 and got ...
Read more >Java - Raible Designs
Raible Designs is an Enterprise Open Source Consulting company. We specialize in UI and Full Stack Architectures using HTML5, CSS, JavaScript and Java....
Read more >eleventy - githubmemory
Support for global .gitignore · Use frontmatter with the Render plugin · 2.0.0-canary.21 in dev mode: permalinks and collections · Restore extensionless layouts....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Whew, a few more of these and I will revert the default 😅
Restoring this in #2708! This is more popular than I thought 😅