-
-
Notifications
You must be signed in to change notification settings - Fork 485
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
Template data files naming conflict #2930
Comments
The docs seem pretty clear that page.11tydata.js in a folder called page, the parent directory, will be applied to every file inside of that folder. See: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A data file page/page.11tydata.js isn't clear if it applies to all templates under page or to page/page.html. Directory data files should use different naming like page/_dir.11tydata.js to avoid conflicts and so when you change the directory name you don't have to change the data file name.
The text was updated successfully, but these errors were encountered: