From c084253c5cc1e72a8e722755725da8e1e45472dc Mon Sep 17 00:00:00 2001 From: Hazel Hofmann Date: Mon, 1 Jan 2024 18:54:33 +0100 Subject: [PATCH] Description for metadata --- src/layouts/Layout.astro | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index d7e1f93..3a4af73 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -1,20 +1,22 @@ --- interface Props { title: string; + description?: string; } -const { title } = Astro.props; +const { title, description } = Astro.props; --- - + {title} +