An alternative way of loading content in Astro
Astro has a super cool function called fetchContent it can be used to fetch content from your pages.
A little example, if I want to retrieve all my posts in Astro I simply use the following command:
const allPosts = Astro.fetchContent('../pages/posts...
h.daily-dev-tips.com3 min read