My personal website is a collection of small sub-sites that all have a radically different design and structure, intentionally.
It lives in single Astro project, so the sub-sites can share things like components, i find it a lot more convenient and would strongly prefer not to split to many separate projects.
E.g., i have /src/content/sub-site-1/, /src/layouts/sub-site-2/ that map to https://example.com/sub-site-1 and https://example.com/sub-site-2
Is there any safe and easy way to override some global configuration options from astro.config.mjs for specific sub-sites (maybe at the level of their base layout)?
I'd specifically like to have different ReMark settings for my MDX content collections / a different Shiki theme in specific sub-sites, for example, and i will probably want to do more things like that eventually.
There's a lot of magic in Astro so i don't really understand how these configuration options get passed around.