I have an API that I have used to generate individual JSON files per an individual merchant.

I am using Jekyll. I would like to be able to generate a dynamic link that renders a template for each individual JSON file. For instance,

I want the user to be able to click a link, and they are then taken to a page (the Navbar should stay out) and the liquid templating engine loops over the JSON file and renders what I want on that specific template.

What is the best way to do this in Jekyll? I have seen where folks hard code the URLS but I would like to have the url be dynamic and Jekyll should be able to render an extra link if a new JSON file shows up.

To restate:

I want to link to individual pages and render their content from their individual JSON files.

I have a basic understanding of how Jekyll works, and get the \_data folder and site matter, but the problem is site matter is not dynamic and I don’t want to hardcore any of the links. So far I am just getting a handle on the problem and would appreciate a nudge in the right direction.

Kindly,

Thank you.