So basically I'm making a personal writing website similar to something like fimfiction to display a bunch of my work. Collections are generated with Astro's content collections then props can be passed around and reused in differnet places.
my current problem is that I want to make a collection for episodic stories that contain an array of chapters. I was going to just have all chapters of a story in the same file, with one file acting as information for the episodic props and the rest each representing a story. But it seems I can't easily load in subfiles or use a filter because that can only be done after all the collections have been generated?(I have no clue what I'm doing)
So it looks like I either use something like fs and parse it all in from path but then I believe I lose the ability to use props? Or I can do it properly later after the collection has been generated but then I would just want to immediately staple that over or modify the previous collection so it could replace it and I could move it around everywhere.