--- import RailLayout from "./RailLayout.astro"; interface Props { title: string; description: string; date: Date; author: string; authorHandle: string; authorRole: string; authorAvatar: string; } const { title, description, date, author, authorHandle, authorRole, authorAvatar } = Astro.props; const authorX = `https://x.com/${authorHandle}`; const formattedDate = date.toLocaleDateString("en-US", { year: "numeric", month: "long", day: "numeric", // Frontmatter dates are bare YYYY-MM-DD (parsed as UTC midnight); format in // UTC so the displayed day matches the date the author wrote, regardless of // the build/runtime timezone. timeZone: "UTC", }); const isoDate = date.toISOString(); ---
← Writing

{title}

{description}

{author} {authorRole} ·

More writing · Back to Executor