diff --git a/src/components/Head.astro b/src/components/Head.astro index b472168..a1236b1 100644 --- a/src/components/Head.astro +++ b/src/components/Head.astro @@ -8,16 +8,13 @@ const defaultDescription = const defaultTitle = "Ayo Ayco | Software Engineer, Web Developer, Consultant"; -let { - title = "Ayo Ayco | Software Engineer, Web Developer, Consultant", - description = defaultDescription, -} = Astro.props; +let { title, description = defaultDescription } = Astro.props; const baseURL = "https://ayo.ayco.io"; --- - {title ? title + ` | ${defaultTitle}` : defaultTitle} + {title || defaultTitle} @@ -43,4 +40,17 @@ const baseURL = "https://ayo.ayco.io"; + + { + title ? ( + + ) : ( + + ) + }