Automatically named objects from *.11tydata.js files #2996
-
This might be a daft question, but I am stumped. In the official documentation, there is a simple example of JavaScript Data Files.
I can see that if this code was in a global data file within, let's say I realise that I can just use this instead:
But, is there no automatically named object for such data files? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I think the |
Beta Was this translation helpful? Give feedback.
https://github.com/pdehaan/11ty-2996
OUTPUT