Create pages from json-data #176
-
Hey people, I have some json files in Now, additionally, I'd like to have one detail-page for every json file and also some pages that are grouped by a property (a bit like the archive page). So, to visualize the output:
Do I have to write a custom pipeline/module for that or am I missing a hint in the docs? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
This is pretty much exactly what Discover .NET and the .NET Foundation sites do for some of their data-heavy portions of the site. Both of those use custom pipelines to accomplish it, but I think you can probably even do it with the archives feature in Statiq Web. Let me see if I can work up an example for you - it just might take me a few days to get to it. FWIW, this sort of thing is pretty much exactly why Statiq exists in the first place. I found doing this kind of data manipulation in other generators was too confusing and/or impossible. So I'm hopeful there's a quick and easy way to accomplish it, or what am I even doing 😂 |
Beta Was this translation helpful? Give feedback.
This is pretty much exactly what Discover .NET and the .NET Foundation sites do for some of their data-heavy portions of the site. Both of those use custom pipelines to accomplish it, but I think you can probably even do it with the archives feature in Statiq Web. Let me see if I can work up an example for you - it just might take me a few days to get to it.
FWIW, this sort of thing is pretty much exactly why Statiq exists in the first place. I found doing this kind of data manipulation in other generators was too confusing and/or impossible. So I'm hopeful there's a quick and easy way to accomplish it, or what am I even doing 😂