--- import Layout from "@layouts/Layout.astro"; import Header from "@components/Header.astro"; import Footer from "@components/Footer.astro"; import Tag from "@components/Tag.astro"; import Datetime from "@components/Datetime"; import type { CollectionEntry } from "astro:content"; import { slugifyStr } from "@utils/slugify"; export interface Props { post: CollectionEntry<"blog">; } const { post } = Astro.props; const { title, author, description, ogImage, canonicalURL, pubDatetime, tags } = post.data; const { Content } = await post.render(); const ogUrl = new URL(ogImage ? ogImage : `${title}.png`, Astro.url.origin) .href; ---

{title}

    {tags.map(tag => )}