import { Document } from "asciidoctor"; import { DateTime } from "luxon"; import { asset } from "../assets.js"; type Props = { article: Article; body: string; }; export type Article = { path: string; slug: string; date: DateTime; document: Document }; export default ({ article: { document, date }, body }: Props) => ( <>
{date.toLocaleString(DateTime.DATE_FULL)}

);