From c89ed0f7f9dcf14d1d96ad0d13ad59f5b542396e Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Wed, 11 Sep 2024 22:03:55 +0000 Subject: Update default title and description --- src/components/Head.astro | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'src/components/Head.astro') diff --git a/src/components/Head.astro b/src/components/Head.astro index bc5609f..42ae32b 100644 --- a/src/components/Head.astro +++ b/src/components/Head.astro @@ -1,17 +1,20 @@ --- const canonicalURL = new URL(Astro.url.pathname, Astro.site); + +const { title, description } = Astro.props; --- - - - - - + + + + + + - Title + {title ?? import.meta.env.DEFAULT_TITLE} -- cgit v1.2.3