question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Extensionless layout in 2.0 canary 20

See original GitHub issue

Operating 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:closed
  • Created 9 months ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
zachleatcommented, Dec 19, 2022

Whew, a few more of these and I will revert the default 😅

0reactions
zachleatcommented, Dec 21, 2022

Restoring this in #2708! This is more popular than I thought 😅

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found