--- import { getCollection, render } from "astro:content"; import Base from "../../layouts/Base.astro"; import Cover from "../../components/Cover.astro"; import RobotScore from "../../components/RobotScore.astro"; export async function getStaticPaths() { const all = await getCollection("reviews"); return all.map((entry) => ({ params: { slug: entry.id }, props: { entry }, })); } const { entry } = Astro.props; const { Content } = await render(entry); const d = entry.data; const dateFormatter = new Intl.DateTimeFormat("nl-NL", { day: "numeric", month: "long", year: "numeric", }); ---

{d.title}

{d.date && {dateFormatter.format(d.date)}} {d.date && ·} {d.category} · {d.location} · {d.company} →
Eindoordeel

{d.verdict}

{d.score} / 5
Voor wie
{d.for_who}
Vanaf
{d.price_from}
Hosting
{d.hosting}