Skip to content

Using eleventy with mattrbld: including json from .mattrbld in the input to eleventy #3618

Answered by Ryuno-Ki
conor-dempsey asked this question in Q&A
Discussion options

You must be logged in to vote

Hey Conor,

sounds intriguing. I would suggest to use the addCollection API by reading / importing the JSON file in the root of the directory.

Alternatively you could try this as a Global Data File.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@conor-dempsey
Comment options

@conor-dempsey
Comment options

Answer selected by conor-dempsey
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants