--- import type { CollectionEntry } from "astro:content"; import Layout from "./Layout.astro"; import { useTranslatedPath } from "@i18n/utils"; type CustomProps = { layout?: "normal" | "transparent"; backlink?: string; }; type Props = CollectionEntry<"blog">["data"] & CustomProps; const { title, date, _layout, backlink = "/blog" } = Astro.props; const path = useTranslatedPath(Astro.url); --- overview { date.toLocaleString("en-US", { month: "long", day: "numeric", year: "numeric", }) } {title}