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/Comments.astro | 4 +--- src/components/Head.astro | 15 +++++++++------ 2 files changed, 10 insertions(+), 9 deletions(-) (limited to 'src/components') diff --git a/src/components/Comments.astro b/src/components/Comments.astro index 5fcd65d..f9ae4e5 100644 --- a/src/components/Comments.astro +++ b/src/components/Comments.astro @@ -14,7 +14,6 @@ const theme = "transparent_dark"; --- +> 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