Skip to content
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

Global data doesn’t have explicit rules about data overrides when data file roots are the same #794

Closed
zachleat opened this issue Nov 26, 2019 · 0 comments · Fixed by #821
Labels

Comments

@zachleat
Copy link
Member

In template and directory data files override is explicit:

component.11tydata.js overrides component.11tydata.json overrides component.json

No such explicit convention exists for global data files. It does one generic glob selector for these files.

async getGlobalDataFiles() {

Surfaced by @gloryofrobots in #635.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant