📮 New on the blog:
Calling all courageous canary testers for Eleventy v3.0
…in which we discuss the new v3.0.0-alpha releases!
📮 New on the blog:
Calling all courageous canary testers for Eleventy v3.0
…in which we discuss the new v3.0.0-alpha releases!
@eleventy Just worked my way through the update; had a minor issue with layouts. Previously I had been using `{{ layoutContent | safe }}`, that appears to be broken now and requires `{{ content | safe }}`. Which looking at the documentation, might have been a change a while ago?
Related PR:
https://github.com/jamesdoc/jamesdoc.com/pull/33/files
@jamesdoc I don’t think `layoutContent` was _ever_ on the docs—where did you see it? It was an old 0.x feature that did get removed in 3.0.
(yes, `content` is the recommended name moving forward)
@eleventy …so went for the ambitious switch to ESM. It’s working perfectly with only one minor issue I had to overcome:
The JSDoc type annotation for eleventyConfig broke. Issue reported with my current work-around: https://github.com/11ty/eleventy/issues/3127
Operating system macOS Sonoma 14.2 Eleventy 3.0.0-alpha.2 Describe the bug The 11ty docs recommend this as the way to get TypeScript-powered autocomplete on the eleventyConfig object: /** @param {i...