--- // 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.meta_title || post.title}
🔍 PREVIEW MODE - Post: {post.title} - Status: {post.status}

{post.title}

{post.excerpt &&

{post.excerpt}

}
No content yet

'} />