diff --git a/src/components/Head.astro b/src/components/Head.astro index 86c4383..b2ddabd 100644 --- a/src/components/Head.astro +++ b/src/components/Head.astro @@ -6,6 +6,8 @@ export interface Props { const defaultDescription = "Ayo Ayco is a professional software engineer specializing in web development with a decade of experience building web applications for both private businesses and government-funded high-impact projects utilizing web technologies, IoT, data viz/insights, remote sensing, and GIS"; +const defaultTitle = "Ayo Ayco | Software Engineer, Web Developer, Consultant"; + let { title = "Ayo Ayco | Software Engineer, Web Developer, Consultant", description = defaultDescription, @@ -15,7 +17,7 @@ const baseURL = "https://ayo.ayco.io"; --- - {title} + {title ? title + ` | ${defaultTitle}` : defaultTitle} @@ -40,10 +42,4 @@ const baseURL = "https://ayo.ayco.io"; -