From 071ebdfe66643e17a0e6ef615e8a1771a4c3a1a2 Mon Sep 17 00:00:00 2001 From: lew Date: Thu, 26 Mar 2026 21:12:39 +0000 Subject: [PATCH] feat: meta properties in Layout.astro --- www/src/layouts/Layout.astro | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/www/src/layouts/Layout.astro b/www/src/layouts/Layout.astro index 8245b1b..4f59fe1 100644 --- a/www/src/layouts/Layout.astro +++ b/www/src/layouts/Layout.astro @@ -3,19 +3,24 @@ import '../styles/global.css'; interface Props { title: string; + description?: string; showHeader?: boolean; isHome?: boolean; urls?: string[]; } -const { title, showHeader = true, isHome = false, urls = [] } = Astro.props; +const { title, description = 'personal website of lewis m.w.', showHeader = true, isHome = false, urls = [] } = Astro.props; --- - + {title} + + + + {urls.length > 0 && }