export async function getStaticPaths() { const paths = getAllPostIds(); return { paths, fallback: true, }; } // Simple fallback page example function Post({ post }) { const router = useRouter() // If the page is not yet generated, this will be displayed // initially until getStaticProps() finishes running if (router.isFallback) { return