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

Per-file data from .11tydata.js files? #890

Open
justinfagnani opened this issue Jan 28, 2020 · 0 comments
Open

Per-file data from .11tydata.js files? #890

justinfagnani opened this issue Jan 28, 2020 · 0 comments

Comments

@justinfagnani
Copy link
Contributor

Is there a way to provide data customized for each input file? Something like this perhaps?

module.exports = (data) => {
  otherPath: computeOtherPath(data.page.inputPath),
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
1 participant