Closed janmonschke closed 1 year ago
Reproduced this one. Not sure if it belongs in @11ty/eleventy-plugin-webc
yet!
Depends on upstream node-retrieve-globals@2.0.8
(also ran into https://github.com/zachleat/node-retrieve-globals/issues/1 fixing this)
This will ship with the next version of Eleventy WebC, thank you!
Wohooo, thanks for the quick fix!
Operating system
mac OS 13.1
Eleventy
2.0.1
Describe the bug
I'm trying to use
getPreviousCollectionItem
andgetNextCollectionItem
in a webc template but the build fails with the following error:This is how I am trying to use it:
I checked the webc documentation but could not find an example on how to use these.
Reproduction steps
blogPosts
Expected behavior
The build should not fail and the webc template should get access to
prev
andnext
.Reproduction URL
No response
Screenshots
No response