I am rebuilding a marketing, data discovery, documentation, and blog type of website from jekyll to astro. Currently, I am rebuilding our data pages (https://gis.utah.gov/data/#data-categories).
The data pages lead to an index page and then to the child data page. For instance clicking the transportation category takes you to https://gis.utah.gov/data/transportation/ and then clicking roads and highways takes you to those data sets https://gis.utah.gov/data/transportation/roads-system/.
I have started to organize this as a content collection. All of the jekyll data is currently static so it's basically one to one. It's nice because I can generate the index page from the content collection filtered by a category prop. I can even show the same item in multiple indexes with a secondary category without having to manage a static index page and keep it synchronized.
With one of the content items I just made, that is pointed to a github release, I used fetch to get the latest release to get the published date and asset links to display in the data page instead of having to remember to manage those data when that product releases a new version. It was great but doesn't seem to fit properly.
In the future we would like to build a system to keep the parts of these data pages in a database that we can use to keep everything synchronized across the platforms we duplicate this data to. So the content collection data will likely start to migrate from static content to more external requests for the metadata to create the pages during build time.
I'm being told in the chat this I am going against the grain and this probably isn't the correct design choice. I'm early in the development and do not want to make any decisions now that will end up being a major mistake. How would you architect this solution?