-
-
Notifications
You must be signed in to change notification settings - Fork 495
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error messaging when you attempt to set reserved Eleventy Data names #1173
Comments
https://www.11ty.dev/docs/data-eleventy-supplied/ does exist Going a little further, I think we should add some error messaging if you try to set one of these. I’m going to swap this issue to include that as well. One of these issues is using |
Swapping to bug behavior. Some of this work is finished to freeze the We’ll give an escape hatch here to let folks disable this behavior in configuration: More to come! |
Fixed by #3251 Shipping with 3.0.0-alpha.7 |
Preview docs deploying here: https://11ty-website-git-v3-11ty.vercel.app/docs/data-eleventy-supplied/#frozen-data |
I would like to see a Documentation with alle reserved variables like
page
&&page.xxx
orcontent
if you use it with markdown and a layout file in nunjucks or something else.It is difficult to find all the reserved variables, and it looks like if I use them as file in
_data
folder, it will not merged or respected.The text was updated successfully, but these errors were encountered: