dwkns
dwkns
OK finally worked it out. Your data has to be an `Object` not an `Array`. If you use this as your data pagination data structure it will work as expected....
Closing this as it's a documentation issue, not a Eleventy one. If anyone else comes across it, there is a working prototype here: [https://github.com/dwkns/eleventy-serverless-issue](https://github.com/dwkns/eleventy-serverless-issue)
Turns out it is possible. Here is a Bash Script that does just that. I'd create a pull request however you wouldn't be able to stop laughing at my Python....
One of the great things about eleventy is that you can do things in lots of different ways. This is fantastic if you have experience and you are coming from...
Incase anyone else comes here looking, here is an equally hacky workaround: ```js // .eleventy.comfig.js const PORT = 8100 // use a port you are reasonably sure is not in...
Can confirm I'm having exactly the same problem.
More on this. It seems even reading the values of `content` and `templateContent` from `collections.all[0]` causes the `TemplateContentPrematureUseError`. I understand that `content` and `templateContent` are potentially not complete and may...
`inspect()` is what I am using now. It works but it's output is a string. This is fine when the object you are logging is small, you can scan through...
Don't do extra work on this unless it's needed elsewhere. I've created my own `stringify` function. Remembering the goal is to create a better debugging tool (not just produce clean...