{title}
++
From 70625ce62aba43e586901d340ae81c2830d9fbc6 Mon Sep 17 00:00:00 2001 From: LarsVomMars Date: Thu, 26 Dec 2024 23:41:15 +0100 Subject: init --- src/layouts/BlogPost.astro | 90 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 src/layouts/BlogPost.astro (limited to 'src/layouts') diff --git a/src/layouts/BlogPost.astro b/src/layouts/BlogPost.astro new file mode 100644 index 0000000..85caabb --- /dev/null +++ b/src/layouts/BlogPost.astro @@ -0,0 +1,90 @@ +--- +import type { CollectionEntry } from "astro:content"; +import BaseHead from "../components/BaseHead.astro"; +import Header from "../components/Header.astro"; +import Footer from "../components/Footer.astro"; +import FormattedDate from "../components/FormattedDate.astro"; + +type Props = CollectionEntry<"blog">["data"]; + +const { title, description, pubDate, updatedDate, heroImage } = Astro.props; +console.log(Astro.props); +--- + + +
+