Astro getStaticPaths function

https://docs.astro.build/en/reference/api-reference/#getstaticpaths

An Astro function to build pages based on dynamic routes