diff --git a/apps/web-roo-code/src/app/blog/[slug]/page.tsx b/apps/web-roo-code/src/app/blog/[slug]/page.tsx index 82645a5cc9..aee333bbee 100644 --- a/apps/web-roo-code/src/app/blog/[slug]/page.tsx +++ b/apps/web-roo-code/src/app/blog/[slug]/page.tsx @@ -6,7 +6,12 @@ import remarkGfm from "remark-gfm" import { ArrowLeft } from "lucide-react" import { SEO } from "@/lib/seo" import { ogImageUrl } from "@/lib/og" -import { getBlogPostBySlug, formatPostDatePt } from "@/lib/blog" +import { + getBlogPostBySlug, + formatPostDatePt, + getArticleStructuredData, + getBlogPostBreadcrumbStructuredData, +} from "@/lib/blog" // Force dynamic rendering to evaluate publish gating at request-time export const dynamic = "force-dynamic" @@ -72,102 +77,117 @@ export default async function BlogPostPage({ params }: BlogPostPageProps) { notFound() } + // Generate structured data for SEO + const articleSchema = getArticleStructuredData(post) + const breadcrumbSchema = getBlogPostBreadcrumbStructuredData(post) + return ( -
-
- {/* Back link */} - - - Back to Blog - + <> + {/* JSON-LD Structured Data */} +