From 8657958135f344b89161d9a67992d7f2435ab82e Mon Sep 17 00:00:00 2001 From: "Bethlenfalvi, Lorinc (ext)" Date: Wed, 29 Jan 2025 17:14:25 +0100 Subject: [PATCH] wired up image --- src/layouts/BlogPost.astro | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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}