{post.title}
{post.excerpt &&{post.excerpt}
}No content yet'} />
--- // Preview Post by ID import { getPostById } from '@/lib/shim/posts'; const { id } = Astro.params; const post = await getPostById(id!); if (!post) { return Astro.redirect('/404'); } ---
{post.excerpt}
}