{meta.description}
)} {/* Chapters */}Chapters
-
{meta.chapters.map((ch) => (
-
Chapter {ch.number}
{ch.title}
))}
export const dynamic = "force-dynamic"; import type { Metadata } from "next"; import Link from "next/link"; import { notFound } from "next/navigation"; import { getCbhcMeta } from "@/lib/cbhc"; import { ogForBook } from "@/lib/og"; import { PageHeader } from "@/components/layout/page-header"; import { JsonLd } from "@/components/seo/json-ld"; import { bookJsonLd } from "@/lib/jsonld"; import { Card, CardContent } from "@/components/ui/card"; export function generateMetadata(): Metadata { return ogForBook("cbhc"); } export default async function CbhcPage() { const meta = await getCbhcMeta(); if (!meta) notFound(); return (
{meta.author}
{meta.description}
)} {/* Chapters */}{ch.title}