diff --git a/src/layouts/BlogPost.astro b/src/layouts/BlogPost.astro index 5587b38..08fb216 100644 --- a/src/layouts/BlogPost.astro +++ b/src/layouts/BlogPost.astro @@ -1,14 +1,13 @@ --- import type { CollectionEntry } from 'astro:content'; import Main from './Main.astro'; -import { parseTime, printTime } from '../utils/time'; import Time from '../components/Time.svelte'; type Props = CollectionEntry<'blog'>['data']; -const { title, author, summary, pubDate, updatedDate } = Astro.props; +const { title, author, summary, pubDate, updatedDate, image } = Astro.props; --- -
+

{title}